From e858d51929b2a93ce2e465ebd2e35fa8a36741be Mon Sep 17 00:00:00 2001 From: Dillon Nys Date: Sat, 9 Mar 2024 11:06:37 -0800 Subject: [PATCH] feat: Add `package:cedar_ffi` Adds an FFI-based implementation of the Cedar authorizer using the official Rust implementation. --- .github/workflows/cedar_ffi.yaml | 43 + .gitignore | 10 +- .gitmodules | 4 + Cargo.lock | 2817 + Cargo.toml | 3 + packages/cedar_ffi/.gitignore | 7 + packages/cedar_ffi/CHANGELOG.md | 3 + packages/cedar_ffi/README.md | 5 + packages/cedar_ffi/analysis_options.yaml | 5 + packages/cedar_ffi/build.dart | 109 + packages/cedar_ffi/example/.gitignore | 3 + packages/cedar_ffi/example/README.md | 13 + .../cedar_ffi/example/analysis_options.yaml | 1 + .../cedar_ffi/example/bin/cedar/example.cedar | 10 + .../bin/cedar/example.cedarschema.json | 164 + packages/cedar_ffi/example/bin/example.dart | 50 + packages/cedar_ffi/example/pubspec.yaml | 21 + packages/cedar_ffi/lib/cedar_ffi.dart | 6 + .../lib/src/cedar_policy_set_ffi.dart | 48 + .../lib/src/engine/cedar_engine.dart | 172 + .../lib/src/ffi/cedar_bindings.g.dart | 171 + .../cedar_ffi/lib/src/testing/corpus.dart | 69 + .../cedar_ffi/lib/src/testing/corpus.g.dart | 214002 +++++++++++++++ .../cedar_ffi/lib/src/testing/corpus.json | 1 + .../lib/testing/cedar_test_corpus.dart | 1 + packages/cedar_ffi/pubspec.yaml | 58 + packages/cedar_ffi/pubspec_overrides.yaml | 3 + packages/cedar_ffi/src/.gitignore | 10 + packages/cedar_ffi/src/Cargo.lock | 2504 + packages/cedar_ffi/src/Cargo.toml | 24 + packages/cedar_ffi/src/build.rs | 18 + packages/cedar_ffi/src/include/bindings.h | 188 + packages/cedar_ffi/src/src/c_api.rs | 3 + packages/cedar_ffi/src/src/c_api/global.rs | 92 + packages/cedar_ffi/src/src/c_api/helpers.rs | 49 + packages/cedar_ffi/src/src/c_api/store.rs | 336 + packages/cedar_ffi/src/src/lib.rs | 94 + packages/cedar_ffi/test/corpus_test.dart | 82 + packages/cedar_ffi/third_party/cedar | 1 + packages/cedar_ffi/tool/generate_tests.dart | 94 + 40 files changed, 221293 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/cedar_ffi.yaml create mode 100644 .gitmodules create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 packages/cedar_ffi/.gitignore create mode 100644 packages/cedar_ffi/CHANGELOG.md create mode 100644 packages/cedar_ffi/README.md create mode 100644 packages/cedar_ffi/analysis_options.yaml create mode 100644 packages/cedar_ffi/build.dart create mode 100644 packages/cedar_ffi/example/.gitignore create mode 100644 packages/cedar_ffi/example/README.md create mode 100644 packages/cedar_ffi/example/analysis_options.yaml create mode 100644 packages/cedar_ffi/example/bin/cedar/example.cedar create mode 100644 packages/cedar_ffi/example/bin/cedar/example.cedarschema.json create mode 100644 packages/cedar_ffi/example/bin/example.dart create mode 100644 packages/cedar_ffi/example/pubspec.yaml create mode 100644 packages/cedar_ffi/lib/cedar_ffi.dart create mode 100644 packages/cedar_ffi/lib/src/cedar_policy_set_ffi.dart create mode 100644 packages/cedar_ffi/lib/src/engine/cedar_engine.dart create mode 100644 packages/cedar_ffi/lib/src/ffi/cedar_bindings.g.dart create mode 100644 packages/cedar_ffi/lib/src/testing/corpus.dart create mode 100644 packages/cedar_ffi/lib/src/testing/corpus.g.dart create mode 100644 packages/cedar_ffi/lib/src/testing/corpus.json create mode 100644 packages/cedar_ffi/lib/testing/cedar_test_corpus.dart create mode 100644 packages/cedar_ffi/pubspec.yaml create mode 100644 packages/cedar_ffi/pubspec_overrides.yaml create mode 100644 packages/cedar_ffi/src/.gitignore create mode 100644 packages/cedar_ffi/src/Cargo.lock create mode 100644 packages/cedar_ffi/src/Cargo.toml create mode 100644 packages/cedar_ffi/src/build.rs create mode 100644 packages/cedar_ffi/src/include/bindings.h create mode 100644 packages/cedar_ffi/src/src/c_api.rs create mode 100644 packages/cedar_ffi/src/src/c_api/global.rs create mode 100644 packages/cedar_ffi/src/src/c_api/helpers.rs create mode 100644 packages/cedar_ffi/src/src/c_api/store.rs create mode 100644 packages/cedar_ffi/src/src/lib.rs create mode 100644 packages/cedar_ffi/test/corpus_test.dart create mode 160000 packages/cedar_ffi/third_party/cedar create mode 100644 packages/cedar_ffi/tool/generate_tests.dart diff --git a/.github/workflows/cedar_ffi.yaml b/.github/workflows/cedar_ffi.yaml new file mode 100644 index 00000000..b3e18d74 --- /dev/null +++ b/.github/workflows/cedar_ffi.yaml @@ -0,0 +1,43 @@ +name: cedar_ffi +on: + pull_request: + paths: + - ".github/workflows/packages_cedar_ffi.yaml" + - "packages/cedar_ffi/**" + - "packages/cedar_ffi/third_party/cedar" + - "packages/cedar_ffi/third_party/cedar/**" + +# Prevent duplicate runs due to Graphite +# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice +concurrency: + group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}} + cancel-in-progress: true + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-14 + - windows-latest + runs-on: ${{ matrix.os }} + # TODO(dnys1): Speed up Rust builds + timeout-minutes: 15 + steps: + - name: Git Checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1 + with: + submodules: true + - name: Setup Dart + uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # main + # Will often be out-of-date on runners + - name: Setup Rust + run: rustup update stable && rustup default stable + - name: Get Packages + working-directory: packages/cedar_ffi + run: dart pub get + - name: Test + working-directory: packages/cedar_ffi + run: dart --enable-experiment=native-assets test --fail-fast diff --git a/.gitignore b/.gitignore index c0971d16..184bff9d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,12 @@ .DS_Store doc/api/ **/doc/api/ -pubspec_overrides.yaml \ No newline at end of file +pubspec_overrides.yaml + +## RUST ## +# will have compiled files and executables +debug/ +target/ + +# These are backup files generated by rustfmt +**/*.rs.bk \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..0b4fc188 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "packages/cedar_ffi/third_party/cedar"] + path = packages/cedar_ffi/third_party/cedar + url = https://github.com/cedar-policy/cedar + branch = release/3.1.x diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 00000000..de3b2617 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,2817 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aho-corasick" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +dependencies = [ + "memchr", +] + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anes" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" + +[[package]] +name = "anstream" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" + +[[package]] +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "anyhow" +version = "1.0.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" + +[[package]] +name = "arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" +dependencies = [ + "derive_arbitrary", +] + +[[package]] +name = "ascii-canvas" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" +dependencies = [ + "term", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "backtrace" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "binary-install" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93bff426ff93f3610dd2b946f3eb8cb2d1285ca8682834d43be531a3f93db2ff" +dependencies = [ + "anyhow", + "dirs-next", + "flate2", + "fs2", + "hex", + "is_executable", + "siphasher", + "tar", + "ureq", + "zip", +] + +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bstr" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "build-target" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "832133bbabbbaa9fbdba793456a2827627a7d2b8fb96032fa1e7666d7895832b" + +[[package]] +name = "bumpalo" +version = "3.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "camino" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cast" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" + +[[package]] +name = "cbindgen" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49" +dependencies = [ + "clap 3.2.25", + "heck", + "indexmap 1.9.3", + "log", + "proc-macro2", + "quote", + "serde", + "serde_json", + "syn 1.0.109", + "tempfile", + "toml 0.5.11", +] + +[[package]] +name = "cc" +version = "1.0.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +dependencies = [ + "jobserver", + "libc", +] + +[[package]] +name = "cedar-ffi" +version = "0.1.0" +dependencies = [ + "anyhow", + "build-target", + "cbindgen", + "cedar-policy", + "log", + "once_cell", + "serde", + "serde_json", + "simple_logger", + "wasm-bindgen-test", + "wasm-pack", +] + +[[package]] +name = "cedar-policy" +version = "3.1.0" +dependencies = [ + "cedar-policy", + "cedar-policy-core", + "cedar-policy-validator", + "cool_asserts", + "criterion", + "dhat", + "globset", + "itertools 0.12.1", + "lalrpop-util", + "miette", + "nonempty", + "proptest", + "ref-cast", + "serde", + "serde_json", + "serde_with", + "smol_str", + "thiserror", +] + +[[package]] +name = "cedar-policy-core" +version = "3.1.0" +dependencies = [ + "arbitrary", + "cool_asserts", + "either", + "itertools 0.12.1", + "lalrpop", + "lalrpop-util", + "lazy_static", + "miette", + "nonempty", + "regex", + "rustc_lexer", + "serde", + "serde_json", + "serde_with", + "smol_str", + "stacker", + "thiserror", +] + +[[package]] +name = "cedar-policy-validator" +version = "3.1.0" +dependencies = [ + "arbitrary", + "cedar-policy-core", + "cool_asserts", + "itertools 0.12.1", + "lalrpop", + "lalrpop-util", + "lazy_static", + "miette", + "nonempty", + "serde", + "serde_json", + "serde_with", + "smol_str", + "stacker", + "thiserror", + "unicode-security", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-targets 0.52.4", +] + +[[package]] +name = "ciborium" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] + +[[package]] +name = "ciborium-io" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" + +[[package]] +name = "ciborium-ll" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +dependencies = [ + "ciborium-io", + "half", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "clap" +version = "3.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" +dependencies = [ + "atty", + "bitflags 1.3.2", + "clap_lex 0.2.4", + "indexmap 1.9.3", + "strsim 0.10.0", + "termcolor", + "textwrap", +] + +[[package]] +name = "clap" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +dependencies = [ + "anstream", + "anstyle", + "clap_lex 0.7.0", + "strsim 0.11.0", +] + +[[package]] +name = "clap_derive" +version = "4.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "clap_lex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +dependencies = [ + "os_str_bytes", +] + +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] +name = "colored" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" +dependencies = [ + "lazy_static", + "windows-sys 0.48.0", +] + +[[package]] +name = "console" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.52.0", +] + +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + +[[package]] +name = "cool_asserts" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee9f254e53f61e2688d3677fa2cbe4e9b950afd56f48819c98817417cf6b28ec" +dependencies = [ + "indent_write", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "criterion" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +dependencies = [ + "anes", + "cast", + "ciborium", + "clap 4.5.2", + "criterion-plot", + "is-terminal", + "itertools 0.10.5", + "num-traits", + "once_cell", + "oorandom", + "plotters", + "rayon", + "regex", + "serde", + "serde_derive", + "serde_json", + "tinytemplate", + "walkdir", +] + +[[package]] +name = "criterion-plot" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +dependencies = [ + "cast", + "itertools 0.10.5", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "darling" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.10.0", + "syn 2.0.52", +] + +[[package]] +name = "darling_macro" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", + "serde", +] + +[[package]] +name = "derive_arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "dhat" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cd11d84628e233de0ce467de10b8633f4ddaecafadefc86e13b84b8739b827" +dependencies = [ + "backtrace", + "lazy_static", + "mintex", + "parking_lot", + "rustc-hash", + "serde", + "serde_json", + "thousands", +] + +[[package]] +name = "dialoguer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59c6f2989294b9a498d3ad5491a79c6deb604617378e1cdc4bfc1c1361fe2f87" +dependencies = [ + "console", + "shell-words", + "tempfile", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", + "subtle", +] + +[[package]] +name = "dirs-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + +[[package]] +name = "either" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" + +[[package]] +name = "ena" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" +dependencies = [ + "log", +] + +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + +[[package]] +name = "env_logger" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +dependencies = [ + "log", +] + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "errno" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + +[[package]] +name = "filetime" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "windows-sys 0.52.0", +] + +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + +[[package]] +name = "flate2" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "globset" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "half" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e" +dependencies = [ + "cfg-if", + "crunchy", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "home" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "human-panic" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4f016c89920bbb30951a8405ecacbb4540db5524313b9445736e7e1855cf370" +dependencies = [ + "anstream", + "anstyle", + "backtrace", + "os_info", + "serde", + "serde_derive", + "toml 0.8.10", + "uuid", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indent_write" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cfe9645a18782869361d9c8732246be7b410ad4e919d3609ebabdac00ba12c3" + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", + "serde", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + +[[package]] +name = "is-terminal" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +dependencies = [ + "hermit-abi 0.3.9", + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "is_executable" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302d553b8abc8187beb7d663e34c065ac4570b273bc9511a50e940e99409c577" +dependencies = [ + "winapi", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" + +[[package]] +name = "jobserver" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "lalrpop" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" +dependencies = [ + "ascii-canvas", + "bit-set", + "ena", + "itertools 0.11.0", + "lalrpop-util", + "petgraph", + "pico-args", + "regex", + "regex-syntax", + "string_cache", + "term", + "tiny-keccak", + "unicode-xid", + "walkdir", +] + +[[package]] +name = "lalrpop-util" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.153" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" + +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.2", + "libc", + "redox_syscall", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lock_api" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" + +[[package]] +name = "memchr" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" + +[[package]] +name = "miette" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" +dependencies = [ + "miette-derive", + "once_cell", + "serde", + "thiserror", + "unicode-width", +] + +[[package]] +name = "miette-derive" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mintex" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bec4598fddb13cc7b528819e697852653252b760f1228b7642679bf2ff2cd07" + +[[package]] +name = "new_debug_unreachable" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" + +[[package]] +name = "nonempty" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "995defdca0a589acfdd1bd2e8e3b896b4d4f7675a31fd14c32611440c7f608e6" + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-traits" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "oorandom" +version = "11.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" + +[[package]] +name = "os_info" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "serde", + "winapi", +] + +[[package]] +name = "os_str_bytes" +version = "6.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" + +[[package]] +name = "parking_lot" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.48.5", +] + +[[package]] +name = "password-hash" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" +dependencies = [ + "base64ct", + "rand_core", + "subtle", +] + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest", + "hmac", + "password-hash", + "sha2", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "petgraph" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +dependencies = [ + "fixedbitset", + "indexmap 2.2.5", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + +[[package]] +name = "pkg-config" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" + +[[package]] +name = "plotters" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" +dependencies = [ + "num-traits", + "plotters-backend", + "plotters-svg", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "plotters-backend" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609" + +[[package]] +name = "plotters-svg" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab" +dependencies = [ + "plotters-backend", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "proc-macro2" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proptest" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.4.2", + "lazy_static", + "num-traits", + "rand", + "rand_chacha", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rayon" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_users" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +dependencies = [ + "getrandom", + "libredox", + "thiserror", +] + +[[package]] +name = "ref-cast" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "regex" +version = "1.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" + +[[package]] +name = "ring" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +dependencies = [ + "cc", + "cfg-if", + "getrandom", + "libc", + "spin", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc_lexer" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86aae0c77166108c01305ee1a36a1e77289d7dc6ca0a3cd91ff4992de2d16a5" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "rustix" +version = "0.38.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +dependencies = [ + "bitflags 2.4.2", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" +dependencies = [ + "log", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pki-types" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8" + +[[package]] +name = "rustls-webpki" +version = "0.102.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" + +[[package]] +name = "rusty-fork" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + +[[package]] +name = "ryu" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +dependencies = [ + "serde", +] + +[[package]] +name = "serde" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "serde_ignored" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8e319a36d1b52126a0d608f24e93b2d81297091818cd70625fcf50a15d84ddf" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_json" +version = "1.0.114" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +dependencies = [ + "indexmap 2.2.5", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_with" +version = "3.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15d167997bd841ec232f5b2b8e0e26606df2e7caa4c31b95ea9ca52b200bd270" +dependencies = [ + "base64", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.2.5", + "serde", + "serde_derive", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "865f9743393e638991566a8b7a479043c2c8da94a33e0a31f18214c9cae0a64d" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shell-words" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" + +[[package]] +name = "simple_logger" +version = "4.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7e46c8c90251d47d08b28b8a419ffb4aede0f87c2eea95e17d1d5bacbf3ef1" +dependencies = [ + "colored", + "log", + "time", + "windows-sys 0.48.0", +] + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "smallvec" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" + +[[package]] +name = "smol_str" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6845563ada680337a52d43bb0b29f396f2d911616f6573012645b9e3d048a49" +dependencies = [ + "serde", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "stacker" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "winapi", +] + +[[package]] +name = "string_cache" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" +dependencies = [ + "new_debug_unreachable", + "once_cell", + "parking_lot", + "phf_shared", + "precomputed-hash", +] + +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + +[[package]] +name = "strsim" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tar" +version = "0.4.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" +dependencies = [ + "filetime", + "libc", + "xattr", +] + +[[package]] +name = "tempfile" +version = "3.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +dependencies = [ + "cfg-if", + "fastrand", + "rustix", + "windows-sys 0.52.0", +] + +[[package]] +name = "term" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" +dependencies = [ + "dirs-next", + "rustversion", + "winapi", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "textwrap" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" + +[[package]] +name = "thiserror" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "thousands" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" + +[[package]] +name = "time" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinytemplate" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "serde", +] + +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] + +[[package]] +name = "toml" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.22.6", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.5", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" +dependencies = [ + "indexmap 2.2.5", + "serde", + "serde_spanned", + "toml_datetime", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-script" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8d71f5726e5f285a935e9fe8edfd53f0491eb6e9a5774097fdabee7cd8c9cd" + +[[package]] +name = "unicode-security" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee9e13753df674873f3c4693b240ae5c03245ddc157dfccf7c26db9329af3a11" +dependencies = [ + "unicode-normalization", + "unicode-script", +] + +[[package]] +name = "unicode-width" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "ureq" +version = "2.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11f214ce18d8b2cbe84ed3aa6486ed3f5b285cf8d8fbdbce9f3f767a724adc35" +dependencies = [ + "base64", + "flate2", + "log", + "once_cell", + "rustls", + "rustls-pki-types", + "rustls-webpki", + "serde", + "serde_json", + "url", + "webpki-roots", +] + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + +[[package]] +name = "uuid" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" +dependencies = [ + "getrandom", +] + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.52", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" + +[[package]] +name = "wasm-bindgen-test" +version = "0.3.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bf62a58e0780af3e852044583deee40983e5886da43a271dd772379987667b" +dependencies = [ + "console_error_panic_hook", + "js-sys", + "scoped-tls", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-bindgen-test-macro", +] + +[[package]] +name = "wasm-bindgen-test-macro" +version = "0.3.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f89739351a2e03cb94beb799d47fb2cac01759b40ec441f7de39b00cbf7ef0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "wasm-pack" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "232d74cc810a700817e78a5689da7d1d8ab6f0b9ebb26b6f0c0d98f15e20fec2" +dependencies = [ + "anyhow", + "atty", + "binary-install", + "cargo_metadata", + "chrono", + "clap 4.5.2", + "console", + "dialoguer", + "env_logger", + "glob", + "human-panic", + "log", + "parking_lot", + "semver", + "serde", + "serde_derive", + "serde_ignored", + "serde_json", + "siphasher", + "strsim 0.10.0", + "toml 0.7.8", + "ureq", + "walkdir", + "which", +] + +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-roots" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.4", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.4", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +dependencies = [ + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "xattr" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +dependencies = [ + "libc", + "linux-raw-sys", + "rustix", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" + +[[package]] +name = "zip" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +dependencies = [ + "aes", + "byteorder", + "bzip2", + "constant_time_eq", + "crc32fast", + "crossbeam-utils", + "flate2", + "hmac", + "pbkdf2", + "sha1", + "time", + "zstd", +] + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.9+zstd.1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..a61e3506 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,3 @@ +[workspace] +resolver = "2" +members = ["packages/cedar_ffi/src"] diff --git a/packages/cedar_ffi/.gitignore b/packages/cedar_ffi/.gitignore new file mode 100644 index 00000000..3cceda55 --- /dev/null +++ b/packages/cedar_ffi/.gitignore @@ -0,0 +1,7 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ + +# Avoid committing pubspec.lock for library packages; see +# https://dart.dev/guides/libraries/private-files#pubspeclock. +pubspec.lock diff --git a/packages/cedar_ffi/CHANGELOG.md b/packages/cedar_ffi/CHANGELOG.md new file mode 100644 index 00000000..a0712a79 --- /dev/null +++ b/packages/cedar_ffi/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.0 + +- Initial version. diff --git a/packages/cedar_ffi/README.md b/packages/cedar_ffi/README.md new file mode 100644 index 00000000..5a144a2a --- /dev/null +++ b/packages/cedar_ffi/README.md @@ -0,0 +1,5 @@ +# Cedar FFI + +A Dart FFI wrapper for the [Cedar](https://www.cedarpolicy.com/en) policy engine. + +## Usage diff --git a/packages/cedar_ffi/analysis_options.yaml b/packages/cedar_ffi/analysis_options.yaml new file mode 100644 index 00000000..917b8a29 --- /dev/null +++ b/packages/cedar_ffi/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:lints/recommended.yaml + +analyzer: + exclude: + - "**/*.g.dart" diff --git a/packages/cedar_ffi/build.dart b/packages/cedar_ffi/build.dart new file mode 100644 index 00000000..d0b35470 --- /dev/null +++ b/packages/cedar_ffi/build.dart @@ -0,0 +1,109 @@ +import 'dart:convert'; +import 'dart:io'; + +import 'package:native_assets_cli/native_assets_cli.dart'; + +const packageName = 'cedar_ffi'; +const ffiPackageName = 'cedar_ffi'; + +final IOSink buildLogs = () { + final logsFile = File.fromUri( + Platform.script.resolve('.dart_tool/build.log'), + ); + logsFile.createSync(recursive: true); + return logsFile.openWrite(mode: FileMode.write); +}(); + +/// Implements the protocol from `package:native_assets_cli` by building +/// the C code in `src/` and reporting what native assets it built. +void main(List args) async { + // Parse the build configuration passed to this CLI from Dart or Flutter. + final buildConfig = await BuildConfig.fromArgs(args); + buildLogs.writeln(buildConfig.toString()); + final buildOutput = BuildOutput() + ..dependencies.dependencies.addAll([ + buildConfig.packageRoot.resolve('build.dart'), + buildConfig.packageRoot.resolve('src/'), + ]); + + // Build the Rust code in `src/` to `target/`. + // + // Since we're in a workspace, this will default to the repo root which we + // don't want. + final cargoOutput = buildConfig.packageRoot.resolve('target/'); + await runProcess( + 'cargo', + ['build', '--release'], + environment: { + 'CARGO_TARGET_DIR': cargoOutput.toFilePath(), + }, + workingDirectory: buildConfig.packageRoot.resolve('src').toFilePath(), + ); + + final binaryName = buildConfig.targetOs.dylibFileName(ffiPackageName); + final binaryOut = cargoOutput.resolve('release/$binaryName'); + if (!File.fromUri(binaryOut).existsSync()) { + throw Exception('$binaryOut does not exist'); + } + final nativeAsset = Asset( + id: 'package:$packageName/src/ffi/cedar_bindings.g.dart', + linkMode: LinkMode.dynamic, + target: buildConfig.target, + path: AssetAbsolutePath(binaryOut), + ); + buildLogs.writeln('Compiled asset: ${nativeAsset.toString()}'); + buildOutput.assets.add(nativeAsset); + + // Write the output according to the native assets protocol so that Dart or + // Flutter can find the native assets produced by this script. + await buildOutput.writeToFile(outDir: buildConfig.outDir); + + await buildLogs.flush(); + await buildLogs.close(); +} + +Future runProcess( + String exe, + List args, { + Map? environment, + String? workingDirectory, +}) async { + final process = await Process.start( + exe, + args, + environment: environment, + workingDirectory: workingDirectory, + includeParentEnvironment: true, + ); + final stdoutBuffer = StringBuffer(); + final stderrBuffer = StringBuffer(); + final stdoutSub = process.stdout + .transform(utf8.decoder) + .transform(const LineSplitter()) + .listen((line) { + buildLogs.writeln('STDOUT: $line'); + stderrBuffer.writeln(line); + }); + final stderrSub = process.stderr + .transform(utf8.decoder) + .transform(const LineSplitter()) + .listen((line) { + buildLogs.writeln('STDERR: $line'); + stderrBuffer.writeln(line); + }); + final (exitCode, _, _) = await ( + process.exitCode, + stdoutSub.asFuture(), + stderrSub.asFuture(), + ).wait; + await buildLogs.flush(); + if (exitCode != 0) { + throw ProcessException( + exe, + args, + 'STDOUT:\n$stdoutBuffer\n' + 'STDERR:\n$stderrBuffer', + exitCode, + ); + } +} diff --git a/packages/cedar_ffi/example/.gitignore b/packages/cedar_ffi/example/.gitignore new file mode 100644 index 00000000..3a857904 --- /dev/null +++ b/packages/cedar_ffi/example/.gitignore @@ -0,0 +1,3 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ diff --git a/packages/cedar_ffi/example/README.md b/packages/cedar_ffi/example/README.md new file mode 100644 index 00000000..4c22e30c --- /dev/null +++ b/packages/cedar_ffi/example/README.md @@ -0,0 +1,13 @@ +An example of using `package:cedar_ffi` to evaluate authorization decisions. + +To run the example: + +```sh +$ dart --enable-experiment=native-assets run bin/example.dart +``` + +You should see the following output: + +``` +Alice can create the todo list! +``` \ No newline at end of file diff --git a/packages/cedar_ffi/example/analysis_options.yaml b/packages/cedar_ffi/example/analysis_options.yaml new file mode 100644 index 00000000..572dd239 --- /dev/null +++ b/packages/cedar_ffi/example/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/recommended.yaml diff --git a/packages/cedar_ffi/example/bin/cedar/example.cedar b/packages/cedar_ffi/example/bin/cedar/example.cedar new file mode 100644 index 00000000..027fa867 --- /dev/null +++ b/packages/cedar_ffi/example/bin/cedar/example.cedar @@ -0,0 +1,10 @@ +// Policy 0: Any User can create a list and see what lists they own +permit ( + principal, + action in [Action::"CreateList", Action::"GetLists"], + resource == Application::"TinyTodo" +); + +// Policy 1: A User can perform any action on a List they own +permit (principal, action, resource) +when { resource has owner && resource.owner == principal }; diff --git a/packages/cedar_ffi/example/bin/cedar/example.cedarschema.json b/packages/cedar_ffi/example/bin/cedar/example.cedarschema.json new file mode 100644 index 00000000..6acf30c2 --- /dev/null +++ b/packages/cedar_ffi/example/bin/cedar/example.cedarschema.json @@ -0,0 +1,164 @@ +{ + "": { + "entityTypes": { + "Application": {}, + "User": { + "memberOfTypes": [ + "Team", + "Application" + ], + "shape": { + "type": "Record", + "attributes": { + "name": { + "type": "String" + } + } + } + }, + "Team": { + "memberOfTypes": [ + "Team", + "Application" + ] + }, + "List": { + "memberOfTypes": [ + "Application" + ], + "shape": { + "type": "Record", + "attributes": { + "owner": { + "type": "Entity", + "name": "User" + }, + "name": { + "type": "String" + }, + "readers": { + "type": "Entity", + "name": "Team", + "required": false + }, + "editors": { + "type": "Entity", + "name": "Team", + "required": false + }, + "tasks": { + "type": "Set", + "required": false, + "element": { + "type": "Record", + "attributes": { + "name": { + "type": "String" + }, + "id": { + "type": "Long" + }, + "state": { + "type": "String" + } + } + } + } + } + } + } + }, + "actions": { + "CreateList": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "Application" + ] + } + }, + "GetList": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "UpdateList": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "DeleteList": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "GetLists": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "Application" + ] + } + }, + "CreateTask": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "UpdateTask": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "DeleteTask": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + }, + "EditShares": { + "appliesTo": { + "principalTypes": [ + "User" + ], + "resourceTypes": [ + "List" + ] + } + } + } + } +} \ No newline at end of file diff --git a/packages/cedar_ffi/example/bin/example.dart b/packages/cedar_ffi/example/bin/example.dart new file mode 100644 index 00000000..c37058ee --- /dev/null +++ b/packages/cedar_ffi/example/bin/example.dart @@ -0,0 +1,50 @@ +import 'dart:convert'; +import 'dart:io'; + +import 'package:cedar/cedar.dart'; +import 'package:cedar_ffi/cedar_ffi.dart'; + +Future main() async { + final root = Platform.script.resolve('cedar/'); + final schemaJson = + File.fromUri(root.resolve('example.cedarschema.json')).readAsStringSync(); + final policiesCedar = + File.fromUri(root.resolve('example.cedar')).readAsStringSync(); + + final cedar = CedarEngine( + schema: CedarSchema.fromJson( + jsonDecode(schemaJson) as Map, + ), + policies: CedarPolicySetFfi.fromCedar(policiesCedar), + ); + + final app = CedarEntity( + id: CedarEntityId('Application', 'TinyTodo'), + ); + final user = CedarEntity( + id: CedarEntityId('User', 'alice'), + parents: [app.id], + attributes: { + 'name': CedarValueJson.string('Alice'), + }, + ); + final canCreateTodo = cedar.isAuthorized( + CedarAuthorizationRequest( + principal: user.id, + action: CedarEntityId('Action', 'CreateList'), + resource: app.id, + ), + entities: [app, user], + ); + switch (canCreateTodo) { + case CedarAuthorizationResponse(decision: CedarAuthorizationDecision.allow): + print('Alice can create the todo list!'); + case CedarAuthorizationResponse( + :final errorMessages, + :final reasons, + ): + print('Alice cannot create the todo list'); + print('Contributing policies: $reasons'); + print('Error messages: $errorMessages'); + } +} diff --git a/packages/cedar_ffi/example/pubspec.yaml b/packages/cedar_ffi/example/pubspec.yaml new file mode 100644 index 00000000..e70dc858 --- /dev/null +++ b/packages/cedar_ffi/example/pubspec.yaml @@ -0,0 +1,21 @@ +name: example +description: An example of the cedar_ffi library. +version: 1.0.0 +publish_to: none + +environment: + sdk: ^3.2.0 + +dependencies: + cedar: + path: ../../cedar + cedar_ffi: + path: ../ + +dependency_overrides: + cedar: + path: ../../cedar + +dev_dependencies: + lints: ^3.0.0 + test: ^1.21.0 diff --git a/packages/cedar_ffi/lib/cedar_ffi.dart b/packages/cedar_ffi/lib/cedar_ffi.dart new file mode 100644 index 00000000..936fa875 --- /dev/null +++ b/packages/cedar_ffi/lib/cedar_ffi.dart @@ -0,0 +1,6 @@ +/// A Dart FFI wrapper for the [Cedar](https://www.cedarpolicy.com/en) policy +/// engine. +library cedar_ffi; + +export 'src/cedar_policy_set_ffi.dart'; +export 'src/engine/cedar_engine.dart'; diff --git a/packages/cedar_ffi/lib/src/cedar_policy_set_ffi.dart b/packages/cedar_ffi/lib/src/cedar_policy_set_ffi.dart new file mode 100644 index 00000000..2eeb1aac --- /dev/null +++ b/packages/cedar_ffi/lib/src/cedar_policy_set_ffi.dart @@ -0,0 +1,48 @@ +import 'dart:convert'; +import 'dart:ffi'; + +import 'package:cedar/cedar.dart'; +import 'package:cedar_ffi/src/ffi/cedar_bindings.g.dart' as bindings; +import 'package:ffi/ffi.dart'; + +/// An FFI extension of [CedarPolicySet]. +extension type CedarPolicySetFfi._(CedarPolicySet _policySet) + implements CedarPolicySet { + /// Parses a set of Cedar policies from the given [policiesIdl]. + CedarPolicySetFfi.fromCedar(String policiesIdl) + : _policySet = CedarPolicySet.fromJson(parsePolicies(policiesIdl)); +} + +/// Parses a set of Cedar policies from the given [policiesIdl] using the +/// Cedar Rust engine via FFI. +Map> parsePolicies(String policiesIdl) { + return using((arena) { + final cPolicies = bindings.cedar_parse_policy_set( + policiesIdl.toNativeUtf8(allocator: arena).cast(), + ); + switch (cPolicies) { + case bindings.CCedarPolicySetResult(:final errors, :final errors_len) + when errors_len > 0: + final errorStrings = []; + for (var i = 0; i < errors_len; i++) { + errorStrings.add(errors[i].cast().toDartString()); + } + throw FormatException( + 'Error parsing policies: ' + '${errorStrings.join(', ')}', + policiesIdl, + ); + case bindings.CCedarPolicySetResult( + :final policies, + :final policy_ids, + :final policies_len + ): + return { + for (var i = 0; i < policies_len; i++) + policy_ids[i].cast().toDartString(): + jsonDecode(policies[i].cast().toDartString()) + as Map, + }; + } + }); +} diff --git a/packages/cedar_ffi/lib/src/engine/cedar_engine.dart b/packages/cedar_ffi/lib/src/engine/cedar_engine.dart new file mode 100644 index 00000000..94a56ee0 --- /dev/null +++ b/packages/cedar_ffi/lib/src/engine/cedar_engine.dart @@ -0,0 +1,172 @@ +import 'dart:convert'; +import 'dart:ffi'; + +import 'package:cedar/cedar.dart'; +import 'package:cedar_ffi/src/ffi/cedar_bindings.g.dart' as bindings; +import 'package:ffi/ffi.dart'; +import 'package:meta/meta.dart'; + +enum CedarLogLevel { + off, + error, + warn, + info, + debug, + trace, +} + +final class CedarEngine implements CedarAuthorizer, Finalizable { + factory CedarEngine({ + required CedarSchema schema, + List? entities, + CedarPolicySet? policies, + CedarLogLevel logLevel = CedarLogLevel.off, + @visibleForTesting bool validate = true, + }) { + final storeRef = using((arena) { + final config = arena(); + config.ref + ..schema_json = + jsonEncode(schema.toJson()).toNativeUtf8(allocator: arena).cast() + ..policies_json = switch (policies) { + final policies? => + jsonEncode(policies.toJson()).toNativeUtf8(allocator: arena).cast(), + null => nullptr, + } + ..entities_json = switch (entities) { + final entities? => + jsonEncode(entities.map((e) => e.toJson()).toList()) + .toNativeUtf8(allocator: arena) + .cast(), + null => nullptr, + } + ..validate = validate + ..log_level = logLevel.name.toNativeUtf8(allocator: arena).cast(); + final initResult = bindings.cedar_init(config); + if (initResult.error != nullptr) { + throw StateError( + 'Error initializing Cedar: ' + '${initResult.error.cast().toDartString()}', + ); + } + assert( + initResult.store != nullptr, + 'Should be non-null when errors is null', + ); + return initResult.store; + }); + final engine = CedarEngine._(ref: storeRef); + _finalizer.attach(engine, storeRef, detach: engine); + return engine; + } + + CedarEngine._({ + required Pointer ref, + }) : _ref = ref; + + static final Finalizer> _finalizer = Finalizer( + bindings.cedar_deinit, + ); + + var _closed = false; + + final Pointer _ref; + + @override + CedarAuthorizationResponse isAuthorized( + CedarAuthorizationRequest request, { + List? entities, + CedarPolicySet? policies, + }) { + if (_closed) { + throw StateError('Cedar engine is closed'); + } + return using((arena) { + final query = arena(); + query.ref + ..principal_str = switch (request.principal) { + final principal? => principal.normalized + .toString() + .toNativeUtf8(allocator: arena) + .cast(), + null => nullptr, + } + ..resource_str = switch (request.resource) { + final resource? => resource.normalized + .toString() + .toNativeUtf8(allocator: arena) + .cast(), + null => nullptr, + } + ..action_str = switch (request.action) { + final action? => + action.normalized.toString().toNativeUtf8(allocator: arena).cast(), + null => nullptr, + } + ..context_json = switch (request.context) { + final context? => + jsonEncode(context).toNativeUtf8(allocator: arena).cast(), + null => nullptr, + } + ..entities_json = switch (entities) { + final entities? => + jsonEncode(entities.map((e) => e.toJson()).toList()) + .toNativeUtf8(allocator: arena) + .cast(), + null => nullptr, + } + ..policies_json = switch (policies) { + final policies? => + jsonEncode(policies.toJson()).toNativeUtf8(allocator: arena).cast(), + null => nullptr, + }; + final cDecision = bindings.cedar_is_authorized(_ref, query); + return switch (cDecision) { + bindings.CAuthorizationDecision(:final completion_error) + when completion_error != nullptr => + throw Exception( + 'Error performing authorization: ' + '${completion_error.cast().toDartString()}', + ), + bindings.CAuthorizationDecision( + :final is_authorized, + :final reasons, + :final reasons_len, + :final errors, + :final errors_len, + ) => + CedarAuthorizationResponse( + decision: switch (is_authorized) { + true => CedarAuthorizationDecision.allow, + false => CedarAuthorizationDecision.deny, + }, + reasons: reasons == nullptr || reasons_len == 0 + ? const [] + : [ + for (var i = 0; i < reasons_len; i++) + reasons[i].cast().toDartString(), + ], + errors: errors == nullptr || errors_len == 0 + ? const [] + : [ + for (var i = 0; i < errors_len; i++) + errors[i].cast().toDartString(), + ], + ), + }; + }); + } + + /// Closes the Cedar engine. + /// + /// This should be called when the Cedar engine is no longer needed. After + /// this method is called, the Cedar engine is no longer usable. + void close() { + if (_closed) { + return; + } + _closed = true; + _finalizer.detach(this); + bindings.cedar_deinit(_ref); + } +} diff --git a/packages/cedar_ffi/lib/src/ffi/cedar_bindings.g.dart b/packages/cedar_ffi/lib/src/ffi/cedar_bindings.g.dart new file mode 100644 index 00000000..ff820c71 --- /dev/null +++ b/packages/cedar_ffi/lib/src/ffi/cedar_bindings.g.dart @@ -0,0 +1,171 @@ +// AUTO GENERATED FILE, DO NOT EDIT. +// +// Generated by `package:ffigen`. +// ignore_for_file: type=lint +import 'dart:ffi' as ffi; + +/// Parses a policy set from a Cedar policy string into JSON. +@ffi.Native)>( + symbol: 'cedar_parse_policy_set', isLeaf: true) +external CCedarPolicySetResult cedar_parse_policy_set( + ffi.Pointer policies, +); + +/// Initializes the Cedar policy engine with the given configuration. +/// +/// This must be called exactly once before any other Cedar functions are called. +@ffi.Native)>( + symbol: 'cedar_init', isLeaf: true) +external CInitResult cedar_init( + ffi.Pointer config, +); + +/// De-initializes the Cedar policy engine. +/// +/// This must be called exactly once when the Cedar policy engine is no longer needed. +@ffi.Native)>( + symbol: 'cedar_deinit', isLeaf: true) +external void cedar_deinit( + ffi.Pointer store, +); + +/// Performs a Cedar authorization check. +/// +/// This must be called after [cedar_init] has been called. +@ffi.Native< + CAuthorizationDecision Function(ffi.Pointer, + ffi.Pointer)>(symbol: 'cedar_is_authorized', isLeaf: true) +external CAuthorizationDecision cedar_is_authorized( + ffi.Pointer store, + ffi.Pointer query, +); + +/// The result of parsing policies from a Cedar policy string into JSON +/// via [cedar_parse_policies]. +final class CCedarPolicySetResult extends ffi.Struct { + /// The number of policies in the policy set. + @ffi.UintPtr() + external int policies_len; + + /// The policies in the policy set, in JSON format. + /// + /// This is only valid if `policies_len` is greater than 0 and `errors_len` is 0. + external ffi.Pointer> policies; + + /// The IDs for the `policies` in the policy set. + external ffi.Pointer> policy_ids; + + /// The number of errors encountered while parsing the policy set. + @ffi.UintPtr() + external int errors_len; + + /// The errors (as strings) encountered while parsing the policy set. + external ffi.Pointer> errors; +} + +final class CCedarConfig extends ffi.Struct { + /// The Cedar schema, in JSON format. + /// + /// This is a required field. + external ffi.Pointer schema_json; + + /// The Cedar entities, in JSON format. + /// + /// Can be `null` to indicate no entities. Entities can be added later with [cedar_add_entities] + /// or [cedar_set_entities]. + external ffi.Pointer entities_json; + + /// The Cedar policies, in JSON format. + /// + /// Can be `null` to indicate no policies. Policies can be added later with [cedar_add_policies] + /// or [cedar_set_policies]. + external ffi.Pointer policies_json; + + /// Whether to validate the Cedar policies. + @ffi.Bool() + external bool validate; + + /// The log level to use for the Cedar policy engine. + /// + /// Must be one of: `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`. + external ffi.Pointer log_level; +} + +final class CCedarQuery extends ffi.Struct { + /// The principal to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous principal. + external ffi.Pointer principal_str; + + /// The resource to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous resource. + external ffi.Pointer resource_str; + + /// The action to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous action. + external ffi.Pointer action_str; + + /// The check's context, if any, in JSON format. + /// + /// Can be `null` to indicate no context. + external ffi.Pointer context_json; + + /// The Cedar entities, in JSON format. + /// + /// Can be `null` to use the existing entities. + external ffi.Pointer entities_json; + + /// The Cedar policies, in JSON format. + /// + /// Can be `null` to use the existing policies. + external ffi.Pointer policies_json; +} + +/// The result of initializing the Cedar policy engine via [cedar_init]. +final class CInitResult extends ffi.Struct { + /// Whether the operation succeeded. + external ffi.Pointer store; + + /// The error message, if any. + /// + /// Can be `null` to indicate no error. + external ffi.Pointer error; +} + +final class CedarStore extends ffi.Opaque {} + +final class CAuthorizationDecision extends ffi.Struct { + /// Whether the request is authorized. + @ffi.Bool() + external bool is_authorized; + + /// The error message, if any. + /// + /// If set, the authorization decision could not be made and no other + /// fields should be used. + external ffi.Pointer completion_error; + + /// The array of reasons. + /// + /// Will be `null` if there are no reasons. + external ffi.Pointer> reasons; + + /// The length of the array of reasons. + /// + /// Will be `0` if there are no reasons. + @ffi.UintPtr() + external int reasons_len; + + /// The array of errors. + /// + /// Will be `null` if there are no errors. + external ffi.Pointer> errors; + + /// The length of the array of errors. + /// + /// Will be `0` if there are no errors. + @ffi.UintPtr() + external int errors_len; +} diff --git a/packages/cedar_ffi/lib/src/testing/corpus.dart b/packages/cedar_ffi/lib/src/testing/corpus.dart new file mode 100644 index 00000000..0a641b83 --- /dev/null +++ b/packages/cedar_ffi/lib/src/testing/corpus.dart @@ -0,0 +1,69 @@ +import 'package:cedar/cedar.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'corpus.g.dart'; + +@JsonLiteral('corpus.json', asConst: true) +Map> get _corpusTestData => + _$_corpusTestDataJsonLiteral; + +final Map cedarCorpusTests = _corpusTestData.map( + (key, value) => MapEntry(key, CedarTest.fromJson(value)), +); + +const _serializable = JsonSerializable( + anyMap: true, + includeIfNull: false, + fieldRename: FieldRename.snake, +); + +@_serializable +final class CedarTest { + const CedarTest({ + required this.name, + required this.schemaJson, + required this.policiesCedar, + required this.shouldValidate, + required this.entitiesJson, + required this.queries, + }); + + factory CedarTest.fromJson(Map json) => _$CedarTestFromJson(json); + + final String name; + final Map schemaJson; + final String policiesCedar; + final bool shouldValidate; + final List entitiesJson; + final List queries; + + Map toJson() => _$CedarTestToJson(this); +} + +@_serializable +final class CedarQuery { + const CedarQuery({ + required this.description, + required this.principal, + required this.resource, + required this.action, + required this.context, + required this.decision, + required this.reasons, + required this.errors, + }); + + factory CedarQuery.fromJson(Map json) => _$CedarQueryFromJson(json); + + @JsonKey(name: 'desc') + final String description; + final CedarEntityId? principal; + final CedarEntityId? resource; + final CedarEntityId action; + final Map context; + final CedarAuthorizationDecision decision; + final List reasons; + final List errors; + + Map toJson() => _$CedarQueryToJson(this); +} diff --git a/packages/cedar_ffi/lib/src/testing/corpus.g.dart b/packages/cedar_ffi/lib/src/testing/corpus.g.dart new file mode 100644 index 00000000..854618e1 --- /dev/null +++ b/packages/cedar_ffi/lib/src/testing/corpus.g.dart @@ -0,0 +1,214002 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'corpus.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +CedarTest _$CedarTestFromJson(Map json) => CedarTest( + name: json['name'] as String, + schemaJson: Map.from(json['schema_json'] as Map), + policiesCedar: json['policies_cedar'] as String, + shouldValidate: json['should_validate'] as bool, + entitiesJson: json['entities_json'] as List, + queries: (json['queries'] as List) + .map((e) => CedarQuery.fromJson(e as Map)) + .toList(), + ); + +Map _$CedarTestToJson(CedarTest instance) => { + 'name': instance.name, + 'schema_json': instance.schemaJson, + 'policies_cedar': instance.policiesCedar, + 'should_validate': instance.shouldValidate, + 'entities_json': instance.entitiesJson, + 'queries': instance.queries, + }; + +CedarQuery _$CedarQueryFromJson(Map json) => CedarQuery( + description: json['desc'] as String, + principal: json['principal'] == null + ? null + : CedarEntityId.fromJson( + Map.from(json['principal'] as Map)), + resource: json['resource'] == null + ? null + : CedarEntityId.fromJson( + Map.from(json['resource'] as Map)), + action: CedarEntityId.fromJson( + Map.from(json['action'] as Map)), + context: Map.from(json['context'] as Map), + decision: + $enumDecode(_$CedarAuthorizationDecisionEnumMap, json['decision']), + reasons: + (json['reasons'] as List).map((e) => e as String).toList(), + errors: + (json['errors'] as List).map((e) => e as String).toList(), + ); + +Map _$CedarQueryToJson(CedarQuery instance) { + final val = { + 'desc': instance.description, + }; + + void writeNotNull(String key, dynamic value) { + if (value != null) { + val[key] = value; + } + } + + writeNotNull('principal', instance.principal); + writeNotNull('resource', instance.resource); + val['action'] = instance.action; + val['context'] = instance.context; + val['decision'] = _$CedarAuthorizationDecisionEnumMap[instance.decision]!; + val['reasons'] = instance.reasons; + val['errors'] = instance.errors; + return val; +} + +const _$CedarAuthorizationDecisionEnumMap = { + CedarAuthorizationDecision.allow: 'Allow', + CedarAuthorizationDecision.deny: 'Deny', +}; + +// ************************************************************************** +// JsonLiteralGenerator +// ************************************************************************** + +const _$_corpusTestDataJsonLiteral = { + 'f51cc525b644fab293a5ec8c23a5cbb7684e0c49': { + 'name': 'f51cc525b644fab293a5ec8c23a5cbb7684e0c49', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '56f0369e64a8aea495d82b7cf5fe68532611c57f': { + 'name': '56f0369e64a8aea495d82b7cf5fe68532611c57f', + 'schema_json': { + 'Gxxxxxjju': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == Gxxxxxjju::a::"",\n action in [Gxxxxxjju::Action::"action"],\n resource in Gxxxxxjju::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxxxjju::a', 'id': '='}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '819b5df4fdd4474a32e5d6080e82c1e2a461a125': { + 'name': '819b5df4fdd4474a32e5d6080e82c1e2a461a125', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\f\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02=' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '740d091a7026855d819c74f94ad2c1b3aecb7f82': { + 'name': '740d091a7026855d819c74f94ad2c1b3aecb7f82', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'RH': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'j': { + 'memberOfTypes': ['RH'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['j', 'RH'], + 'principalTypes': ['RH'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'RH', 'id': ':c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'j', 'id': ')'}, + 'attrs': {}, + 'parents': [ + {'type': 'RH', 'id': ''}, + {'type': 'RH', 'id': ':c'} + ] + }, + { + 'uid': {'type': 'j', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'RH', 'id': ''}, + {'type': 'RH', 'id': ':c'} + ] + }, + { + 'uid': {'type': 'RH', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'RH', 'id': ':c'}, + 'resource': {'type': 'j', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c473ec0a248a595b1dde9b9a357404233b05583': { + 'name': '1c473ec0a248a595b1dde9b9a357404233b05583', + 'schema_json': { + 'A000::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == A000::r::a::"",\n action == A000::r::Action::"action",\n resource\n) when {\n ((true && (principal == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A000::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A000::r::a', 'id': ''}, + 'resource': {'type': 'A000::r::a', 'id': ''}, + 'action': {'type': 'A000::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a15e7c71d9a369baeeae438e37491867ebe8f706': { + 'name': 'a15e7c71d9a369baeeae438e37491867ebe8f706', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'u': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['G'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['u', 'r'], + 'principalTypes': ['r', 'G'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'u', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'G', 'id': ''} + ] + }, + { + 'uid': {'type': 'u', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'G', 'id': ''} + ] + }, + { + 'uid': {'type': 'u', 'id': ':B::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'G', 'id': ''} + ] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'G', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'u', 'id': ':B::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '12ea8d3f2768e2d6b9418905be71bb2b90b893db': { + 'name': '12ea8d3f2768e2d6b9418905be71bb2b90b893db', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{1}\\u{1e}7\\u{1}*\\0\\0\\0\\0\\0\\0\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"\\u{1}\\u{1e}7\\u{1}*\\0\\0\\0\\0\\0\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x01\x1E7\x01*\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ed697643b8137f84bcb4b30eb65c756a25e3174e': { + 'name': 'ed697643b8137f84bcb4b30eb65c756a25e3174e', + 'schema_json': { + 'z': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'z::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'z::a', 'id': '86'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'z::a', 'id': '8FFFF17910701\x18'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'z::a', 'id': '6'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'z::a', 'id': '86'}, + 'resource': {'type': 'z::a', 'id': '86'}, + 'action': {'type': 'z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd6ebe39a0e8ca56b7f860c24d898a862ce7b1641': { + 'name': 'd6ebe39a0e8ca56b7f860c24d898a862ce7b1641', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'is': {'appliesTo': null, 'memberOf': null}, + 'rf_re': {'appliesTo': null, 'memberOf': null}, + '_P': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ad024f4b0007706d639f6b6214d5a2621963681b': { + 'name': 'ad024f4b0007706d639f6b6214d5a2621963681b', + 'schema_json': { + 'A::A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::A::a', 'id': '8'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::A::a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::A::a', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::A::a', 'id': ':'}, + 'resource': {'type': 'A::A::a', 'id': ':'}, + 'action': {'type': 'A::A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '41b3249bc82e1922148ebe40da27638a1d8f3e45': { + 'name': '41b3249bc82e1922148ebe40da27638a1d8f3e45', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'fffffffffFf': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'I': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'fffffffffFf'}, + 'context': {'I': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a15680bd683336a6602a2981a21b7d49bd4e9aae': { + 'name': 'a15680bd683336a6602a2981a21b7d49bd4e9aae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vh': { + 'memberOfTypes': ['r33338330'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r33338330': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vh', 'r33338330'], + 'principalTypes': ['r33338330'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r33338330', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r33338330', 'id': '....'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vh', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r33338330', 'id': '....'}, + {'type': 'r33338330', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r33338330', 'id': '....'}, + 'resource': {'type': 'Vh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2af3948403ce9144fb57f1df45e657229368e1bb': { + 'name': '2af3948403ce9144fb57f1df45e657229368e1bb', + 'schema_json': { + 'r::rhBhLKKJJ033::r::i::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::rhBhLKKJJ033::r::i::r::a', 'id': ''}, + 'action': {'type': 'r::rhBhLKKJJ033::r::i::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '64e70607451f1279c40d6731740912bcc8b7db42': { + 'name': '64e70607451f1279c40d6731740912bcc8b7db42', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'x': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Extension', 'name': 'ipaddr', 'required': false}, + 'x': {'type': 'Extension', 'name': 'ipaddr', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['x'], + 'principalTypes': ['x'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9643313cfd96e483bd43192c666fb381bc00b9b7': { + 'name': '9643313cfd96e483bd43192c666fb381bc00b9b7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'KLKKJJ0': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': true}, + 'z': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'KLKKJJ0': '', 'r': '', 'z': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '71bac38d9141511e7691466bdfde0c88f66090a5': { + 'name': '71bac38d9141511e7691466bdfde0c88f66090a5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"L\\0\\0\\0\\0\\0\\u{2}\\u{1}\\0\\0\\0\\0\\0\\0\\0\\0\\u{11}s",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x11s' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'be49a30f3793be19e8fa9dfad276edc57705ac89': { + 'name': 'be49a30f3793be19e8fa9dfad276edc57705ac89', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'D655Cz': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'D655Cz': [false, true, true, false] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '82fd390d362297d194d6680a9d0022be50071447': { + 'name': '82fd390d362297d194d6680a9d0022be50071447', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'Qx': { + 'memberOfTypes': ['v', 'a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': ['a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['v', 'a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::v', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::Qx', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''}, + {'type': 'cP::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::Qx', 'id': 'z'}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''}, + {'type': 'cP::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '969daad086b33aad22548eea44163eb2895861f6': { + 'name': '969daad086b33aad22548eea44163eb2895861f6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e9c321ef900eaf29831efa839cb8f0ba5e431852': { + 'name': 'e9c321ef900eaf29831efa839cb8f0ba5e431852', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'T3z0': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['T3z0'], + 'principalTypes': ['T3z0'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'T3z0', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'T3z0', 'id': ''}, + 'resource': {'type': 'T3z0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '13080c2b5bf30ca368724495c797a520d073aa45': { + 'name': '13080c2b5bf30ca368724495c797a520d073aa45', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\0",\n action,\n resource\n) when {\n true && (6596969039609.containsAll(principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b5b8ae9492a59923e7dee4d59d378648b4b8c272': { + 'name': 'b5b8ae9492a59923e7dee4d59d378648b4b8c272', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"",\n action in [A::Action::"action",A::Action::"action"],\n resource == A::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': '\x01'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x01'}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bde9abe88143eac23364f5aa0e8bec52eb83b465': { + 'name': 'bde9abe88143eac23364f5aa0e8bec52eb83b465', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource == a::"@"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '@'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e1556236f75c560e53317db95265b0e5f0f65480': { + 'name': 'e1556236f75c560e53317db95265b0e5f0f65480', + 'schema_json': { + 'KhdRhhh': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'KhdRhhh::a', 'id': "'."}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'KhdRhhh::a', 'id': '.*..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'KhdRhhh::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'KhdRhhh::a', 'id': "'."}, + 'resource': {'type': 'KhdRhhh::a', 'id': "'."}, + 'action': {'type': 'KhdRhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1ba382ff356028e27023a3d08c87e642619f6fb6': { + 'name': '1ba382ff356028e27023a3d08c87e642619f6fb6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4acd3e6ff1141d938a2b678f182bc560e7512938': { + 'name': '4acd3e6ff1141d938a2b678f182bc560e7512938', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\r'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\r'}, + 'resource': {'type': 'a', 'id': '\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '532d64fb783c8001157622299aaf07604b074261': { + 'name': '532d64fb783c8001157622299aaf07604b074261', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@m("")\n@q("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f09fe818d8c4da7280302af3d2d73afcb4fa938a': { + 'name': 'f09fe818d8c4da7280302af3d2d73afcb4fa938a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'mzzzZz0z0bYdl': { + 'memberOfTypes': ['mzz'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'mzz': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['mzzzZz0z0bYdl', 'mzz'], + 'principalTypes': ['mzzzZz0z0bYdl', 'mzz'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mzz', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'mzz', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'resource': {'type': 'mzzzZz0z0bYdl', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ad3fbf26c2855d5aaf75f48b29b649bd05692a10': { + 'name': 'ad3fbf26c2855d5aaf75f48b29b649bd05692a10', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action == Action::"action",\n resource\n) when {\n true && a::"00"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1254cf8b49a82bad491ded018f8acb6aaa8005dc': { + 'name': '1254cf8b49a82bad491ded018f8acb6aaa8005dc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'Perf_registerNarf_registerNatives': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Perf_registerNarf_registerNatives'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '934d6737130d9efa9f8a803b797118cac84e6b73': { + 'name': '934d6737130d9efa9f8a803b797118cac84e6b73', + 'schema_json': { + 'G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in G::r::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'resource': {'type': 'G::r::a', 'id': '\x02:\x1A:+&6'}, + 'action': {'type': 'G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '18fee2407bdd9f8f63baa8d55a8044d5b0b60069': { + 'name': '18fee2407bdd9f8f63baa8d55a8044d5b0b60069', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0\\0",\n action == Action::"action",\n resource == a::"\\0\\0"\n) when {\n (true && (((8825501086240079994 == 0) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8755024362258be1b1485c414d7cb2d3a77bd3f4': { + 'name': '8755024362258be1b1485c414d7cb2d3a77bd3f4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00@'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4117e182dc897acdefc83bb0e8d17dad400d84b5': { + 'name': '4117e182dc897acdefc83bb0e8d17dad400d84b5', + 'schema_json': { + 'K::n33333x::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K::n33333x::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::n33333x::r::a', 'id': '\x1A:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::n33333x::r::a', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::n33333x::r::a', 'id': '6:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'resource': {'type': 'K::n33333x::r::a', 'id': '\x026'}, + 'action': {'type': 'K::n33333x::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '97ecdb5a989451af145fda48ed60b28661bf1130': { + 'name': '97ecdb5a989451af145fda48ed60b28661bf1130', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && (((a::"" - a::"\\0\\0\\0\\0]") - principal) - principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9b55589e73bf3330a31b529138b4a61a0a5918e0': { + 'name': '9b55589e73bf3330a31b529138b4a61a0a5918e0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00j'}, + 'attrs': {'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00j'}, + 'resource': {'type': 'a', 'id': '\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1e303b58dcbee74c4827290d2f66cd4040b54e09': { + 'name': '1e303b58dcbee74c4827290d2f66cd4040b54e09', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '(ff': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': '(ff'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7843f1ebab364d0464751c4e692049eebc7884b3': { + 'name': '7843f1ebab364d0464751c4e692049eebc7884b3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + } + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + } + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc2a101c4a38cafd034acbf494600294eec9b1e6': { + 'name': 'bc2a101c4a38cafd034acbf494600294eec9b1e6', + 'schema_json': { + 'q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'f\x06': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Record', + 'attributes': { + 'ff\x06': { + 'type': 'Record', + 'attributes': { + 'nsti\x003\x04nsti\x00': { + 'type': 'String', + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'q::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'f\x06'}, + 'context': { + 'G': { + 'ff\x06': {'nsti\x003\x04nsti\x00': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '95f3134308565c39162f625f739243a86608c8b0': { + 'name': '95f3134308565c39162f625f739243a86608c8b0', + 'schema_json': { + 'r::n::r::r::r::r::j::u::u::u::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::j::u::u::u::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::j::u::u::u::r::Action', + 'id': 'action' + }, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3af5c7c5f21236beb923bb3b497f21e215b05303': { + 'name': '3af5c7c5f21236beb923bb3b497f21e215b05303', + 'schema_json': { + 'l777Ixxjj3::r::r::N8xt22337': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'K00000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'resource': {'type': 'l777Ixxjj3::r::r::N8xt22337::a', 'id': ''}, + 'action': { + 'type': 'l777Ixxjj3::r::r::N8xt22337::Action', + 'id': 'action' + }, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '221b0697d387aa2a2b379ef1ed3c46c03dac89cb': { + 'name': '221b0697d387aa2a2b379ef1ed3c46c03dac89cb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'P': {'type': 'Boolean', 'required': false}, + 'r': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'P': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd4d0e75ce2a11931b27717f0628d176ba24ccb4f': { + 'name': 'd4d0e75ce2a11931b27717f0628d176ba24ccb4f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && "") && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8422992aa599755d03ee771d9916fe0aa5bcd2ba': { + 'name': '8422992aa599755d03ee771d9916fe0aa5bcd2ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource\n) when {\n ((true && ((false - (principal in principal)) in principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '082b486148964f32e28607e08eb5d34c5c37c382': { + 'name': '082b486148964f32e28607e08eb5d34c5c37c382', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1\x02'}, + 'resource': {'type': 'a', 'id': '1\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e22554bbfd7bd35ff8ad7ff836fb4328fd0f5201': { + 'name': 'e22554bbfd7bd35ff8ad7ff836fb4328fd0f5201', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'RRRR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3a23d32c802b205472c72110a5b81b20a505f7ef': { + 'name': '3a23d32c802b205472c72110a5b81b20a505f7ef', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"Ê«\\0",\n action in [Action::"action"],\n resource\n) when {\n (true && a::"") && (((principal <= principal) <= principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'Ê«\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a631815a860cf73e32d9e348beae43039df1c2cd': { + 'name': 'a631815a860cf73e32d9e348beae43039df1c2cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + 'un/': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'un/': 0} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'fff\x00'}, + 'attrs': { + 'A': {'un/': 0} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b860fa2c05cf6d66862e0e63a375a12f6dca9d45': { + 'name': 'b860fa2c05cf6d66862e0e63a375a12f6dca9d45', + 'schema_json': { + 'wttt': { + 'commonTypes': {}, + 'entityTypes': { + 'Bmii5h': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'VLjj0': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Bmii5h', 'VLjj0'], + 'principalTypes': ['Bmii5h', 'VLjj0'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'wttt::VLjj0', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '97d5107ff92205097024e3179e70162e2140609e': { + 'name': '97d5107ff92205097024e3179e70162e2140609e', + 'schema_json': { + 'mx7dx77::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in mx7dx77::r::a::"",\n action in [mx7dx77::r::Action::"action"],\n resource in mx7dx77::r::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mx7dx77::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mx7dx77::r::a', 'id': ''}, + 'resource': {'type': 'mx7dx77::r::a', 'id': ''}, + 'action': {'type': 'mx7dx77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0ef8dad0b5a647ae0a7c1dd48d2bfb403009d4eb': { + 'name': '0ef8dad0b5a647ae0a7c1dd48d2bfb403009d4eb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && principal) && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f2b88318e4e6b69694b1d6c16684f0fe0381683f': { + 'name': 'f2b88318e4e6b69694b1d6c16684f0fe0381683f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'om'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0a90677b3f0180d3edc9e4e2b9247c20fe6667cd': { + 'name': '0a90677b3f0180d3edc9e4e2b9247c20fe6667cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"ff\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '901a02b422d65d6962af1bed755f5590ba94563b': { + 'name': '901a02b422d65d6962af1bed755f5590ba94563b', + 'schema_json': { + 'K': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [K::Action::"action"],\n resource in K::a::"\\0j\\0\\u{8}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'K::a', 'id': '\x00'}, + 'resource': {'type': 'K::a', 'id': '\x00'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'resource': {'type': 'K::a', 'id': '\x00j\x00\b'}, + 'action': {'type': 'K::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bf589bae634b3e3a7f603883c65d4b1f99f417f3': { + 'name': 'bf589bae634b3e3a7f603883c65d4b1f99f417f3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"z&"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x020'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6cd716bec960cc0a84556d82e5f5475b59192344': { + 'name': '6cd716bec960cc0a84556d82e5f5475b59192344', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal == a::"BBB\\0",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'BBB\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'BBB\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f9067aaf3870c7c6c5cd39c764667deffb775362': { + 'name': 'f9067aaf3870c7c6c5cd39c764667deffb775362', + 'schema_json': { + 'l3333333367y': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['ryU84Fw'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'ryU84Fw': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'ryU84Fw'], + 'principalTypes': ['r', 'ryU84Fw'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l3333333367y::ryU84Fw', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'l3333333367y::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'l3333333367y::ryU84Fw', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l3333333367y::r', 'id': ''}, + 'resource': {'type': 'l3333333367y::r', 'id': ''}, + 'action': {'type': 'l3333333367y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b03022745562f50975056c368a84a733ddba5319': { + 'name': 'b03022745562f50975056c368a84a733ddba5319', + 'schema_json': { + 'w::A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'xdddRRRSd': { + 'type': 'Entity', + 'name': 'w::A::a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'w::A::a', 'id': 'fFff'}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fFff', 'type': 'w::A::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'w::A::a', 'id': ''}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fFff', 'type': 'w::A::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'w::A::a', 'id': 'fFff'}, + 'resource': {'type': 'w::A::a', 'id': 'fFff'}, + 'action': {'type': 'w::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '106c7942e09695b70e209e67e8df5655de990003': { + 'name': '106c7942e09695b70e209e67e8df5655de990003', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (((action == false) || (if principal then principal else principal)) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1a'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1a'}, + 'resource': {'type': 'a', 'id': '1a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '167da68a1884c31cd8bfdd2e7a2ac5e9a3ddea7c': { + 'name': '167da68a1884c31cd8bfdd2e7a2ac5e9a3ddea7c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': ['', ''] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': ['', '', '', '', '', '', ''] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '90ab10b8ca5fd556344310903fb0c83483339255': { + 'name': '90ab10b8ca5fd556344310903fb0c83483339255', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F_wwwwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F_wwwwww'], + 'principalTypes': ['F_wwwwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F_wwwwww', 'id': 'ml'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'F_wwwwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F_wwwwww', 'id': 'ml'}, + 'resource': {'type': 'F_wwwwww', 'id': 'ml'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '037991841bc058457fde347ac473efe52a2b0999': { + 'name': '037991841bc058457fde347ac473efe52a2b0999', + 'schema_json': { + 'R::Wj::R': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [R::Wj::R::Action::"action"],\n resource == R::Wj::R::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::Wj::R::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1eeb056842fdd78326d60a76db6c9ac2ca096d4a': { + 'name': '1eeb056842fdd78326d60a76db6c9ac2ca096d4a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (!(!(!false)))) && (!true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8f4a8dd71968997861794d08fc5a32d135f848ee': { + 'name': '8f4a8dd71968997861794d08fc5a32d135f848ee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n ((true && principal) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\b\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0b7e0114ef0d24841bd57f41a5914cbc114184dc': { + 'name': '0b7e0114ef0d24841bd57f41a5914cbc114184dc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource in a::"C"\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'C'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '05e975dcdf0bf583ff3e5326f7cbeeb9359aa016': { + 'name': '05e975dcdf0bf583ff3e5326f7cbeeb9359aa016', + 'schema_json': { + 'C::r': { + 'commonTypes': {}, + 'entityTypes': { + 'C32': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C32': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['C32'], + 'principalTypes': ['C32'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C::r::C32', 'id': ''}, + 'attrs': {'C32': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C::r::C32', 'id': ''}, + 'resource': {'type': 'C::r::C32', 'id': ''}, + 'action': {'type': 'C::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '563582cd5ea55ce28d1f6d2e6a096baac5cf10ab': { + 'name': '563582cd5ea55ce28d1f6d2e6a096baac5cf10ab', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A000000000000("")\n@g("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b060c814a9da144f7c44fecc61aa19c899e14908': { + 'name': 'b060c814a9da144f7c44fecc61aa19c899e14908', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && (!"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '2'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '388e55628e201183633520a571bee2ea8e44f70a': { + 'name': '388e55628e201183633520a571bee2ea8e44f70a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x05\x05\x05': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x05\x05': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x05\x05\x05'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d9c579f9c3a81af0f81f4fc66fa8164ff39a0b6': { + 'name': '9d9c579f9c3a81af0f81f4fc66fa8164ff39a0b6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n ((true && (((false like "05312") in principal) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c9451af914da80278adceae4b34153a068f7d572': { + 'name': 'c9451af914da80278adceae4b34153a068f7d572', + 'schema_json': { + 'FwwwQwww::A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'AY00000000': {'type': 'String', 'required': false}, + 'DlcYqrwwww': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'resource': {'type': 'FwwwQwww::A::a', 'id': ''}, + 'action': {'type': 'FwwwQwww::A::Action', 'id': 'action'}, + 'context': {'AY00000000': '', 'DlcYqrwwww': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '288e7853fae2ea13998c5bbff4380fa4736d05bd': { + 'name': '288e7853fae2ea13998c5bbff4380fa4736d05bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"O\\u{2}@\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}+\\0\\0\\0\\0\\0",\n action == Action::"action",\n resource == a::"O\\u{2}@\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}+\\0\\0\\0\\0\\0"\n) when {\n (true && ((principal == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'O\x02@\x02\x02\x02\x02\x02\x02+\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'cf04c3babc42128066c12b2e61fc3f1e4f361333': { + 'name': 'cf04c3babc42128066c12b2e61fc3f1e4f361333', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"j\\u{10}::::ov\\0\\0",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x10::::ov\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ce2e4c92116904b0fb6d9e3a5f5fbf168d05b7d9': { + 'name': 'ce2e4c92116904b0fb6d9e3a5f5fbf168d05b7d9', + 'schema_json': { + 'C2z': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == C2z::a::"",\n action in [C2z::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C2z::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C2z::a', 'id': '\x02\x02\x00\x02\x02\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C2z::a', 'id': '\x02\x02\x00\x02\x02\x00'}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C2z::a', 'id': ''}, + 'resource': {'type': 'C2z::a', 'id': ''}, + 'action': {'type': 'C2z::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2e1ce51bfdf8340949c83d5216899ead6d0cff7b': { + 'name': '2e1ce51bfdf8340949c83d5216899ead6d0cff7b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Ahh': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00&.'}, + 'attrs': {'Ahh': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {'Ahh': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x13.'}, + 'attrs': {'Ahh': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Ahh': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a92907a4bd628ee45bc5da47bfc4724281b772d7': { + 'name': 'a92907a4bd628ee45bc5da47bfc4724281b772d7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Record', + 'attributes': { + 'ff\x06': { + 'type': 'Record', + 'attributes': { + 'fny/': { + 'type': 'Entity', + 'name': 'a', + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + 'ff\x06': { + 'fny/': { + '__entity': {'id': '', 'type': 'a'} + } + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fb09e70cc5feb386582051b75d829fc2efe22b65': { + 'name': 'fb09e70cc5feb386582051b75d829fc2efe22b65', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::":::::\\0",\n action,\n resource in a::":::::\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::::\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'o'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::::\x00'}, + 'resource': {'type': 'a', 'id': ':::::\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0197f1506d505e1f9364e4379bbeeb8d8b38d482': { + 'name': '0197f1506d505e1f9364e4379bbeeb8d8b38d482', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\n\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '55d14b8867ce5ed85dd8f30e97a54cd834e77627': { + 'name': '55d14b8867ce5ed85dd8f30e97a54cd834e77627', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (if ((false == principal) <= (7378697629483877990 has "")) then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8f90c7fe8af50938e13e7bef3d60bf4bc236c773': { + 'name': '8f90c7fe8af50938e13e7bef3d60bf4bc236c773', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'vh': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7e5967a70a851c46c4de2ce306b3654d2dfc8be4': { + 'name': '7e5967a70a851c46c4de2ce306b3654d2dfc8be4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'lyyUIKldYqrc': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'l/jackst': { + 'appliesTo': { + 'resourceTypes': ['lyyUIKldYqrc'], + 'principalTypes': ['lyyUIKldYqrc'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'lyyUIKldYqrc', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '43aff70f1e13f9c08aa33ae1b7987b641816ffd0': { + 'name': '43aff70f1e13f9c08aa33ae1b7987b641816ffd0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A000': {'type': 'String', 'required': false}, + 'A333': {'type': 'String', 'required': false}, + 'C': {'type': 'String', 'required': false}, + 'QxH1': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C': '', 'QxH1': '', 'A000': '', 'A333': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '231aa19c98e274060191f11f908374c00596c59d': { + 'name': '231aa19c98e274060191f11f908374c00596c59d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::":A:",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':A:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':A:'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':A:'}, + 'resource': {'type': 'a', 'id': ':A:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':A:'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '85e91c7c564be966dcd647fe9514670cc398150b': { + 'name': '85e91c7c564be966dcd647fe9514670cc398150b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j\x00\x00# \x04\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j\x00\x00# \x04\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f8006bb12f37cc2836361c259c0eec34c848dd2c': { + 'name': 'f8006bb12f37cc2836361c259c0eec34c848dd2c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n (true && (2207646909058 && principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e982bc050bb9f03096c23f181f5580d3de9de43e': { + 'name': 'e982bc050bb9f03096c23f181f5580d3de9de43e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': ['u'] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': ['', '', ''] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1d316f9503f9b1bfbca657dac937d7ff65e1c357': { + 'name': '1d316f9503f9b1bfbca657dac937d7ff65e1c357', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"0",\n action == Action::"action",\n resource == a::"0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': 'm\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c54edb50fe03f03ae8ff1b2c65d81471b079062': { + 'name': '1c54edb50fe03f03ae8ff1b2c65d81471b079062', + 'schema_json': { + 'K::FwwwwGww::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K::FwwwwGww::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::FwwwwGww::r::a', 'id': ':c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::FwwwwGww::r::a', 'id': 'rx'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'K::FwwwwGww::r::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'resource': {'type': 'K::FwwwwGww::r::a', 'id': ':z:::'}, + 'action': {'type': 'K::FwwwwGww::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e3a072a600dd8a6a3b7b100427c15066f1f4abb6': { + 'name': 'e3a072a600dd8a6a3b7b100427c15066f1f4abb6', + 'schema_json': { + 'stYWqsx': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'rhhmmlq': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'l': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'stYWqsx::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'stYWqsx::a', 'id': ''}, + 'action': {'type': 'stYWqsx::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '17c44f45cb8cddea6e0db0604a9ef71731a517cc': { + 'name': '17c44f45cb8cddea6e0db0604a9ef71731a517cc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource in a::"\\00rg"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'bafc7b19b6fb6e468a21d8fd17c07b3676f7e568': { + 'name': 'bafc7b19b6fb6e468a21d8fd17c07b3676f7e568', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Reeedd000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '127182b2ecd666d9f19c637648c660463069f3b1': { + 'name': '127182b2ecd666d9f19c637648c660463069f3b1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a54477fd5e4b8306848f0e5733814928756cc9b4': { + 'name': 'a54477fd5e4b8306848f0e5733814928756cc9b4', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'Khhkkk': { + 'memberOfTypes': ['K'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Khhkkk', 'K'], + 'principalTypes': ['Khhkkk', 'K'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::K', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::Khhkkk', 'id': '.'}, + 'attrs': {}, + 'parents': [ + {'type': 'A::K', 'id': ''} + ] + }, + { + 'uid': {'type': 'A::Khhkkk', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A::K', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::Khhkkk', 'id': '.'}, + 'resource': {'type': 'A::Khhkkk', 'id': '.'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e7d5f6bfb9f8404d376c144399022396b497521c': { + 'name': 'e7d5f6bfb9f8404d376c144399022396b497521c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e961f5f47e679e6c692e2b3b38d8d52534ff5a20': { + 'name': 'e961f5f47e679e6c692e2b3b38d8d52534ff5a20', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'M': {'type': 'String', 'required': false}, + 'n': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + }, + 'r': {'type': 'String', 'required': false}, + 'vgltmiclww00': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'r': '', 'vgltmiclww00': '', 'n': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e8f0cccf91fd4e442aee6bf2ab24d493b7dcb0d3': { + 'name': 'e8f0cccf91fd4e442aee6bf2ab24d493b7dcb0d3', + 'schema_json': { + 'bHHHHHHHHH::Kxxxnxx': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'cnpmx': { + 'type': 'Entity', + 'name': 'bHHHHHHHHH::Kxxxnxx::a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'attrs': { + 'cnpmx': { + '__entity': {'id': '', 'type': 'bHHHHHHHHH::Kxxxnxx::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'resource': {'type': 'bHHHHHHHHH::Kxxxnxx::a', 'id': ''}, + 'action': {'type': 'bHHHHHHHHH::Kxxxnxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'acc5004eda3202c7270bbf092480ee6c4fb15ace': { + 'name': 'acc5004eda3202c7270bbf092480ee6c4fb15ace', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'j': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'j': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1f041b1bc18a6b2b3f1ec00b9781f18a1dfe9dd3': { + 'name': '1f041b1bc18a6b2b3f1ec00b9781f18a1dfe9dd3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'resource': { + 'type': 'a', + 'id': + 'ff\x00\x00\x00&\x03\x00\x00\x00\x00r\x00\x00\x03\x00ff\x00\x00&(\x00R' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '819d534f87b8929fa9df96a378fa6ca599e0e149': { + 'name': '819d534f87b8929fa9df96a378fa6ca599e0e149', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'h': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': false + }, + 'k203kiJ0k': {'type': 'String', 'required': false}, + 'r3': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A00': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': '', 'h': [], 'k203kiJ0k': '', 'r3': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8a8125be5758ac323d48e23f26efec75cceae6b8': { + 'name': '8a8125be5758ac323d48e23f26efec75cceae6b8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action,\n resource in a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '7356322h\x00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aae2794d09b22b46bd014d7a8c820d070ed730ea': { + 'name': 'aae2794d09b22b46bd014d7a8c820d070ed730ea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '98e6e486d0a985498b74fb69703ff9dbe397e965': { + 'name': '98e6e486d0a985498b74fb69703ff9dbe397e965', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '/gqrcJ['}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b767b9745f8381d0b00264149e5683504bf463ce': { + 'name': 'b767b9745f8381d0b00264149e5683504bf463ce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ZZ\n'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '0z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zzzz!'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'z\nRzzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z\nRzzz'}, + 'resource': {'type': 'a', 'id': 'z\nRzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '269a223b4f6b39933ab85bfd2f5412cda75d5580': { + 'name': '269a223b4f6b39933ab85bfd2f5412cda75d5580', + 'schema_json': { + 'vlgmuw9ud::xw0g05': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in vlgmuw9ud::xw0g05::a::"",\n action in [vlgmuw9ud::xw0g05::Action::"action",vlgmuw9ud::xw0g05::Action::"action"],\n resource in vlgmuw9ud::xw0g05::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'resource': {'type': 'vlgmuw9ud::xw0g05::a', 'id': ''}, + 'action': {'type': 'vlgmuw9ud::xw0g05::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '20d8b3c7fb59a601bc5818c21286e9e25742e0b5': { + 'name': '20d8b3c7fb59a601bc5818c21286e9e25742e0b5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"\\0\$%%\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\$%%\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a663996b98bd10c0501c4e6b1114a59c1df7ab42': { + 'name': 'a663996b98bd10c0501c4e6b1114a59c1df7ab42', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A0000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '442b4554c995e3a939dfb9c9a8c6dbecb8fa5688': { + 'name': '442b4554c995e3a939dfb9c9a8c6dbecb8fa5688', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'lz6D5zxyzzzzz': { + 'type': 'Record', + 'attributes': { + '1': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '\x14': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'lz6D5zxyzzzzz': { + '1': {'': '', '\x14': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '016bc58b487d6a1ae58c2472ef0c51b282c17e65': { + 'name': '016bc58b487d6a1ae58c2472ef0c51b282c17e65', + 'schema_json': { + '_m0000w3qwwwwwg::Du2xxu': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'resource': {'type': '_m0000w3qwwwwwg::Du2xxu::a', 'id': ''}, + 'action': {'type': '_m0000w3qwwwwwg::Du2xxu::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3e80eb97896da06eadf20906b9e82cd670e0eb62': { + 'name': '3e80eb97896da06eadf20906b9e82cd670e0eb62', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00:::::' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '274f63c71d3849f3100d4100b20c3da8832edc98': { + 'name': '274f63c71d3849f3100d4100b20c3da8832edc98', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && r::"z\\u{2}"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9e4215d3d845b1c2c2ed582e46dd53c55c74b1ec': { + 'name': '9e4215d3d845b1c2c2ed582e46dd53c55c74b1ec', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': '.'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': 'k'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': '.'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ae7ff96bdcaf6552d9f0763e382daa001b6cdb40': { + 'name': 'ae7ff96bdcaf6552d9f0763e382daa001b6cdb40', + 'schema_json': { + 'mzzzzzcYdlw7z::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'resource': {'type': 'mzzzzzcYdlw7z::r::a', 'id': ''}, + 'action': {'type': 'mzzzzzcYdlw7z::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '16271aaed3d2383487a702432cab7c1dab719c80': { + 'name': '16271aaed3d2383487a702432cab7c1dab719c80', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'm8888G000m0': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['m8888G000m0'], + 'principalTypes': ['m8888G000m0'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm8888G000m0', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm8888G000m0', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm8888G000m0', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm8888G000m0', 'id': ':'}, + 'resource': {'type': 'm8888G000m0', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2092fbd08967045da86af33b2147cb4305f65ca2': { + 'name': '2092fbd08967045da86af33b2147cb4305f65ca2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'resource': { + 'type': 'Kfhhhhh', + 'id': '\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7e650f77996e5262f09093185cb7a9ff74935036': { + 'name': '7e650f77996e5262f09093185cb7a9ff74935036', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n ((true && (!(false + (Bnm0000000000000::"" in principal)))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e89ff546eee4c6b8ce6214b1fb44a8ac0922e1a7': { + 'name': 'e89ff546eee4c6b8ce6214b1fb44a8ac0922e1a7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'or'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x7Ft'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'g\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01S'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'om'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'g/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c41c9469c2df291a3ad39308ebd42a2a7c41092': { + 'name': '1c41c9469c2df291a3ad39308ebd42a2a7c41092', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"j",\n action in [Action::"action"],\n resource in a::"j"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'db4a721afbe45d420d3ec127d35435c49e0813df': { + 'name': 'db4a721afbe45d420d3ec127d35435c49e0813df', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\u{1a}s",\n action in [Action::"action",Action::"action"],\n resource in a::"\\u{1a}s"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x1As'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x1As'}, + 'resource': {'type': 'a', 'id': '\x1As'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '89127cdc11bcd048f4ca03485eabd7f6dbf18cb9': { + 'name': '89127cdc11bcd048f4ca03485eabd7f6dbf18cb9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'C': {'type': 'Boolean', 'required': false}, + 'o': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'PTL::'}, + 'attrs': {'C': false, 'A': false, 'o': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'C': false, 'A': false, 'o': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '*'}, + 'attrs': {'C': false, 'o': false, 'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'PTL::'}, + 'resource': {'type': 'a', 'id': 'PTL::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3b5c2e23156d25cb6edb89b64ac639cce1d65bb3': { + 'name': '3b5c2e23156d25cb6edb89b64ac639cce1d65bb3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (if (0.contains(principal)) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'caa9c09c494d1fe4e3afd20fe702cef632f492b0': { + 'name': 'caa9c09c494d1fe4e3afd20fe702cef632f492b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n (true && ((("" == "") == ("" == "")) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7de7df399c3a3d595019128b600198bd0bb368ef': { + 'name': '7de7df399c3a3d595019128b600198bd0bb368ef', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'ff': {'appliesTo': null, 'memberOf': null}, + '': {'appliesTo': null, 'memberOf': null}, + '*': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '615239be881909941babb336171be8d781444b20': { + 'name': '615239be881909941babb336171be8d781444b20', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00&>>>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '74cb1c7bc7c5cd009274db3878641b5f68615989': { + 'name': '74cb1c7bc7c5cd009274db3878641b5f68615989', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n (true && (((principal <= principal) <= principal) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '211dc14823e42409dac2149cd417c42a96ad49e1': { + 'name': '211dc14823e42409dac2149cd417c42a96ad49e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0::*::",\n action in [Action::"action"],\n resource in a::"\\0\\0\\0::*::"\n) when {\n (true && (!(!(!false)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::*::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd5eea9e4cbdd9d1bb0d1a310ea9722fa8aef6438': { + 'name': 'd5eea9e4cbdd9d1bb0d1a310ea9722fa8aef6438', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'K': {'type': 'String', 'required': false}, + 'r': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '\n': {'type': 'Boolean', 'required': false}, + ':': {'type': 'Boolean', 'required': false}, + '::': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', '\n': false, ':': false, '::': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '001da0d96e1d1296182b6818ba28cf8603a22ae3': { + 'name': '001da0d96e1d1296182b6818ba28cf8603a22ae3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::""\n) when {\n true && 250084997690\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c8038441b7a3773023463c49719d465909d868d6': { + 'name': 'c8038441b7a3773023463c49719d465909d868d6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x1F': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1F'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1F'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '28c81f40923f9bed77b1554dd71f0c13d0d0a08d': { + 'name': '28c81f40923f9bed77b1554dd71f0c13d0d0a08d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bff74d1463f86358c828c6b42b08169133d7a9e8': { + 'name': 'bff74d1463f86358c828c6b42b08169133d7a9e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'Bhh00': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'Bhh00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c6f43b856eef1bb3d96c6dc51e54d4c46672842b': { + 'name': 'c6f43b856eef1bb3d96c6dc51e54d4c46672842b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '89b555f9830641f8a81b973563f6a7a96ec9751f': { + 'name': '89b555f9830641f8a81b973563f6a7a96ec9751f', + 'schema_json': { + 'v::OMRR': { + 'commonTypes': {}, + 'entityTypes': { + 'Qx': { + 'memberOfTypes': ['v'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Qx', 'v'], + 'principalTypes': ['Qx', 'v'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::OMRR::v', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'v::OMRR::Qx', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'v::OMRR::v', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::OMRR::Qx', 'id': ''}, + 'resource': {'type': 'v::OMRR::Qx', 'id': ''}, + 'action': {'type': 'v::OMRR::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '715b64a2f2bfe9838dd219497fd43af7a945e63b': { + 'name': '715b64a2f2bfe9838dd219497fd43af7a945e63b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '44d2138de0cacab9b03c955cc57d50a516fbf855': { + 'name': '44d2138de0cacab9b03c955cc57d50a516fbf855', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'W': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@U("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '7\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'W': 'neinfo/.'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7876eafee5c27b4be49c894923a72008dd32edc5': { + 'name': '7876eafee5c27b4be49c894923a72008dd32edc5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && a::"\\0") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3bd634896540861f1eaa5dced860ca24b38ce552': { + 'name': '3bd634896540861f1eaa5dced860ca24b38ce552', + 'schema_json': { + 'Kxx0xnx': { + 'commonTypes': {}, + 'entityTypes': { + 'LYY': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Edml': { + 'memberOfTypes': ['Qml', 'LYY'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Qml': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Edml', 'Qml', 'LYY'], + 'principalTypes': ['Edml', 'Qml', 'LYY'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kxx0xnx::LYY', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kxx0xnx::Qml', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Kxx0xnx::LYY', 'id': ''}, + {'type': 'Kxx0xnx::Qml', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b56a215cc72585d6691218771c28bbfd40bad2bd': { + 'name': 'b56a215cc72585d6691218771c28bbfd40bad2bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && a::":::&::"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::&::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::&::'}, + 'resource': {'type': 'a', 'id': ':::&::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '19fbe4b90f1e0114f2201dbe7bbf8e943cf7bd00': { + 'name': '19fbe4b90f1e0114f2201dbe7bbf8e943cf7bd00', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && (!(!(!"")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'lac'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ac2dd4eee2aebd24d6f979a378eb7aee76453ae2': { + 'name': 'ac2dd4eee2aebd24d6f979a378eb7aee76453ae2', + 'schema_json': { + 'r': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'FwwwwwPwss': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwwwwwPwss', 'n', 'r'], + 'principalTypes': ['FwwwwwPwss', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::n', 'id': ''}, + {'type': 'r::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'resource': {'type': 'r::FwwwwwPwss', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9a6a17759f9a7ae0dbe084623918cbcb1325b548': { + 'name': '9a6a17759f9a7ae0dbe084623918cbcb1325b548', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x11\x11\x11\x11\x01': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'VSjj0': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x13'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': '\x11\x11\x11\x11\x01'}, + 'context': {'VSjj0': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '138f76b366b2306738303807e1936a89f7f2762b': { + 'name': '138f76b366b2306738303807e1936a89f7f2762b', + 'schema_json': { + 'A000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == A000::a::"",\n action in [A000::Action::"action"],\n resource\n) when {\n (true && (if (principal.isLoopback()) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a7848e613881d5c8ef76a9b4d2daaf5391f604ca': { + 'name': 'a7848e613881d5c8ef76a9b4d2daaf5391f604ca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource\n) when {\n (true && ((("".isInRange("R")) < principal) < principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8b4d407be8a95d636f719051caba1509fa2828f4': { + 'name': '8b4d407be8a95d636f719051caba1509fa2828f4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\01\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2f323549a312eb48a4a6d247e1d27bf876d9c394': { + 'name': '2f323549a312eb48a4a6d247e1d27bf876d9c394', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'v)\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd18bd41ab202db204cea1f32221d6eaf35d8cd9': { + 'name': 'bd18bd41ab202db204cea1f32221d6eaf35d8cd9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0\\0FFFFF\\0\\0",\n action in [Action::"action"],\n resource == a::"\\0\\0FFFFF\\0\\0"\n) when {\n ((true && 4605510) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFF\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f02c1a74821e12d19cc295e9839d01b459d8054e': { + 'name': 'f02c1a74821e12d19cc295e9839d01b459d8054e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\0",\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n (true && {}) && (!{})\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fac24523ee7d9a3a3dc192bf6fac1a15ac3aa723': { + 'name': 'fac24523ee7d9a3a3dc192bf6fac1a15ac3aa723', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [],\n resource in a::"00"\n) when {\n ((true && (a::"00" == ((principal - principal) - principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6102eb6b6bec792e748119b6fc853aba1ec23c48': { + 'name': '6102eb6b6bec792e748119b6fc853aba1ec23c48', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\00",\n action in [Action::"action"],\n resource in a::"\\00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '91p'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '00b19b8455bdc9522d984d038cc104096619802b': { + 'name': '00b19b8455bdc9522d984d038cc104096619802b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '0)': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '0': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"0"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9d055ffb9a194011c48662c8392cb91f0b1c4fc2': { + 'name': '9d055ffb9a194011c48662c8392cb91f0b1c4fc2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'fff:::::::::ffff\x03\x00\x00\x00\x00r\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3c41a82958bcbdb29cbf5f6484151423d17f73d8': { + 'name': '3c41a82958bcbdb29cbf5f6484151423d17f73d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action,\n resource in a::"\\u{2}1"\n) when {\n ((true && a::"\\u{2}1") && false) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '42f94343b4cf31a6b829959eee9a00f26622c9f6': { + 'name': '42f94343b4cf31a6b829959eee9a00f26622c9f6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && ("]" == "")\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f25cab814507b52116d2e544ef7e3e940c2161a0': { + 'name': 'f25cab814507b52116d2e544ef7e3e940c2161a0', + 'schema_json': { + 'TYYY::Lxm::Kxxx0xn': { + 'commonTypes': {}, + 'entityTypes': { + 'EYml': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['EYml'], + 'principalTypes': ['EYml'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'resource': {'type': 'TYYY::Lxm::Kxxx0xn::EYml', 'id': 'zz'}, + 'action': {'type': 'TYYY::Lxm::Kxxx0xn::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f31b4fb7b9b4a7aafbc4b4c41675786c96e707f8': { + 'name': 'f31b4fb7b9b4a7aafbc4b4c41675786c96e707f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00`00\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '00`00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '55bc710e6e16941d5fb9a7ea274bb847b6ea1492': { + 'name': '55bc710e6e16941d5fb9a7ea274bb847b6ea1492', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '='}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '='}, + 'resource': {'type': 'a', 'id': '='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '='}, + 'resource': {'type': 'a', 'id': '='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '='}, + 'resource': {'type': 'a', 'id': '='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '='}, + 'resource': {'type': 'a', 'id': '='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '='}, + 'resource': {'type': 'a', 'id': '='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1e2a004e023d395b498c548942b5706371bd5e58': { + 'name': '1e2a004e023d395b498c548942b5706371bd5e58', + 'schema_json': { + 'p6666666': { + 'commonTypes': {}, + 'entityTypes': { + 'r3a': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r3a', 'r'], + 'principalTypes': ['r3a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'p6666666::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'p6666666::r3a', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'p6666666::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'p6666666::r3a', 'id': ''}, + 'resource': {'type': 'p6666666::r3a', 'id': ''}, + 'action': {'type': 'p6666666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ff09477226aef69a6b55bec714847f7758466e90': { + 'name': 'ff09477226aef69a6b55bec714847f7758466e90', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource == a::"\\u{2}1"\n) when {\n (true && (Action::"action" == principal)) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7715f3baa9f05ec3f8031da871969c004074be89': { + 'name': '7715f3baa9f05ec3f8031da871969c004074be89', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c16bf1576fc516da59b95787c4e86e22bceaa2f2': { + 'name': 'c16bf1576fc516da59b95787c4e86e22bceaa2f2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x05'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7b01b2db594cc56ad84353cc76e1fdad524005db': { + 'name': '7b01b2db594cc56ad84353cc76e1fdad524005db', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (action in (principal == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFF'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1f2be35f573d7d1955f3a95af4f940cc6f4fe290': { + 'name': '1f2be35f573d7d1955f3a95af4f940cc6f4fe290', + 'schema_json': { + 'n::g::F::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == n::g::F::r::a::"",\n action in [n::g::F::r::Action::"action"],\n resource\n) when {\n ((true && (if principal then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'n::g::F::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'n::g::F::r::a', 'id': ''}, + 'resource': {'type': 'n::g::F::r::a', 'id': ''}, + 'action': {'type': 'n::g::F::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7e545a5af2c43e384fee0bb2520166cc2a89f0b7': { + 'name': '7e545a5af2c43e384fee0bb2520166cc2a89f0b7', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"\\0",\n action in [A::Action::"action",A::Action::"action",A::Action::"action"],\n resource in A::a::"\\0"\n) when {\n true && (!(!(!A::a::"\\0")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cd68929ac20c52e6a5b9f212a83241ae6638e5ae': { + 'name': 'cd68929ac20c52e6a5b9f212a83241ae6638e5ae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && "") && a::"\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '.'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '.'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9dfb0e9489663d11ba0b18dc6c295586054d890f': { + 'name': '9dfb0e9489663d11ba0b18dc6c295586054d890f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && ((decimal(false in false)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e546a99cd59df815788e4c43d591eeeef5595c99': { + 'name': 'e546a99cd59df815788e4c43d591eeeef5595c99', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x0666': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"\\u{6}66",Action::""],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': '\x0666'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '525e966b4ded22f5b2de78026a3ffab45249c626': { + 'name': '525e966b4ded22f5b2de78026a3ffab45249c626', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '#'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c0dcf2fe310fe43127a335434b687a3838a12e79': { + 'name': 'c0dcf2fe310fe43127a335434b687a3838a12e79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'V': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'Vnio::': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'V': 'un/nio::'}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4a5b990163e9e5713bcaaf635d3556508760cced': { + 'name': '4a5b990163e9e5713bcaaf635d3556508760cced', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'o': {'type': 'Long', 'required': true}, + 'r': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 49, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'o': 0, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3f83703d388cd9b69ca17c95a29a89cadff67ba4': { + 'name': '3f83703d388cd9b69ca17c95a29a89cadff67ba4', + 'schema_json': { + 'A0': { + 'commonTypes': {}, + 'entityTypes': { + 'FwwwU': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'l': { + 'memberOfTypes': ['FwwwU', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwwwU', 'r'], + 'principalTypes': ['FwwwU'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0::l', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A0::FwwwU', 'id': ''}, + {'type': 'A0::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A0::FwwwU', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A0::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A0::r', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0::FwwwU', 'id': ''}, + 'resource': {'type': 'A0::FwwwU', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '14b98c1a51be833bbaf6cb341851e2ff30a8223b': { + 'name': '14b98c1a51be833bbaf6cb341851e2ff30a8223b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && (a::"" like "N*tiv")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f082fa77996aec4e5fdc12b347a8b8336cb24b21': { + 'name': 'f082fa77996aec4e5fdc12b347a8b8336cb24b21', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c17e0eacd91a90aef1f5a41cd0c44cb32814bd4c': { + 'name': 'c17e0eacd91a90aef1f5a41cd0c44cb32814bd4c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\nforbid(\n principal,\n action,\n resource\n) when {\n ((true && [m0000000000000::"", principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd4d27c36fd7c9c018ad27a106fa99044a7cc1c69': { + 'name': 'd4d27c36fd7c9c018ad27a106fa99044a7cc1c69', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"(0",\n action in [Action::"action",Action::"action"],\n resource == a::"(0"\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '(0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'cc28740c4d1065a1f7db2d69103dea6bd50cbb4e': { + 'name': 'cc28740c4d1065a1f7db2d69103dea6bd50cbb4e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n true && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'om'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6f09236a6b94b54ed6bde936d3a073a02a6a6376': { + 'name': '6f09236a6b94b54ed6bde936d3a073a02a6a6376', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"",\n resource\n) when {\n (true && action) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '074909fdcb280e369e36bfc125632c8898d151af': { + 'name': '074909fdcb280e369e36bfc125632c8898d151af', + 'schema_json': { + 'r::A::y': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in r::A::y::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::A::y::a', 'id': 'zF6w'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::A::y::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::A::y::a', 'id': '\x00'}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::A::y::a', 'id': ''}, + 'resource': {'type': 'r::A::y::a', 'id': ''}, + 'action': {'type': 'r::A::y::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8ce9a85da746c9c606aa228be7b25a7639142db2': { + 'name': '8ce9a85da746c9c606aa228be7b25a7639142db2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '227e92bfe69a4c847df6ca869e01c1ac1038e5e9': { + 'name': '227e92bfe69a4c847df6ca869e01c1ac1038e5e9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'K': {'type': 'String', 'required': false}, + 'r': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + ':': {'type': 'String', 'required': false}, + '::\x00jjj\n': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r': {'': '', ':': '', '::\x00jjj\n': ''}, + 'K': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '10bda01fb6c34dcedb5838eec5c05901d946b6a8': { + 'name': '10bda01fb6c34dcedb5838eec5c05901d946b6a8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\n\x00\x00\x00\x00\x00\x00\x00ffffffbffff*f*\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fcfdf92babb9d6b8a7837c7b11cf923d74b43e52': { + 'name': 'fcfdf92babb9d6b8a7837c7b11cf923d74b43e52', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource == a::""\n) when {\n (true && (8827056895198657146 == ((122 == principal) == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '54dc49893ab1147dc7febeda5d35646d75f9279a': { + 'name': '54dc49893ab1147dc7febeda5d35646d75f9279a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n true && ((!a::"") in ((!principal) in principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1dbfb0d25adfd0ba48b9759273247ce82f8da3e5': { + 'name': '1dbfb0d25adfd0ba48b9759273247ce82f8da3e5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '524afc45d7c82b68c02d19e48f6575c957849644': { + 'name': '524afc45d7c82b68c02d19e48f6575c957849644', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': { + 'F': [ + [false, false], + [] + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [ + [true, true, false, false], + [], + [], + [true, false, false, false, false] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9b5808be68fa4ade27c2dd719d8d3bed024c0efb': { + 'name': '9b5808be68fa4ade27c2dd719d8d3bed024c0efb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Entity', 'name': 'a', 'required': false}, + 'vYh': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vYh': { + '__entity': {'id': '', 'type': 'a'} + }, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5ee1f9276f5872c28f3003f06fe42996c9977589': { + 'name': '5ee1f9276f5872c28f3003f06fe42996c9977589', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (-(true))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3610428c0e69a6c0d117385bb428d90b87727d08': { + 'name': '3610428c0e69a6c0d117385bb428d90b87727d08', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n (true && (if ((234 <= context) || principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5d14d9f3cd916cbfb24b2847d264e5d26ea36026': { + 'name': '5d14d9f3cd916cbfb24b2847d264e5d26ea36026', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && a::"") && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5475596bc50659d884313c90631726e19cd0e04d': { + 'name': '5475596bc50659d884313c90631726e19cd0e04d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': r'$'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'y\x00'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x15::'}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x15::'}, + 'resource': {'type': 'a', 'id': '\x15::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '55448823844281a98febe12f7427961cd1dab4ba': { + 'name': '55448823844281a98febe12f7427961cd1dab4ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n true && (true == false)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'd'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'd'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '47dbe8f3bf73363d3c54f85eaacb8e4cf09e4851': { + 'name': '47dbe8f3bf73363d3c54f85eaacb8e4cf09e4851', + 'schema_json': { + 'r::r::r::P::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '0': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::P::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::P::r::Action', 'id': '0'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bfe1530e6c63665594f5a9552b1a49b8e6446e2f': { + 'name': 'bfe1530e6c63665594f5a9552b1a49b8e6446e2f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'imsm': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Ctmmust("")\n@xn00000000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'imsm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2b10dbdef1754d180cb4858be9dcff0cd3be653e': { + 'name': '2b10dbdef1754d180cb4858be9dcff0cd3be653e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + 'u\x00\x00:': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'fff'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'fff'}, + 'resource': {'type': 'a', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3e9e94546d3cebfdefdb52c437e3a7b91a38fcca': { + 'name': '3e9e94546d3cebfdefdb52c437e3a7b91a38fcca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (if ["" == "", 0 == principal] then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd2d070eea367ec82a3ccfbba21a7585c51cb63a3': { + 'name': 'd2d070eea367ec82a3ccfbba21a7585c51cb63a3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2d3208bd996226a839e67bb936b7a0311fa45e5f': { + 'name': '2d3208bd996226a839e67bb936b7a0311fa45e5f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'R': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'R': 'z0Nz_zzzz655\x01\x00*:\x00\x00\x00V:/\n\x02'}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8ae73555cca905ef154d5b974b2882911b10c013': { + 'name': '8ae73555cca905ef154d5b974b2882911b10c013', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"j",\n action in [Action::"action"],\n resource in a::"j"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7f763280b38e3ae0b4ae15829f53fcd5b8937b62': { + 'name': '7f763280b38e3ae0b4ae15829f53fcd5b8937b62', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"0\\u{1}",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true && action\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '0\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0\x01'}, + 'resource': {'type': 'a', 'id': '0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '762d6af30778d678da7849f82db71d278c02d7a1': { + 'name': '762d6af30778d678da7849f82db71d278c02d7a1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'MYqs': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + '_WkgqaWM': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'egi': { + 'appliesTo': { + 'resourceTypes': ['MYqs'], + 'principalTypes': ['MYqs'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Ay': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'MYqs', 'id': ''}, + 'attrs': {'_WkgqaWM': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'MYqs', 'id': ''}, + 'resource': {'type': 'MYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'egi'}, + 'context': {'r': '', 'Ay': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '62a27ea3bb60c5035c9c9fc113460f30f16d972f': { + 'name': '62a27ea3bb60c5035c9c9fc113460f30f16d972f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{6}\\u{6}\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '44fbeb8dd922c2e9149a992a8f284d8fce8cd762': { + 'name': '44fbeb8dd922c2e9149a992a8f284d8fce8cd762', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\$\x00\n'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\$\x00\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\$\x00\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '239501e7afe41f99231f469c48b00c0971e7ba84': { + 'name': '239501e7afe41f99231f469c48b00c0971e7ba84', + 'schema_json': { + 'C': { + 'commonTypes': {}, + 'entityTypes': { + 'C': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['C', 'r'], + 'principalTypes': ['C'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C::C', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C::C', 'id': ''}, + 'resource': {'type': 'C::C', 'id': ''}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6ca329d5b193d19c6512dbddb1a50128e34ce690': { + 'name': '6ca329d5b193d19c6512dbddb1a50128e34ce690', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::"FF%%\\0\\0\\0\\0\\0\\0\\0@\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'FF%%\x00\x00\x00\x00\x00\x00\x00@\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2b1fc2caecbcaf4c09a99ef3a2cc3f156112e495': { + 'name': '2b1fc2caecbcaf4c09a99ef3a2cc3f156112e495', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"2",\n action in [Action::"action"],\n resource\n) when {\n (true && (context && false)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '2'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '45932df9e6afa436b8c177221426b97fa245df56': { + 'name': '45932df9e6afa436b8c177221426b97fa245df56', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'mzzzZzz0bYdlw': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['mzzzZzz0bYdlw'], + 'principalTypes': ['mzzzZzz0bYdlw'], + 'context': { + 'type': 'Record', + 'attributes': { + 'mzzrzzzz00000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'resource': {'type': 'mzzzZzz0bYdlw', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzrzzzz00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'af890984e3da2e79598e3fb4eba4fdb41989c984': { + 'name': 'af890984e3da2e79598e3fb4eba4fdb41989c984', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00,\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'caa3b175b406fa918945038b82d980fddc8fb8be': { + 'name': 'caa3b175b406fa918945038b82d980fddc8fb8be', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ')': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x07': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': { + 'm': { + 'type': 'Extension', + 'name': 'ipaddr', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'W': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'J': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd8d09ed3ce3ca1bbb7581ba1f5035cff45ea969d': { + 'name': 'd8d09ed3ce3ca1bbb7581ba1f5035cff45ea969d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && action) && (false == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b1cdf5f8969de06b11f9fe69168f746032eca879': { + 'name': 'b1cdf5f8969de06b11f9fe69168f746032eca879', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && (resource == resource)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ba6b0c182011c2acd90ddd555ba2a818c3097c59': { + 'name': 'ba6b0c182011c2acd90ddd555ba2a818c3097c59', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['p'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'p': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'p'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'p', 'id': 'O\x01\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'p', 'id': ':\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'p', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'p', 'id': '\x1B\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'p', 'id': '\x00)c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': '\x00)c'}, + {'type': 'p', 'id': 'O\x01\x00'}, + {'type': 'p', 'id': ':\x01'}, + {'type': 'p', 'id': '\x1B\x02'}, + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': '\x1B'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ':\x01'}, + {'type': 'p', 'id': '\x00)c'}, + {'type': 'p', 'id': ''}, + {'type': 'p', 'id': '\x1B\x02'}, + {'type': 'p', 'id': 'O\x01\x00'} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7bed48ea9fea21713719621d39a49bce6a884913': { + 'name': '7bed48ea9fea21713719621d39a49bce6a884913', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ':': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + ';': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '101a95ae783b3b3350d89a013ec071fe2be8cdea': { + 'name': '101a95ae783b3b3350d89a013ec071fe2be8cdea', + 'schema_json': { + 'L::Fww33333': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'L::Fww33333::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'resource': {'type': 'L::Fww33333::a', 'id': '\x00\x00::::::'}, + 'action': {'type': 'L::Fww33333::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1fda47630d60a4aa8f8e54b61d736d8952c4a7f9': { + 'name': '1fda47630d60a4aa8f8e54b61d736d8952c4a7f9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'ZJJJ': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['ZJJJ'], + 'principalTypes': ['ZJJJ'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == ZJJJ::"RRRR\\u{1}\\0",\n action == Action::"action",\n resource == ZJJJ::"RRRR\\u{1}\\0"\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'resource': {'type': 'ZJJJ', 'id': 'RRRR\x01\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c2a56cb9be56068dd0dafea4ea23cf7f44c7afc9': { + 'name': 'c2a56cb9be56068dd0dafea4ea23cf7f44c7afc9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 't'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'resource': { + 'type': 'a', + 'id': + '\x03\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00fnyFc' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '65e3e332f40c74f23abfd8baf2bc17fc80417214': { + 'name': '65e3e332f40c74f23abfd8baf2bc17fc80417214', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '..': {'appliesTo': null, 'memberOf': null}, + ')': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '(...': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aaccddc926fd9164a6bc92dd03fe08d46080cc27': { + 'name': 'aaccddc926fd9164a6bc92dd03fe08d46080cc27', + 'schema_json': { + 'r::r::r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': '/m'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':t:::'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd4d0d3bd104ad2aa88641b7b6704cc14de00fa2': { + 'name': 'bd4d0d3bd104ad2aa88641b7b6704cc14de00fa2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && "\\u{8}\\0\\0\\0") && (!principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1394e48d6330fa784673907ee1460d41a4e2659b': { + 'name': '1394e48d6330fa784673907ee1460d41a4e2659b', + 'schema_json': { + 'A97w': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [A97w::Action::"action"],\n resource in A97w::a::"#:::"\n) when {\n (true && (!(!principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A97w::a', 'id': '#:::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '08b97eac230b3d3f0877670ac672eaeff6b040b0': { + 'name': '08b97eac230b3d3f0877670ac672eaeff6b040b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::":\\u{6}\\0",\n action in [Action::"action"],\n resource == a::":\\u{6}\\0"\n) when {\n true && (!a::":\\u{6}\\0")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':\x06\x00'}, + 'resource': {'type': 'a', 'id': ':\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '95c80734934226e0a88cb165c51cac873b366c06': { + 'name': '95c80734934226e0a88cb165c51cac873b366c06', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '0': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '0)': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"0"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0)'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '0'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3f108515ed95ea8e4b5a58e5c06dc0233554f8bd': { + 'name': '3f108515ed95ea8e4b5a58e5c06dc0233554f8bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x06': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + '_q': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x06'}, + 'context': { + '_q': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8ab854fd364fa6b25df281d285211edf8e88b60c': { + 'name': '8ab854fd364fa6b25df281d285211edf8e88b60c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': "'%'"}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': "'%'"}, + 'resource': {'type': 'a', 'id': "'%'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '692368edab7dbe12bd7306465c125b29971d8b32': { + 'name': '692368edab7dbe12bd7306465c125b29971d8b32', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"["\n) when {\n (true && (!(!(!false)))) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '['}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '['}, + 'resource': {'type': 'a', 'id': '['}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8da9cb550ff0ef7473d1b148e9b7e8ee88f5908c': { + 'name': '8da9cb550ff0ef7473d1b148e9b7e8ee88f5908c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Entity', 'name': 'a', 'required': false}, + 'sJRd3': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': 0, + 'r': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'da188d700d07ee66e9aed294ec88e256f96a0099': { + 'name': 'da188d700d07ee66e9aed294ec88e256f96a0099', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if (if (if false then principal else principal) then principal else principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5f6f43e48c3d29e6d4a95ada9734f3086e67fe80': { + 'name': '5f6f43e48c3d29e6d4a95ada9734f3086e67fe80', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n (true && (Action::"action" in "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1b156e7301e522fcea1df4a95ae0ef13cc16f2ee': { + 'name': '1b156e7301e522fcea1df4a95ae0ef13cc16f2ee', + 'schema_json': { + 'WjjjZZZ': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == WjjjZZZ::a::"",\n action in [WjjjZZZ::Action::"action",WjjjZZZ::Action::"action"],\n resource == WjjjZZZ::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'WjjjZZZ::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'WjjjZZZ::a', 'id': ''}, + 'resource': {'type': 'WjjjZZZ::a', 'id': ''}, + 'action': {'type': 'WjjjZZZ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ba6b355a1bf226a09064499762b03cea811236f5': { + 'name': 'ba6b355a1bf226a09064499762b03cea811236f5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a3b257185fb23a9c0a90adde68f13406ecb679e1': { + 'name': 'a3b257185fb23a9c0a90adde68f13406ecb679e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e2dcc9016e893ab66204bb8a0b802a61432ab015': { + 'name': 'e2dcc9016e893ab66204bb8a0b802a61432ab015', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd1832cc54d36e8a945ff67e28ed9aecce85c38bf': { + 'name': 'd1832cc54d36e8a945ff67e28ed9aecce85c38bf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n true && (!(!true))\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a6a34b4a0bae150ab6a591014b93cee198e4fd9e': { + 'name': 'a6a34b4a0bae150ab6a591014b93cee198e4fd9e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if (context * 280800715746538) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a255f02c579a54eb5b951054c68bd1b66010ed82': { + 'name': 'a255f02c579a54eb5b951054c68bd1b66010ed82', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'B': {'type': 'Extension', 'name': 'ipaddr', 'required': false}, + 'P': {'type': 'Extension', 'name': 'ipaddr', 'required': false}, + 'R': {'type': 'Extension', 'name': 'ipaddr', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '702a0eed1ebff6ff86c8b11a288329d3c6058d52': { + 'name': '702a0eed1ebff6ff86c8b11a288329d3c6058d52', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false}, + 'w': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '20dd5f5214b3fa3fe3e118070ab74295dd0c9fd7': { + 'name': '20dd5f5214b3fa3fe3e118070ab74295dd0c9fd7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{1a}0l0i",\n action in [],\n resource in a::"\\u{1a}0l0i"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x1A0l0i'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x1A0l0i'}, + 'resource': {'type': 'a', 'id': '\x1A0l0i'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '235aa374664b3c61ac0316bde4984195fa29ab2d': { + 'name': '235aa374664b3c61ac0316bde4984195fa29ab2d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'l': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'String'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {'l': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ï¾¾'}, + 'attrs': {'l': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'l': [ + ['', '', '', '', '', ''], + [], + [], + [], + [], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x03+\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b8a54ca437e5986646f9bb67b54eca04a728c310': { + 'name': 'b8a54ca437e5986646f9bb67b54eca04a728c310', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"z",\n action == Action::"action",\n resource == a::"z"\n) when {\n (true && (8827056895198657146 == ((122 == principal) == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b8fd93ae23da1e6bbaf51234f0e34b9603bd151e': { + 'name': 'b8fd93ae23da1e6bbaf51234f0e34b9603bd151e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\0\\0\\u{6}\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\0\\0\\u{6}\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x06\x06\x06\x06\x06\x06\x06\x06\x00\x00\x06\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ef4e9a9da6121724743477e359fd3ecd4de71362': { + 'name': 'ef4e9a9da6121724743477e359fd3ecd4de71362', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3277f98cc8cef0c9e1dff218f5a7ab0fdb3ba0f0': { + 'name': '3277f98cc8cef0c9e1dff218f5a7ab0fdb3ba0f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x13'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x13'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x13'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e357d040862fab0ebee3c62b8c96810d5b69cf0a': { + 'name': 'e357d040862fab0ebee3c62b8c96810d5b69cf0a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + ':': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': { + 'A': { + ':': { + '__entity': {'id': '::\x00\x00::\x00\x00', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'attrs': { + 'A': { + ':': { + '__entity': {'id': '::\x00\x00::\x00\x00', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': { + ':': { + '__entity': {'id': '::\x00\x00::\x00\x00', 'type': 'a'} + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'resource': {'type': 'a', 'id': '::\x00\x00::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e197f2fde87822377f06d1fd153e29b62e06f8d3': { + 'name': 'e197f2fde87822377f06d1fd153e29b62e06f8d3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource in a::""\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '59199c03f45c37423e486ab414eb6eb5288ef00b': { + 'name': '59199c03f45c37423e486ab414eb6eb5288ef00b', + 'schema_json': { + 'Fwwwww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwww::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwwww::a', 'id': '\f\f\f\f\fb'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'resource': {'type': 'Fwwwww::a', 'id': 'ff\f\f\f\f'}, + 'action': {'type': 'Fwwwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ec17b82554295cb700c5c7b245471f51772a3b24': { + 'name': 'ec17b82554295cb700c5c7b245471f51772a3b24', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'attrs': { + 'x': { + '__entity': { + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT", + 'type': 'a' + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT" + }, + 'resource': {'type': 'a', 'id': "fffffffgf`f\x00ff~\x00f'fr\x00\x00fT"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7554afe3451c9e6592df5042bfc0bd519c12468e': { + 'name': '7554afe3451c9e6592df5042bfc0bd519c12468e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource in a::"\\0\\0\\"\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '65a41a239147613edda56c85a5fe6c8f6cfb2aa1': { + 'name': '65a41a239147613edda56c85a5fe6c8f6cfb2aa1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n ((true && ((!Action::"action") like "\\u{1}***")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7a089572bbbeebd8f64e2e8ae9773b02eff6c7a1': { + 'name': '7a089572bbbeebd8f64e2e8ae9773b02eff6c7a1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true && (decimal((a::"" == false) == principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5bd0c468b9d2c31ce3ad1f639ce3f2324b3aaf1e': { + 'name': '5bd0c468b9d2c31ce3ad1f639ce3f2324b3aaf1e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'x': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['x', 'r'], + 'principalTypes': ['x', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6ce55f921806bc574050a450b7b8faa303c9f3fc': { + 'name': '6ce55f921806bc574050a450b7b8faa303c9f3fc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e3e0c344cd87f7e9a5cde178394188f4eaaf7fbd': { + 'name': 'e3e0c344cd87f7e9a5cde178394188f4eaaf7fbd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'C24': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false}, + 'wme3wmmmemmmmmm': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C24': '', 'r': '', 'wme3wmmmemmmmmm': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3789f3fb4358bddc1dac1aa750ce1a17e8fed5ed': { + 'name': '3789f3fb4358bddc1dac1aa750ce1a17e8fed5ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"ff\\0",\n action in [Action::"action",Action::"action"],\n resource == a::"ff\\0"\n) when {\n (true && (((x000000000000000::"" has ":*") in principal) has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3ae6afb11e33926e2cb1dc54cf36e174ab7414e5': { + 'name': '3ae6afb11e33926e2cb1dc54cf36e174ab7414e5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'm80': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fwwww8u8': { + 'memberOfTypes': ['m80'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwwww8u8', 'm80'], + 'principalTypes': ['m80'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm80', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwww8u8', 'id': ''}, + 'attrs': {'A': ''}, + 'parents': [ + {'type': 'm80', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm80', 'id': ''}, + 'resource': {'type': 'Fwwww8u8', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '585652a4c05f9b6d0b92999377d7a635f409b73a': { + 'name': '585652a4c05f9b6d0b92999377d7a635f409b73a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '624156ac4fff56421b32744f2ac8b14b89cf642b': { + 'name': '624156ac4fff56421b32744f2ac8b14b89cf642b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"&0",\n action in [Action::"action"],\n resource\n) when {\n ((true && (principal == (action <= principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&0'}, + 'resource': {'type': 'a', 'id': '&0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6984a182df03f0aac385f34679e4c3c20137d479': { + 'name': '6984a182df03f0aac385f34679e4c3c20137d479', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'm': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['m'], + 'principalTypes': ['m'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm', 'id': '\x00'}, + 'resource': {'type': 'm', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6a80d8de7f543465fbf4d89e1e2b6f6ae0616e82': { + 'name': '6a80d8de7f543465fbf4d89e1e2b6f6ae0616e82', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2939b834ab5bcb99cdb7050100c28a9b421cf492': { + 'name': '2939b834ab5bcb99cdb7050100c28a9b421cf492', + 'schema_json': { + 'r::l77::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::l77::r::a::"",\n action in [r::l77::r::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::l77::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7c86e43a5b649553003524a121d788581e8b519b': { + 'name': '7c86e43a5b649553003524a121d788581e8b519b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && a::"\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '15563f0ff844401488c49316ba8cb82f870c3caa': { + 'name': '15563f0ff844401488c49316ba8cb82f870c3caa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource\n) when {\n (true && ((context in principal) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3aaa25af5b727ce4dd50a3f9fdb8065c1efc2d55': { + 'name': '3aaa25af5b727ce4dd50a3f9fdb8065c1efc2d55', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'wgldmlAlA': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '/\n/\n\x06': { + 'type': 'Entity', + 'name': 'a', + 'required': false + }, + 'inf': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': { + '': '', + '/\n/\n\x06': { + '__entity': {'id': '', 'type': 'a'} + }, + 'inf': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3499f81f5953dccba2a97c7f97f4c5fc46be27ca': { + 'name': '3499f81f5953dccba2a97c7f97f4c5fc46be27ca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && ((!(!false)).lessThanOrEqual(!principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0f921ba46a7f2a9d02dc34b4f2876f50cb7eb4c5': { + 'name': '0f921ba46a7f2a9d02dc34b4f2876f50cb7eb4c5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '272ae71ac571077560328329952bd2cc5744eafe': { + 'name': '272ae71ac571077560328329952bd2cc5744eafe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource\n) when {\n ((true && ((context - principal) in principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5c2e65275c8bebc22d36a958acbb1651fa208b11': { + 'name': '5c2e65275c8bebc22d36a958acbb1651fa208b11', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '76fa0ec48009d3e86ce13407ee52ec66eb7fb4d8': { + 'name': '76fa0ec48009d3e86ce13407ee52ec66eb7fb4d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'l/'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f23ddaae112b5991d33858a825aba8ea1410abe1': { + 'name': 'f23ddaae112b5991d33858a825aba8ea1410abe1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'V'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cb9736c90c6e91da980b4286805b8759e8140360': { + 'name': 'cb9736c90c6e91da980b4286805b8759e8140360', + 'schema_json': { + 'r::l77::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::l77::r::a::"",\n action in [r::l77::r::Action::"action"],\n resource == r::l77::r::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::l77::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e3bff26c81d2d23ef3cd5e9a30a37d299fd579c3': { + 'name': 'e3bff26c81d2d23ef3cd5e9a30a37d299fd579c3', + 'schema_json': { + 'q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == q::Action::"action",\n resource in q::a::""\n) when {\n (true && (principal has "i")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'q::a', 'id': '\x1B\x1B\x1B\x19'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'q::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'q::a', 'id': ''}, + 'resource': {'type': 'q::a', 'id': ''}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '167321bd733beac1a5d200b39f1b1bf3b4009275': { + 'name': '167321bd733beac1a5d200b39f1b1bf3b4009275', + 'schema_json': { + 'B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'f': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal == B::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': ''}, + 'action': {'type': 'B::Action', 'id': 'f'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4a1ccee551b4da9723f0bd925c0e6ba122edc2c1': { + 'name': '4a1ccee551b4da9723f0bd925c0e6ba122edc2c1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::"zzzz3"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzz3'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'í……'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzz3'}, + 'resource': {'type': 'a', 'id': 'zzzz3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '76a183abe57b42df274fdc83a8adc4a76a86e972': { + 'name': '76a183abe57b42df274fdc83a8adc4a76a86e972', + 'schema_json': { + 'bLD000aw988::r09::A::Fww33333': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'resource': {'type': 'bLD000aw988::r09::A::Fww33333::a', 'id': ''}, + 'action': { + 'type': 'bLD000aw988::r09::A::Fww33333::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ec161281562607a66b1f81afd1749c629f8b481a': { + 'name': 'ec161281562607a66b1f81afd1749c629f8b481a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::""],\n resource in a::""\n) when {\n (true && {}) && A::Ahhh1h00::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6e8e7e91c57a86a78c4b78b8d7ea11c198a11fc5': { + 'name': '6e8e7e91c57a86a78c4b78b8d7ea11c198a11fc5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + '\x02\x00\x00:d': { + 'type': 'Entity', + 'name': 'a', + 'required': true + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'fff'}, + 'attrs': { + 'A': { + '\x02\x00\x00:d': { + '__entity': {'id': '\x00ff', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00:'}, + 'attrs': { + 'A': { + '\x02\x00\x00:d': { + '__entity': {'id': '\x00ff', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': { + '\x02\x00\x00:d': { + '__entity': {'id': '\x00ff', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00ff'}, + 'attrs': { + 'A': { + '\x02\x00\x00:d': { + '__entity': {'id': '\x00ff', 'type': 'a'} + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00ff'}, + 'resource': {'type': 'a', 'id': '\x00ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4fca9f77ff054ace350a45f645717d9db0dcd05d': { + 'name': '4fca9f77ff054ace350a45f645717d9db0dcd05d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\x02'}, + 'attrs': { + 'F': [ + [true, false, false], + [false, false], + [true, false], + [false, false], + [] + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '33'}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':\x02'}, + 'resource': {'type': 'a', 'id': ':\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2be730f03e17dff06a3b162a5bab74a5a8b443ef': { + 'name': '2be730f03e17dff06a3b162a5bab74a5a8b443ef', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00FFFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x11\x11\x11\x11\x11\x11' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b1f3140125d5a63832b560a8ceca4e9824da293d': { + 'name': 'b1f3140125d5a63832b560a8ceca4e9824da293d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && ((!false) || true)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dac47e38ea5df9441922928f293efcbc4f6ba722': { + 'name': 'dac47e38ea5df9441922928f293efcbc4f6ba722', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::"0"\n) when {\n true && (!(!false))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0daaf207b4203e78d906424710b02a535efc7e76': { + 'name': '0daaf207b4203e78d906424710b02a535efc7e76', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['K'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'yKJJ000': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'K'], + 'principalTypes': ['r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {'yKJJ000': 0}, + 'parents': [ + {'type': 'K', 'id': ''} + ] + }, + { + 'uid': {'type': 'K', 'id': ''}, + 'attrs': {'r': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a22b826eb029b8cbbd35458232473d4b0a03313f': { + 'name': 'a22b826eb029b8cbbd35458232473d4b0a03313f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'L': { + 'memberOfTypes': ['Fwwwwwww3', 'r', 'x'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fwwwwwww3': { + 'memberOfTypes': ['r', 'x'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['x'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'x': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwwwwwww3', 'r', 'x'], + 'principalTypes': ['L', 'Fwwwwwww3', 'r', 'x'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwwwww3', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'x', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'x', 'id': ''} + ] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'L', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'x', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'Fwwwwwww3', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwwwwwww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '07c8a8cfabada6bb90447010829e8e73fc84580d': { + 'name': '07c8a8cfabada6bb90447010829e8e73fc84580d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n (true && a::"") && (!(!(a::"".containsAll(principal))))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '93fad044ad6b5540b4c877e68c4a6e802b36a01a': { + 'name': '93fad044ad6b5540b4c877e68c4a6e802b36a01a', + 'schema_json': { + 'r::r::C::A::B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Wjjjjjux2': { + 'type': 'Entity', + 'name': 'r::r::C::A::B::a', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'resource': {'type': 'r::r::C::A::B::a', 'id': ''}, + 'action': {'type': 'r::r::C::A::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::C::A::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '186022020bf2be6068a0dcb7e9e9184dc855d5d8': { + 'name': '186022020bf2be6068a0dcb7e9e9184dc855d5d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'WN': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + '....': { + 'appliesTo': { + 'resourceTypes': ['WN'], + 'principalTypes': ['WN'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'WN', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'WN', 'id': '....'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e2c3298a9025cabbcf814803d3a81cf93ced082e': { + 'name': 'e2c3298a9025cabbcf814803d3a81cf93ced082e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '328b75efdada2eb6574fb25c99286236d7da72f1': { + 'name': '328b75efdada2eb6574fb25c99286236d7da72f1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"`",\n action,\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1f85d214b5fa238610b6e3b5e0376f9e30de9220': { + 'name': '1f85d214b5fa238610b6e3b5e0376f9e30de9220', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"0",\n action == Action::"action",\n resource in a::"0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '5041\$\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22948e4b0b465a544b92e1a913262948f0a1fa97': { + 'name': '22948e4b0b465a544b92e1a913262948f0a1fa97', + 'schema_json': { + 'r::r::r::T::r': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::T::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::r::T::r::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '73126d9b0b475e3fc2096b9ef2e4abd11bf0f3fd': { + 'name': '73126d9b0b475e3fc2096b9ef2e4abd11bf0f3fd', + 'schema_json': { + 'r::_::r::r37::R': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Qxxx': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'resource': {'type': 'r::_::r::r37::R::a', 'id': ''}, + 'action': {'type': 'r::_::r::r37::R::Action', 'id': 'action'}, + 'context': {'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '75e47b98788febe22f67d562e70c983ef7b6cf81': { + 'name': '75e47b98788febe22f67d562e70c983ef7b6cf81', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action == Action::"action",\n resource in a::""\n) when {\n (true && ((principal like "") || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'f\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '5f6aa37dca1d195c21ff22ba1d1b37fffc70a8e1': { + 'name': '5f6aa37dca1d195c21ff22ba1d1b37fffc70a8e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'em': {'appliesTo': null, 'memberOf': null}, + ':::cÊŒto': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'B:z:;:::::7::': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '05ced0c2a3b26e996cd9857050b5cb568f3c55a4': { + 'name': '05ced0c2a3b26e996cd9857050b5cb568f3c55a4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action"],\n resource in a::"00"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ab562d3caf2edb027c4de066f9ca76d267a2b6d8': { + 'name': 'ab562d3caf2edb027c4de066f9ca76d267a2b6d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '159538477382f362742140e665a05a6e99bd8191': { + 'name': '159538477382f362742140e665a05a6e99bd8191', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"00",\n action in [Action::"action"],\n resource in a::"00"\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e80d76eb66f3ed2e198f61e73099e822cc021d73': { + 'name': 'e80d76eb66f3ed2e198f61e73099e822cc021d73', + 'schema_json': { + 'G::lm7::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'KjLjjjjxx': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G::lm7::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G::lm7::r::a', 'id': ''}, + 'resource': {'type': 'G::lm7::r::a', 'id': ''}, + 'action': {'type': 'G::lm7::r::Action', 'id': 'action'}, + 'context': {'KjLjjjjxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eae3e1fd9f742fe24356b3508199c42e6aa33f09': { + 'name': 'eae3e1fd9f742fe24356b3508199c42e6aa33f09', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && Action::"action") && (Action::"action" == ((!a::"") == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ff06c4ecb3b77a633e4127b138b788d82f45cd87': { + 'name': 'ff06c4ecb3b77a633e4127b138b788d82f45cd87', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'ZJJJ': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['ZJJJ'], + 'principalTypes': ['ZJJJ'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'ZJJJ', 'id': 'JJz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'ZJJJ', 'id': '\v'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'resource': {'type': 'ZJJJ', 'id': 'zzz\nzzzl'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '671e345c95570901c70a5fb2f4f16af13dcc9e65': { + 'name': '671e345c95570901c70a5fb2f4f16af13dcc9e65', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"f\\0fff"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f\x00fff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f\x00fff'}, + 'resource': {'type': 'a', 'id': 'f\x00fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5f10c65b3670d29e1044f6220de6d98f0b57d8c6': { + 'name': '5f10c65b3670d29e1044f6220de6d98f0b57d8c6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\t\x00\x00j\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\t\x00\x00j\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cdc3a1be26de1d55c9a999fcd2bca635ab0994ae': { + 'name': 'cdc3a1be26de1d55c9a999fcd2bca635ab0994ae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C': {'type': 'Boolean', 'required': false}, + 'C22': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': { + 'IvkElh': {'type': 'String', 'required': false}, + 'p2kk00000': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {'C22': false, 'C': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'p2kk00000': '', 'r': '', 'IvkElh': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5b426cc601268dd506e394ef2ab467a302267409': { + 'name': '5b426cc601268dd506e394ef2ab467a302267409', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::"::::::::"\n) when {\n (true && (!(!(!false)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::::::::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::::::::'}, + 'resource': {'type': 'a', 'id': '::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd2fa250e2aba06b4c57ebe4937327d3ef25aa6be': { + 'name': 'd2fa250e2aba06b4c57ebe4937327d3ef25aa6be', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && (a::"" like "trN*tiv")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5913ef210c552e84809af769a1f426379fe1090c': { + 'name': '5913ef210c552e84809af769a1f426379fe1090c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'acTi'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'acTi'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'acTi'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'acTi'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b2cf1b0ae1eee0fecd5a7c46c3487f3b6dc6b057': { + 'name': 'b2cf1b0ae1eee0fecd5a7c46c3487f3b6dc6b057', + 'schema_json': { + 'Qmc::Qx0xxu_YYYY': { + 'commonTypes': {}, + 'entityTypes': { + 'qmlAURxxx': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['qmlAURxxx'], + 'principalTypes': ['qmlAURxxx'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'resource': {'type': 'Qmc::Qx0xxu_YYYY::qmlAURxxx', 'id': ''}, + 'action': {'type': 'Qmc::Qx0xxu_YYYY::Action', 'id': 'action'}, + 'context': {'A000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '13478b9a425393db10ad8b788501d61f44fdba5b': { + 'name': '13478b9a425393db10ad8b788501d61f44fdba5b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'l0wwwXb0wwww': { + 'memberOfTypes': ['umkldY'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'umkldY': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['umkldY'], + 'principalTypes': ['l0wwwXb0wwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'umkldY', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'umkldY', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l0wwwXb0wwww', 'id': ''}, + 'resource': {'type': 'umkldY', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '850d5550a7987fccee6e5d66cbafdb33a167ae18': { + 'name': '850d5550a7987fccee6e5d66cbafdb33a167ae18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00]'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00]'}, + 'resource': {'type': 'a', 'id': '\x00\x00]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '409414c9f886f7fc05131ff28e7e2e1fe5dc98f8': { + 'name': '409414c9f886f7fc05131ff28e7e2e1fe5dc98f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource in a::""\n) when {\n (true && (((Action::"action" == "\\0") || false) || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '33cc1dba8276b82395d85d8bff2da91103f9f272': { + 'name': '33cc1dba8276b82395d85d8bff2da91103f9f272', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && ("" <= "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '17f84086f0fb865ed25ea07f776b9882c39624f4': { + 'name': '17f84086f0fb865ed25ea07f776b9882c39624f4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'G666E66': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G666E66'], + 'principalTypes': ['G666E66'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == G666E66::"&",\n action in [Action::"action"],\n resource in G666E66::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G666E66', 'id': '&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G666E66', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G666E66', 'id': '\x00\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G666E66', 'id': ''}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G666E66', 'id': '&'}, + 'resource': {'type': 'G666E66', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ca3865c2e9e9f967ec6c1d85bd1ec6b9ce81d326': { + 'name': 'ca3865c2e9e9f967ec6c1d85bd1ec6b9ce81d326', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'zzzz': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '510c1809882aa069966e45653f72eaa2ead38322': { + 'name': '510c1809882aa069966e45653f72eaa2ead38322', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0c367b79cc920e0feaf83ea234081b5ed3e76fa5': { + 'name': '0c367b79cc920e0feaf83ea234081b5ed3e76fa5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n ((true && a::"\\0") && ((principal.containsAll(principal)).containsAll(principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1649d084ecfec7fa9186c8d8ebfaed6f289d346f': { + 'name': '1649d084ecfec7fa9186c8d8ebfaed6f289d346f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'sun_misc_P': {'appliesTo': null, 'memberOf': null}, + 'va': {'appliesTo': null, 'memberOf': null}, + 'rf_regi': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'te': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'sun_misc_P'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c50d23d149e88f8c1f22e7ff754ea830991fc3bc': { + 'name': 'c50d23d149e88f8c1f22e7ff754ea830991fc3bc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': ['r', 'F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F', 'r', 'F333'], + 'principalTypes': ['F', 'r', 'F333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ':::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5b40ceb430b87a6433ab7e2ea69ee5b51243d21f': { + 'name': '5b40ceb430b87a6433ab7e2ea69ee5b51243d21f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fa37079bf737ea492a8a3f162500426b806c287e': { + 'name': 'fa37079bf737ea492a8a3f162500426b806c287e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'G': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Extension', 'name': 'ipaddr', 'required': false}, + 'x': {'type': 'Extension', 'name': 'ipaddr', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G'], + 'principalTypes': ['G'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': 'fff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': 'fff'}, + 'resource': {'type': 'G', 'id': 'fff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd7f429d1a07862e1d1dbdcc9d67d7b1122bd7887': { + 'name': 'd7f429d1a07862e1d1dbdcc9d67d7b1122bd7887', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00#\b\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00#\b\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '438bf26e074c78254f9f05cdadc1e87b1c145a98': { + 'name': '438bf26e074c78254f9f05cdadc1e87b1c145a98', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e8df0ae1d2f80908d3d4839521df15a7b72ce543': { + 'name': 'e8df0ae1d2f80908d3d4839521df15a7b72ce543', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'mxxx': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': ['a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Qx': { + 'memberOfTypes': ['v'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Qx', 'a'], + 'principalTypes': ['Qx', 'v', 'a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::Qx', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''}, + {'type': 'cP::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {'mxxx': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'cP::v::v', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::Qx', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f647534b9f74d73fb3f220cf78c5a857cd0a8b19': { + 'name': 'f647534b9f74d73fb3f220cf78c5a857cd0a8b19', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"",Action::""],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'd'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\t\t'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'd'}, + 'resource': {'type': 'a', 'id': 'd'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd382a671c24db31d5920a4219abaebd38738820f': { + 'name': 'd382a671c24db31d5920a4219abaebd38738820f', + 'schema_json': { + 'zppWEj::AZ330::Hqj': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r'], + 'principalTypes': ['r'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'attrs': {'A': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'resource': {'type': 'zppWEj::AZ330::Hqj::r', 'id': ''}, + 'action': {'type': 'zppWEj::AZ330::Hqj::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'de9a66a5e8d3752b3e3569c04148a8707ae7c42c': { + 'name': 'de9a66a5e8d3752b3e3569c04148a8707ae7c42c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Qxxx': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'r': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {'Qxxx': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Qxxx': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'r': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3004e6adb816e399febf4b58bee52dcf52408490': { + 'name': '3004e6adb816e399febf4b58bee52dcf52408490', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '09f6db1af99d55f35cde7641356a729d7dd01a6b': { + 'name': '09f6db1af99d55f35cde7641356a729d7dd01a6b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && context) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '_z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'fe82e4c8f1e0fc7dffe20c92ddee7696b523ab04': { + 'name': 'fe82e4c8f1e0fc7dffe20c92ddee7696b523ab04', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'u': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'O..D': { + 'appliesTo': { + 'resourceTypes': ['u', 'r'], + 'principalTypes': ['u', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['u', 'r'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'u', 'id': ''}, + 'attrs': {'A': ''}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'u', 'id': ''}, + 'resource': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'O..D'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4152f079059c8e73f72310634b475881b4ebb8ab': { + 'name': '4152f079059c8e73f72310634b475881b4ebb8ab', + 'schema_json': { + 'v::Qx::bxxvxxxxxxx::v::qL::OMRR': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::a', 'id': ''}, + 'action': { + 'type': 'v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a94a8c799f6f251cf64654360a670c71564f2e79': { + 'name': 'a94a8c799f6f251cf64654360a670c71564f2e79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vhhhghhhkkkkkkkk3': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vhhhghhhkkkkkkkk3'], + 'principalTypes': ['Vhhhghhhkkkkkkkk3'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhghhhkkkkkkkk3', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'resource': {'type': 'Vhhhghhhkkkkkkkk3', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c6bcd471cae5ad7ab536c06e6ddc78badb805266': { + 'name': 'c6bcd471cae5ad7ab536c06e6ddc78badb805266', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}",\n action == Action::"action",\n resource == a::"\\u{2}\\u{2}"\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1840e254d6158bdeefa9ac394b9721b87c26d20b': { + 'name': '1840e254d6158bdeefa9ac394b9721b87c26d20b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action == Action::"action",\n resource in a::""\n) when {\n (true && ((principal like "") like "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'f\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3f7b0ffba42bc51579c020cef13dd8e226b1838c': { + 'name': '3f7b0ffba42bc51579c020cef13dd8e226b1838c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true && (a::"\\0" like "re*")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a8b757dff29c824709e5fcd3aeacdf2aa8cfebae': { + 'name': 'a8b757dff29c824709e5fcd3aeacdf2aa8cfebae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if (if (15395427["~"]) then principal else principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f417b638604217ea652bb0c087fbb3afe27b2d2a': { + 'name': 'f417b638604217ea652bb0c087fbb3afe27b2d2a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0\\u{2}\\u{2}1sq\\u{2}\\u{2}.\\u{2}\\0\\u{2}\\u{2}1",\n action in [Action::"action",Action::"action"],\n resource == a::"\\0\\u{2}\\u{2}1sq\\u{2}\\u{2}.\\u{2}\\0\\u{2}\\u{2}1"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x02\x021sq\x02\x02.\x02\x00\x02\x021' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4de0edce6ed72c4b835ccd121bb928855c95dce4': { + 'name': '4de0edce6ed72c4b835ccd121bb928855c95dce4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02"\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca8c65d6a0d28a825efa2260b21fb646da2d7305': { + 'name': 'ca8c65d6a0d28a825efa2260b21fb646da2d7305', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'RRRRRR': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '90f95922eb26aa4ff33a704449c5dca95cc9d0e8': { + 'name': '90f95922eb26aa4ff33a704449c5dca95cc9d0e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@wIzz("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc3a9bc9b547563249b2c43dffb33dc95829c5fa': { + 'name': 'bc3a9bc9b547563249b2c43dffb33dc95829c5fa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::"&\\0"\n) when {\n (true && (((principal has "") has "") has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e2cce766fd4f34d8e68da07dea8946df560b0ccb': { + 'name': 'e2cce766fd4f34d8e68da07dea8946df560b0ccb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Khhhhhf': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Khhhhhf'], + 'principalTypes': ['Khhhhhf'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khhhhhf', 'id': '\x00\n\x1B'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'resource': {'type': 'Khhhhhf', 'id': '\$\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1d0b0b533527c47fb8e910f2df27351817ca364b': { + 'name': '1d0b0b533527c47fb8e910f2df27351817ca364b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == A::":::8>",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ':::8>'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a815ab0a661a3ff66ab845596fdeefcaaa2232fc': { + 'name': 'a815ab0a661a3ff66ab845596fdeefcaaa2232fc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (((if 0 then principal else principal) || principal) || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'k'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4175e34243cc2a879f292b2413914b7dcb124a27': { + 'name': '4175e34243cc2a879f292b2413914b7dcb124a27', + 'schema_json': { + 'W::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'kg': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == W::v::a::"",\n action in [W::v::Action::"kg",W::v::Action::"kg",W::v::Action::"kg"],\n resource in W::v::a::""\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'W::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'W::v::Action', 'id': 'kg'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '635b08739251410fd0264acae27eea2ca8bce572': { + 'name': '635b08739251410fd0264acae27eea2ca8bce572', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'resource': {'type': 'a', 'id': '\x02o\x02\x02\x02\x02\x02\x02NPT\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '41720d33fd4859c3997248e38c3c2b706cfd290d': { + 'name': '41720d33fd4859c3997248e38c3c2b706cfd290d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource\n) when {\n (true && ("\\0\\0" in (if principal then principal else principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '575d96f86187dc6fb7ca8b3896f225b66318b7c7': { + 'name': '575d96f86187dc6fb7ca8b3896f225b66318b7c7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (!false)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '858d3a0145d6b20088d1bd3044de51e229ca13a6': { + 'name': '858d3a0145d6b20088d1bd3044de51e229ca13a6', + 'schema_json': { + 'G6660x6::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'b77750000000000': {'type': 'String', 'required': false}, + 'sruyqcpv': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G6660x6::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G6660x6::r::a', 'id': ''}, + 'resource': {'type': 'G6660x6::r::a', 'id': ''}, + 'action': {'type': 'G6660x6::r::Action', 'id': 'action'}, + 'context': {'b77750000000000': '', 'sruyqcpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2785cfcda5ecacf34130172e5c1d482f75c5ff03': { + 'name': '2785cfcda5ecacf34130172e5c1d482f75c5ff03', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8fb94680726921adf01d87fcef5aedc39e1ce6b1': { + 'name': '8fb94680726921adf01d87fcef5aedc39e1ce6b1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}1",\n action in [Action::"action",Action::"action"],\n resource in a::"\\u{2}1"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6de05639a846fa66cbb84d304bd0fdb02a941f71': { + 'name': '6de05639a846fa66cbb84d304bd0fdb02a941f71', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'O455_z': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'y/'}, + 'attrs': { + 'O455_z': [false, true] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'O455_z': [false, true] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'y/'}, + 'resource': {'type': 'a', 'id': 'y/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9228e32f4fcb3799929299c061ef5bbf5e05877c': { + 'name': '9228e32f4fcb3799929299c061ef5bbf5e05877c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'om/s': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'n': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'F': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': { + 'q': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/s'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0f662f9123a3f835c7dc1004515f79b1609d2e58': { + 'name': '0f662f9123a3f835c7dc1004515f79b1609d2e58', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("\\0")\npermit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && (((false == principal).containsAny(principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1cb3773bd41281fd1ef4bad379b0f734ee9fe4b2': { + 'name': '1cb3773bd41281fd1ef4bad379b0f734ee9fe4b2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("\\0")\nforbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x02\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f20293b453e1c23064a0f47fb42fd0710e6f1271': { + 'name': 'f20293b453e1c23064a0f47fb42fd0710e6f1271', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{4}",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x04'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3d0e48d2cc7268c89f217b05d96c68087eebec1a': { + 'name': '3d0e48d2cc7268c89f217b05d96c68087eebec1a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}",\n action in [Action::"action"],\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}c\\0\\0\\0\\0\\0\\0\\0\\r\\u{2}\\n"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x00\r\x02\n' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '83296094a7d88d71a4a7b7cbe8d92117cb97f6c0': { + 'name': '83296094a7d88d71a4a7b7cbe8d92117cb97f6c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n (true && (((principal <= principal) in principal) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ed1ce2fa3332326bafdf017d584c07b142c7793e': { + 'name': 'ed1ce2fa3332326bafdf017d584c07b142c7793e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'o': { + 'memberOfTypes': ['v', 'r', 'A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': ['r', 'A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['o', 'v', 'A'], + 'principalTypes': ['o', 'v'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bcqs20000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'o', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'v', 'id': ''}, + {'type': 'A', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''} + ] + }, + { + 'uid': {'type': 'v', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''}, + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'o', 'id': ''}, + 'resource': {'type': 'o', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bcqs20000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd7f8fbf3df419726990afb22a94eff94e1aad654': { + 'name': 'd7f8fbf3df419726990afb22a94eff94e1aad654', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action in [Action::"action",Action::"action"],\n resource == a::"\\0\\0"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '294094e7c55158d15d4b8ad3a2900b44cacdd859': { + 'name': '294094e7c55158d15d4b8ad3a2900b44cacdd859', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@B("609-")\nforbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if ((21 == principal).containsAny(principal)) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8e9680ad7a0e2e82660c1615cb612d4330afcfc5': { + 'name': '8e9680ad7a0e2e82660c1615cb612d4330afcfc5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'f'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1eac86e06597f6e0416b884fc15a81bffa608603': { + 'name': '1eac86e06597f6e0416b884fc15a81bffa608603', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true && ("" has "6")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00(\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00(\x00'}, + 'resource': {'type': 'a', 'id': '\x00(\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd09c3c69af274d51d9b2e1b8cca81aa059307a68': { + 'name': 'd09c3c69af274d51d9b2e1b8cca81aa059307a68', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && "\\u{1}j"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '8'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '60260717214e25c1178d39b89fa235fb5444312b': { + 'name': '60260717214e25c1178d39b89fa235fb5444312b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00r3\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c85960cb2c1b2196b11d513b4046b6fe3c8871fa': { + 'name': 'c85960cb2c1b2196b11d513b4046b6fe3c8871fa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'kl': {'appliesTo': null, 'memberOf': null}, + 'kld:::::::::::2Fwww3wUwa': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'kl'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a8fc79a3eec07b04aa1c95873391b6aeb87f2f83': { + 'name': 'a8fc79a3eec07b04aa1c95873391b6aeb87f2f83', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00::L\x00\x00\x00%/lang/invo' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6bd85935b72b96cef2480563a8b387fbe994645c': { + 'name': '6bd85935b72b96cef2480563a8b387fbe994645c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"ff\\0",\n action in [Action::"action",Action::"action"],\n resource == a::"ff\\0"\n) when {\n (true && (((a::"" in false) has "") has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f61502511056c09d7def6b94864dd4cec4693416': { + 'name': 'f61502511056c09d7def6b94864dd4cec4693416', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'Java_sun_misc': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'P': {'appliesTo': null, 'memberOf': null}, + 's': {'appliesTo': null, 'memberOf': null}, + 'rf_reg': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'Java_sun_misc'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7cd50515e56779a3cda79dcc3ffb3f6f1bc8c16e': { + 'name': '7cd50515e56779a3cda79dcc3ffb3f6f1bc8c16e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '(....': {'appliesTo': null, 'memberOf': null}, + '(': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '驩': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '/'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': '(....'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc9ab20725b791a5660f678694db33cb4a1ccefe': { + 'name': 'bc9ab20725b791a5660f678694db33cb4a1ccefe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::""\n) when {\n true && ((-(-(64021759393792))) in principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1b03f18a65dafe6bc111ad12c0de50aa56bf5179': { + 'name': '1b03f18a65dafe6bc111ad12c0de50aa56bf5179', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0zzz\\u{11}z",\n action == Action::"action",\n resource == a::"\\0zzz\\u{11}z"\n) when {\n (true && (((false || "") == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a10348d2b02de73347a50d257afe7947d0b0b8ac': { + 'name': 'a10348d2b02de73347a50d257afe7947d0b0b8ac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{8}\\u{8}\\u{8}",\n action in [],\n resource in a::"\\u{8}\\u{8}\\u{8}"\n) when {\n (true && principal) && (principal == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\b\b\b'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'df2ea141f627d2600b135b349b67b8865a9510be': { + 'name': 'df2ea141f627d2600b135b349b67b8865a9510be', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::" ",\n action == Action::"action",\n resource == a::" "\n) when {\n (true && (((Action::"action" == false) == context) == false)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ' '}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ' '}, + 'resource': {'type': 'a', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5f4af38d0d8fb6b81c5accc280487456140799ef': { + 'name': '5f4af38d0d8fb6b81c5accc280487456140799ef', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '(': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + ')': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '('}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'decf52fee04d6451c0fbb54fd0e9698a0ed37b65': { + 'name': 'decf52fee04d6451c0fbb54fd0e9698a0ed37b65', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@m("")\n@q("")\n@r("")\n@x("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc746deb49ee466bc4288792d0e4342dc80896f3': { + 'name': 'bc746deb49ee466bc4288792d0e4342dc80896f3', + 'schema_json': { + 'l6y2Uuwwwwww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'wwQ2wmmmmmm': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'resource': {'type': 'l6y2Uuwwwwww::a', 'id': ''}, + 'action': {'type': 'l6y2Uuwwwwww::Action', 'id': 'action'}, + 'context': {'wwQ2wmmmmmm': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'defd5589c286ff2dda5865ae0a230c9ef13d90ab': { + 'name': 'defd5589c286ff2dda5865ae0a230c9ef13d90ab', + 'schema_json': { + 'C22::C233': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in C22::C233::a::"",\n action == C22::C233::Action::"action",\n resource in C22::C233::a::""\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'C22::C233::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C22::C233::a', 'id': '\n\x05\x05'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C22::C233::a', 'id': ''}, + 'resource': {'type': 'C22::C233::a', 'id': ''}, + 'action': {'type': 'C22::C233::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b60520d68f13b97bb55aa1a50859609e785bbe94': { + 'name': 'b60520d68f13b97bb55aa1a50859609e785bbe94', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}",\n action == Action::"action",\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2467f2d0faf23489ec76added7882c5cedb16fa7': { + 'name': '2467f2d0faf23489ec76added7882c5cedb16fa7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '907008678127-w'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3741301f229f701463ccb88679111a6ee8ec5f3c': { + 'name': '3741301f229f701463ccb88679111a6ee8ec5f3c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwGwwwGw': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwGwwwGw'], + 'principalTypes': ['FwGwwwGw'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in FwGwwwGw::":come/f",\n action,\n resource\n) when {\n (true && (principal == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'resource': {'type': 'FwGwwwGw', 'id': ':come/f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6ca51aa544f3347ee2555c7157554cfef53c48d3': { + 'name': '6ca51aa544f3347ee2555c7157554cfef53c48d3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffffff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9cad48f121661b1f12380de738bb9e52d98c5f6a': { + 'name': '9cad48f121661b1f12380de738bb9e52d98c5f6a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '/ja'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cd24b45d64e569bf8a44d0cb26cadd19d02bb896': { + 'name': 'cd24b45d64e569bf8a44d0cb26cadd19d02bb896', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal["A"])) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '78394109dbfcb981c399e46a8654508464eb9ae5': { + 'name': '78394109dbfcb981c399e46a8654508464eb9ae5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource == a::""\n) when {\n (true && (((8825507163624077946 == 31354) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '247504c448b53f0ca04eec7c7c2e95bbe6349146': { + 'name': '247504c448b53f0ca04eec7c7c2e95bbe6349146', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': true}, + 'a': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': true + }, + 'bx7x': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + }, + 's': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'bx7x': [], + 'a': [], + 's': { + '__entity': {'id': '', 'type': 'a'} + }, + 'F': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '104444f7ad4d486497918c7fcb74584bd6ae41b8': { + 'name': '104444f7ad4d486497918c7fcb74584bd6ae41b8', + 'schema_json': { + '_AmdWmXb0g::Cga': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': '_AmdWmXb0g::Cga::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'resource': {'type': '_AmdWmXb0g::Cga::a', 'id': 'j\x00'}, + 'action': {'type': '_AmdWmXb0g::Cga::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3a571207f4cd211aa19031dedc06f50d8ca584cb': { + 'name': '3a571207f4cd211aa19031dedc06f50d8ca584cb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fwww3sww3': { + 'memberOfTypes': ['x', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'x': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'L': { + 'memberOfTypes': ['Fwww3sww3', 'x', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwww3sww3', 'x', 'r'], + 'principalTypes': ['L', 'Fwww3sww3', 'x', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwww3sww3', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'x', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'L', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Fwww3sww3', 'id': ''}, + {'type': 'x', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L', 'id': ''}, + 'resource': {'type': 'Fwww3sww3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5a2dc81292f0d8dbcf7f8150459c4d62dd9a7841': { + 'name': '5a2dc81292f0d8dbcf7f8150459c4d62dd9a7841', + 'schema_json': { + 'q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in q::a::"\\0"\n) when {\n (true && (!((q::a::"\\0" like "Z*Z*") == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'q::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'q::a', 'id': '\x00'}, + 'resource': {'type': 'q::a', 'id': '\x00'}, + 'action': {'type': 'q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ad9568c97753068fff36e91d05581efbc24563c0': { + 'name': 'ad9568c97753068fff36e91d05581efbc24563c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0i\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x00\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '86d0a199b63876773d3ae8683ff767f7857b6116': { + 'name': '86d0a199b63876773d3ae8683ff767f7857b6116', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'q': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'O': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O', 'q', 'A', 'B', 'r'], + 'principalTypes': ['O', 'q', 'A', 'B', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''}, + {'type': 'B', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'q', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'A', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '36d2e49e789a6339ee9470e61ff03a3fd374b3a9': { + 'name': '36d2e49e789a6339ee9470e61ff03a3fd374b3a9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && ((a::"" == principal).isIpv4())) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7355653a76b963d961091dc312be4d67c4e3b070': { + 'name': '7355653a76b963d961091dc312be4d67c4e3b070', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && ((ip(principal == principal))[""])\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5c15f0c7b573e2a15e5581185cd6874f01d9da7f': { + 'name': '5c15f0c7b573e2a15e5581185cd6874f01d9da7f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'O': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'l': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O'], + 'principalTypes': ['O'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == O::"F",\n action == Action::"action",\n resource in O::"F"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'O', 'id': 'F'}, + 'attrs': { + 'l': [{}, {}, {}, {}, {}, {}, {}] + }, + 'parents': [] + }, + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': { + 'l': [{}, {}, {}, {}, {}, {}] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': 'F'}, + 'resource': {'type': 'O', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a58af662d9307881939fdb3948822b3be6620cce': { + 'name': 'a58af662d9307881939fdb3948822b3be6620cce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00`\x00\x00j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b685a4d25c15badc7ac66b97f7c279979bce2725': { + 'name': 'b685a4d25c15badc7ac66b97f7c279979bce2725', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r3': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r3', 'r'], + 'principalTypes': ['r3', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r3', 'id': 'FF'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'r', 'id': 'B'}, + {'type': 'r', 'id': 'FFF'}, + {'type': 'r', 'id': 'F'} + ] + }, + { + 'uid': {'type': 'r', 'id': 'FFF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': 'B'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r3', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': 'F'}, + {'type': 'r', 'id': ''}, + {'type': 'r', 'id': 'FFF'}, + {'type': 'r', 'id': 'B'} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r3', 'id': ''}, + 'resource': {'type': 'r3', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '58bbf2c87350d4a6416a4329908fcbb247f1b331': { + 'name': '58bbf2c87350d4a6416a4329908fcbb247f1b331', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x05\x15\x05'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x05\x15\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x15\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x05\x15\x05'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x05\x15\x05'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd67a2107b6ab6cce42b2160b170aef3b528cd4da': { + 'name': 'd67a2107b6ab6cce42b2160b170aef3b528cd4da', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\t'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f95a4cb686d10f338ec0ebce6dbdde50a49435af': { + 'name': 'f95a4cb686d10f338ec0ebce6dbdde50a49435af', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"",\n action in [A::Action::"action"],\n resource in A::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fb9262fa84996a553a19a60a48cc74477b0c20a0': { + 'name': 'fb9262fa84996a553a19a60a48cc74477b0c20a0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '󅅈\x05\x06': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'ukkkk00000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '󅅈\x05\x06'}, + 'context': {'ukkkk00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9749df77416bd7412963a4f13fe64a9f282adc77': { + 'name': '9749df77416bd7412963a4f13fe64a9f282adc77', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '29a58ad3bd458097fd0a19b29f16e2435339f87f': { + 'name': '29a58ad3bd458097fd0a19b29f16e2435339f87f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"O\\u{2}",\n action == Action::"action",\n resource\n) when {\n (true && (((false == false) == (false == false)) == (principal == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'O\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'O\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4c0c51d692ca6265086b5acf63a8ff7f8e9da31c': { + 'name': '4c0c51d692ca6265086b5acf63a8ff7f8e9da31c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action",Action::"action"],\n resource in a::"60"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3b97e31ddca44e918597c1626cd4e662328203ff': { + 'name': '3b97e31ddca44e918597c1626cd4e662328203ff', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Fwwwwwww': {'type': 'String', 'required': false}, + 'v': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fwwwwwww': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33bdfe5d90bbcbfee44c1dcb1fa7300bb37ef9a2': { + 'name': '33bdfe5d90bbcbfee44c1dcb1fa7300bb37ef9a2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': true}, + 'r': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Fw000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': { + 'A': true, + 'r': { + '__entity': {'id': '\ns', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7ae2b13be44f9b010cac82960fadc5ab7a3305c9': { + 'name': '7ae2b13be44f9b010cac82960fadc5ab7a3305c9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::""],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'Q+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'om'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'Q+'}, + 'resource': {'type': 'a', 'id': 'Q+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '611d9858f9152c7d5f1b16acbda599b1126ec1da': { + 'name': '611d9858f9152c7d5f1b16acbda599b1126ec1da', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r0www': { + 'memberOfTypes': ['F'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'm': { + 'memberOfTypes': ['F333', 'r0www', 'F'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': ['r0www', 'F'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['m', 'F333', 'r0www', 'F'], + 'principalTypes': ['m', 'F333', 'r0www', 'F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r0www', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F', 'id': ''}, + {'type': 'r0www', 'id': ''} + ] + }, + { + 'uid': {'type': 'm', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''}, + {'type': 'F', 'id': ''}, + {'type': 'r0www', 'id': ''} + ] + }, + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm', 'id': ''}, + 'resource': {'type': 'm', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0821f9d8ec765af8242685b3dce67d7b4f358ec2': { + 'name': '0821f9d8ec765af8242685b3dce67d7b4f358ec2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"ff",\n action in [Action::"action"],\n resource == a::"ff"\n) when {\n ((true && (!((a::"ff".isIpv6()) like ""))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '645b79a523b93798bfeb96edc79a3f81a28f28c3': { + 'name': '645b79a523b93798bfeb96edc79a3f81a28f28c3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Ro1JJJJ': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Ro1JJJJ'], + 'principalTypes': ['Ro1JJJJ'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == Ro1JJJJ::"",\n action,\n resource in Ro1JJJJ::"\\0\\0\\0R"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Ro1JJJJ', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'resource': {'type': 'Ro1JJJJ', 'id': '\x00\x00\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '06ff234c0c72dc1f8e3ccbd93f4b03820a6c11f5': { + 'name': '06ff234c0c72dc1f8e3ccbd93f4b03820a6c11f5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("\\\'#\\u{8}Zzzzz")\nforbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd726a4220e6c8f359b14a71ad4dde4392685f4fe': { + 'name': 'd726a4220e6c8f359b14a71ad4dde4392685f4fe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n (true && "") && (!"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '62363d0ed447657187a9c69d3024f7c85f457c4c': { + 'name': '62363d0ed447657187a9c69d3024f7c85f457c4c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n (true && (((false == context) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'fc68e0680604a1abef56806cd2b3d0867a3a2e12': { + 'name': 'fc68e0680604a1abef56806cd2b3d0867a3a2e12', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && r::"\\u{2}"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e59983d65a5e9a428f95d8026ff7aa306ce89dc8': { + 'name': 'e59983d65a5e9a428f95d8026ff7aa306ce89dc8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'va/lang/inv': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '::': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'va/lang/inv'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ec8f38afacaa4b80b214366039f6e06dc680ae8b': { + 'name': 'ec8f38afacaa4b80b214366039f6e06dc680ae8b', + 'schema_json': { + 'r::B::xl::V': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::B::xl::V::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::B::xl::V::a', 'id': ''}, + 'resource': {'type': 'r::B::xl::V::a', 'id': ''}, + 'action': {'type': 'r::B::xl::V::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7756eab468f4b3f5425417050c27371a62259b00': { + 'name': '7756eab468f4b3f5425417050c27371a62259b00', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\t'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\t\t\t\t\t\t\t\t\t\t\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\t\t\t\t\t\t\t\t\t\t\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\t'}, + 'resource': {'type': 'a', 'id': '\x00\t'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e4e864d0711220c5104e01ed1336f9a0d10dff58': { + 'name': 'e4e864d0711220c5104e01ed1336f9a0d10dff58', + 'schema_json': { + 'r::r::r::a::xBKLJ0::r::r::i::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A00000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::a::xBKLJ0::r::r::i::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::a::xBKLJ0::r::r::i::r::Action', + 'id': 'action' + }, + 'context': {'A00000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3d6ffca287c3df90bc95ce6c90cc5fa524b6d997': { + 'name': '3d6ffca287c3df90bc95ce6c90cc5fa524b6d997', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == F::":\\\':",\n action in [Action::"action"],\n resource\n) when {\n true && (!(!(!true)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'F', 'id': ":':"}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ":':"}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a92eaa64313a15a7b6e9f6fe8cd0ad0d19ae4d79': { + 'name': 'a92eaa64313a15a7b6e9f6fe8cd0ad0d19ae4d79', + 'schema_json': { + 'A0': { + 'commonTypes': {}, + 'entityTypes': { + 'l': { + 'memberOfTypes': ['r3'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r3': { + 'memberOfTypes': ['Fwww'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['l', 'r3', 'Fwww'], + 'principalTypes': ['l', 'Fwww'], + 'context': { + 'type': 'Record', + 'attributes': { + 'y': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0::Fwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A0::r3', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A0::Fwww', 'id': ''} + ] + }, + { + 'uid': {'type': 'A0::l', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A0::Fwww', 'id': ''}, + {'type': 'A0::r3', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0::l', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {'y': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0313a890a7c564ed07a4df40f8d745880de33071': { + 'name': '0313a890a7c564ed07a4df40f8d745880de33071', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::"F"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd74e197beb7238d43a1ad2a90dbd42c9d9cfc44f': { + 'name': 'd74e197beb7238d43a1ad2a90dbd42c9d9cfc44f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::""],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '498782a089afb0b73e45ba4b1c0697f8bad28ed7': { + 'name': '498782a089afb0b73e45ba4b1c0697f8bad28ed7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"0\\u{1}\\0\\0",\n action == Action::"action",\n resource == a::"0\\u{1}\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'resource': {'type': 'a', 'id': '0\x01\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '19bffea7904c3d95cbc5e489417c331004b8b10d': { + 'name': '19bffea7904c3d95cbc5e489417c331004b8b10d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}",\n action == Action::"action",\n resource == a::"\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'resource': {'type': 'a', 'id': '\b\b\b\b\b\b\b\b\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3d707a276da82a88c7ca84ee7a2707e3dabb60e9': { + 'name': '3d707a276da82a88c7ca84ee7a2707e3dabb60e9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\n",\n action in [Action::"action",Action::"action"],\n resource == a::"\\n"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n'}, + 'resource': {'type': 'a', 'id': '\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c9544d8da6332ce73e4e6e93fd80b99246c9504e': { + 'name': 'c9544d8da6332ce73e4e6e93fd80b99246c9504e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"9\\\'p306",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6921d9a2ecdfcfee6cce4ff1f90ee25865ba761a': { + 'name': '6921d9a2ecdfcfee6cce4ff1f90ee25865ba761a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && 1560281158) && (((9509 == principal) == principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c9d785d24decdab39f65bd89d74169d6cae6a4c4': { + 'name': 'c9d785d24decdab39f65bd89d74169d6cae6a4c4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}?\\u{13}\\0\\0\\0",\n action in [],\n resource in a::"\\u{2}?\\u{13}\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02?\x13\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8783bbac77ad98fca11a0df2f4d2ee266f0a465c': { + 'name': '8783bbac77ad98fca11a0df2f4d2ee266f0a465c', + 'schema_json': { + 'Q::A::V': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['w'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'w'], + 'principalTypes': ['A', 'w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Q::A::V::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Q::A::V::w', 'id': ''} + ] + }, + { + 'uid': {'type': 'Q::A::V::w', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Q::A::V::A', 'id': ''}, + 'resource': {'type': 'Q::A::V::A', 'id': ''}, + 'action': {'type': 'Q::A::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '24da1a6ccec424d0c222eefee5d87bc6e2988797': { + 'name': '24da1a6ccec424d0c222eefee5d87bc6e2988797', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"`"\n) when {\n (true && "\\0\\0\\0\\0\\0") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6bb7b7d5396f2e5850df4a465f8ee22385254062': { + 'name': '6bb7b7d5396f2e5850df4a465f8ee22385254062', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"::::::\\u{2}",\n action in [Action::"action",Action::"action"],\n resource in a::"::::::\\u{2}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::::::\x02'}, + 'attrs': { + 'F': [false] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '098ba12b4f5c65c43dd6f6ec2ba0e59642149b25': { + 'name': '098ba12b4f5c65c43dd6f6ec2ba0e59642149b25', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && action) && ((principal < principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fca2f45c5b79fb2b1c3e08f663883fc020d2f8ad': { + 'name': 'fca2f45c5b79fb2b1c3e08f663883fc020d2f8ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (((false == principal) == ("" == principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '38c1eb9343c6973a49a3d8e09787970693505a0d': { + 'name': '38c1eb9343c6973a49a3d8e09787970693505a0d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca010ae77009ab1e7e6ead8fc87549c4adacc30a': { + 'name': 'ca010ae77009ab1e7e6ead8fc87549c4adacc30a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '\x00\x00~', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00\x00\x00~', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00\x00\x00~', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00\x00\x00~', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00\x00\x00~', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00\x00\x00~', 'type': 'a'} + } + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'attrs': {'A': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00~'}, + 'attrs': {'A': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00\x00\x00~'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '82e0009729d4fe23f1ca9992ea9311b61228b36a': { + 'name': '82e0009729d4fe23f1ca9992ea9311b61228b36a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"ff",\n action == Action::"action",\n resource == a::"ff"\n) when {\n true && (Action::"action".containsAll(true))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '177277820fc165579ff72b027629c616ef7a1708': { + 'name': '177277820fc165579ff72b027629c616ef7a1708', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'xYqXb0wwwwww0S': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fw900Aam': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['xYqXb0wwwwww0S'], + 'principalTypes': ['Fw900Aam', 'xYqXb0wwwwww0S'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fw900Aam', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fw900Aam', 'id': ''}, + 'resource': {'type': 'xYqXb0wwwwww0S', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a5feeea2c9b1b816cba003732da8fe1ae9bb12c4': { + 'name': 'a5feeea2c9b1b816cba003732da8fe1ae9bb12c4', + 'schema_json': { + 'Fwwwwww0': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwwww0::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'resource': {'type': 'Fwwwwww0::a', 'id': '::'}, + 'action': {'type': 'Fwwwwww0::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'befa779a6eaa498e69b648767ef394de194387f5': { + 'name': 'befa779a6eaa498e69b648767ef394de194387f5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '870c25a990be727397d9239cd5a34f904c341e77': { + 'name': '870c25a990be727397d9239cd5a34f904c341e77', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f9e02a91691711a8be7fb43dc371d5a1d58aca0f': { + 'name': 'f9e02a91691711a8be7fb43dc371d5a1d58aca0f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n ((true && action) && ((false == principal) <= principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4282a992ca276f1e585951dff5ac730f8ffcbbd2': { + 'name': '4282a992ca276f1e585951dff5ac730f8ffcbbd2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'CRRRRRRSxxx': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['CRRRRRRSxxx'], + 'principalTypes': ['CRRRRRRSxxx'], + 'context': { + 'type': 'Record', + 'attributes': { + 'O': {'type': 'Boolean', 'required': true}, + 'Z00cx': { + 'type': 'Record', + 'attributes': { + 'zz': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'resource': {'type': 'CRRRRRRSxxx', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'O': false, + 'Z00cx': {'zz': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aeffa0eb74c897ada3e7d2d19f725267a96c95a2': { + 'name': 'aeffa0eb74c897ada3e7d2d19f725267a96c95a2', + 'schema_json': { + 'R::Wj::R': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'B': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::Wj::R::a', 'id': ''}, + 'attrs': {'B': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::Wj::R::a', 'id': ''}, + 'resource': {'type': 'R::Wj::R::a', 'id': ''}, + 'action': {'type': 'R::Wj::R::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7f6f7bc48b745460951322d29033e15a37d81517': { + 'name': '7f6f7bc48b745460951322d29033e15a37d81517', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action == Action::"action",\n resource == a::"\\0\\0"\n) when {\n (true && (1008963611370 || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c10aa3b07f492919881b4b1c365353efff902a68': { + 'name': 'c10aa3b07f492919881b4b1c365353efff902a68', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'O': { + 'memberOfTypes': ['q', 'A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'q': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O', 'q', 'A', 'B'], + 'principalTypes': ['O', 'q', 'A', 'B', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'q', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'B', 'id': ''}, + {'type': 'A', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'B', 'id': ''}, + {'type': 'q', 'id': ''} + ] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4461c2fe905a94188504b0ee99a49459170ee478': { + 'name': '4461c2fe905a94188504b0ee99a49459170ee478', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': { + 'F': [false, false] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::C:\n::::'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e724a7ae0f37a356481bfd94170d5e699c0c4315': { + 'name': 'e724a7ae0f37a356481bfd94170d5e699c0c4315', + 'schema_json': { + 'A000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in A000::a::"",\n action in [A000::Action::"action"],\n resource == A000::a::""\n) when {\n (true && (principal.isLoopback())) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A000::a', 'id': ''}, + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '298423e730f2241a57e0c47d2966eedc87ad734c': { + 'name': '298423e730f2241a57e0c47d2966eedc87ad734c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && (if ((1008963615466 && principal) && principal) then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e7ea865260e727d3de17230d456dbbfc0573410e': { + 'name': 'e7ea865260e727d3de17230d456dbbfc0573410e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'W': { + 'memberOfTypes': ['r', 'F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['W', 'F333'], + 'principalTypes': ['r', 'F333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'W', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ':!:'}, + {'type': 'r', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ':!:'}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ':!:'}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '62d2b41f48e2b3cd6878b7bf0e984fc90b9004db': { + 'name': '62d2b41f48e2b3cd6878b7bf0e984fc90b9004db', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action",Action::"action"],\n resource == a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5e484c7407a82c3fd17fb71f7bc50b4d4c94cd4b': { + 'name': '5e484c7407a82c3fd17fb71f7bc50b4d4c94cd4b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7a7cf07a92c1881c48212c5318767c5e80b2f814': { + 'name': '7a7cf07a92c1881c48212c5318767c5e80b2f814', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Fw': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {'Fw': false}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ddcacf2669cc2037f337afa4ba73f1e07b4a9450': { + 'name': 'ddcacf2669cc2037f337afa4ba73f1e07b4a9450', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}1",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && Action::"action") && action\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1428be36f22253120a30e9f784383e2be0b005e1': { + 'name': '1428be36f22253120a30e9f784383e2be0b005e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G', 'id': '::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'G', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': '::'}, + 'resource': {'type': 'G', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a5f5eaf2971db213ce1b1716d0e088b80ae6959b': { + 'name': 'a5f5eaf2971db213ce1b1716d0e088b80ae6959b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'y': {'type': 'Long', 'required': false}, + 'yi': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'y': -502650286645773924, 'yi': -502650286645773924}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2a501921cf1b30900cab66e49cb20fea18b23cc3': { + 'name': '2a501921cf1b30900cab66e49cb20fea18b23cc3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'aa622dd75db087080957e0009c870263691379a2': { + 'name': 'aa622dd75db087080957e0009c870263691379a2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bs': {'type': 'String', 'required': false}, + 'u': {'type': 'String', 'required': false}, + 'v': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '80'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u': '', 'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fa5b36a47a47b238757408e90592d612aabcdd20': { + 'name': 'fa5b36a47a47b238757408e90592d612aabcdd20', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Entity', 'name': 'cP::v::a', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::a', 'id': '\x00\x00\x00'}, + 'attrs': { + 'x': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'cP::v::a', 'id': '#'}, + 'attrs': { + 'x': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': { + 'x': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5adb971dbb6de269470eb3f39f016ee6c86e3a3d': { + 'name': '5adb971dbb6de269470eb3f39f016ee6c86e3a3d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b335948a70874cd4556e6b60cd794cd9285feb22': { + 'name': 'b335948a70874cd4556e6b60cd794cd9285feb22', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Qxxx': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A000': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Qxxx': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'babfcc8b3847d347f710f4a46ae1ac192986c981': { + 'name': 'babfcc8b3847d347f710f4a46ae1ac192986c981', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"66",\n action == Action::"action",\n resource == a::"66"\n) when {\n true && (!(!principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a0151867c4cc2ac509c85a2bd56dbeed7cc3855f': { + 'name': 'a0151867c4cc2ac509c85a2bd56dbeed7cc3855f', + 'schema_json': { + 'LYY::Qml::Edxl::Kxx0xxx': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'resource': {'type': 'LYY::Qml::Edxl::Kxx0xxx::a', 'id': 'zz'}, + 'action': {'type': 'LYY::Qml::Edxl::Kxx0xxx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c11155edcd9d349266c30abc408a7a69e36baa63': { + 'name': 'c11155edcd9d349266c30abc408a7a69e36baa63', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0i\\0",\n action in [Action::"action"],\n resource in a::"\\0i\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a54f9c6bdd7a65aad28eea03eaef38ef77f3914f': { + 'name': 'a54f9c6bdd7a65aad28eea03eaef38ef77f3914f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\"\\"\\"\\"",\n action,\n resource in a::"\\"\\"\\"\\""\n) when {\n (true && (if principal then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '""""'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '""""'}, + 'resource': {'type': 'a', 'id': '""""'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c355a2b4b6b737adf181d3ef1dadaa55a446dbd1': { + 'name': 'c355a2b4b6b737adf181d3ef1dadaa55a446dbd1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + ';': {'type': 'String', 'required': false}, + 'z': {'type': 'String', 'required': false}, + 'zzzzz5z5\nzz': {'type': 'String', 'required': false}, + 'z\x7F': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': {'': '', ';': '', 'z': '', 'zzzzz5z5\nzz': '', 'z\x7F': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '68debdc28bc7bb0b9fde031dd6d2966ce46eddea': { + 'name': '68debdc28bc7bb0b9fde031dd6d2966ce46eddea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'mS133o3333b3': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'mS133o3333b3': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fde8acc835ba1326b9a688e85fb82d5207d02cf2': { + 'name': 'fde8acc835ba1326b9a688e85fb82d5207d02cf2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': true}, + 'Al333': {'type': 'Boolean', 'required': false}, + 'Yhh33': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'm/': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Yhh33': false, 'A': '', 'r': false, 'Al333': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'm/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5a21934d3b7aac23efbac0239b70091420e324d0': { + 'name': '5a21934d3b7aac23efbac0239b70091420e324d0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'AYrdlcwl': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['AYrdlcwl'], + 'principalTypes': ['AYrdlcwl'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == AYrdlcwl::":",\n action in [Action::"action"],\n resource in AYrdlcwl::":"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'AYrdlcwl', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'AYrdlcwl', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'AYrdlcwl', 'id': ''}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'AYrdlcwl', 'id': ':'}, + 'resource': {'type': 'AYrdlcwl', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '25e0fdd9c56f74f7ddf8ee29b2f7737a6e33a70d': { + 'name': '25e0fdd9c56f74f7ddf8ee29b2f7737a6e33a70d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'R2uvummmkkOhhmmmk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['R2uvummmkkOhhmmmk'], + 'principalTypes': ['R2uvummmkkOhhmmmk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in R2uvummmkkOhhmmmk::"\\0",\n action in [Action::"action"],\n resource in R2uvummmkkOhhmmmk::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'resource': {'type': 'R2uvummmkkOhhmmmk', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ce937b05f78203ed138b10bafa0bcaecb8240e5c': { + 'name': 'ce937b05f78203ed138b10bafa0bcaecb8240e5c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && (!principal)) && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x07\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x07\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5320b71442cc53b16af47425ff1b2305c83daca4': { + 'name': '5320b71442cc53b16af47425ff1b2305c83daca4', + 'schema_json': { + 'B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B::a', 'id': 'e'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'def_m'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'eng'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': '::ffff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'in'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B::a', 'id': '::ffff'}, + 'resource': {'type': 'B::a', 'id': '::ffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22855fc1b09948347a10b2517a2bb436c6451bb6': { + 'name': '22855fc1b09948347a10b2517a2bb436c6451bb6', + 'schema_json': { + 'r::r::M::r::uH::r': { + 'commonTypes': {}, + 'entityTypes': { + 'R': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'rh': { + 'memberOfTypes': ['R'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['R'], + 'principalTypes': ['rh', 'R'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::M::r::uH::r::R', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::M::r::uH::r::rh', 'id': ''}, + 'resource': {'type': 'r::r::M::r::uH::r::R', 'id': ''}, + 'action': {'type': 'r::r::M::r::uH::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '39310c282d59af031138d9d5c4a34fb72ee09942': { + 'name': '39310c282d59af031138d9d5c4a34fb72ee09942', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && action) && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '33ba9b80d12ea32a9c75a00947821df2bddbaf8a': { + 'name': '33ba9b80d12ea32a9c75a00947821df2bddbaf8a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '38dfe4c1c5a135e45453f22f50bc144f1b576bd1': { + 'name': '38dfe4c1c5a135e45453f22f50bc144f1b576bd1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\b~\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':\b~\x00'}, + 'resource': {'type': 'a', 'id': ':\b~\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '48154a223eea1a1e5ae5334c1a5e784459d02001': { + 'name': '48154a223eea1a1e5ae5334c1a5e784459d02001', + 'schema_json': { + 'zxxjjjjjj::Gxtxxxx9x': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Wxt70000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'resource': {'type': 'zxxjjjjjj::Gxtxxxx9x::a', 'id': ''}, + 'action': {'type': 'zxxjjjjjj::Gxtxxxx9x::Action', 'id': 'action'}, + 'context': {'Wxt70000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '88ae543a35ed13de3dc6e368575b1873114207bb': { + 'name': '88ae543a35ed13de3dc6e368575b1873114207bb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource == a::"\\u{2}1"\n) when {\n (true && ((false == a::"\\u{2}1") == (("" == principal) && principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b5df629c792d661f4c4bddbd32df911464282586': { + 'name': 'b5df629c792d661f4c4bddbd32df911464282586', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'J': { + 'type': 'Record', + 'attributes': { + '': {'type': 'Long', 'required': false}, + '\x15': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + }, + 'o': {'type': 'Entity', 'name': 'a', 'required': true}, + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'J': {'': 0, '\x15': []}, + 'r': false, + 'o': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6905796d4dccd760c485e3cb89f45cbab82527d2': { + 'name': '6905796d4dccd760c485e3cb89f45cbab82527d2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['p'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'p': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'p'], + 'principalTypes': ['p'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': '\x1B'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': '\x01'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': ')c'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': '\x01\x1B\x02'}, + 'attrs': {}, + 'parents': [ + {'type': 'p', 'id': ''} + ] + }, + { + 'uid': {'type': 'p', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'p', 'id': ''}, + 'resource': {'type': 'A', 'id': '\x1B'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1684af6121f7ff5362748cebac0a29ed0c9c62b6': { + 'name': '1684af6121f7ff5362748cebac0a29ed0c9c62b6', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'FkldY1jjjjjjjam': {'type': 'String', 'required': false}, + 'FpYajcl0000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {'FpYajcl0000000': '', 'FkldY1jjjjjjjam': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d0a212b70378bf1433d4b49c52df64c1398b8cd': { + 'name': '9d0a212b70378bf1433d4b49c52df64c1398b8cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::"action") && "\\0\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '56446144b3a9f536491ff2bf056a614ae755fa00': { + 'name': '56446144b3a9f536491ff2bf056a614ae755fa00', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '604c9e765d3ed119989ee5e35171b99c1291b67d': { + 'name': '604c9e765d3ed119989ee5e35171b99c1291b67d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '306'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '21c71f1bcb3e7db91651dda47425d30e8fa717c0': { + 'name': '21c71f1bcb3e7db91651dda47425d30e8fa717c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'h'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6801c1e1487af296bb372cbe1ef80a62f0d03740': { + 'name': '6801c1e1487af296bb372cbe1ef80a62f0d03740', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A0000': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A0000', 'r'], + 'principalTypes': ['A0000', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A0000', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': 'F\x00'}, + {'type': 'r', 'id': ''}, + {'type': 'r', 'id': 'F'} + ] + }, + { + 'uid': {'type': 'r', 'id': 'F\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0000', 'id': ''}, + 'resource': {'type': 'A0000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f21be42147b2c967fb72a5a20c0775c178a5abbe': { + 'name': 'f21be42147b2c967fb72a5a20c0775c178a5abbe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && (([0, principal] || principal) like "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c00aed5424af094435eca1de3f47ca9827d3c879': { + 'name': 'c00aed5424af094435eca1de3f47ca9827d3c879', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd28c88c97d3574fd3d9db3eb23d531316717d49b': { + 'name': 'd28c88c97d3574fd3d9db3eb23d531316717d49b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1279c78d7129da3081c0e775922e200814aec43c': { + 'name': '1279c78d7129da3081c0e775922e200814aec43c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'W': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['W', 'n', 'r'], + 'principalTypes': ['W', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'W', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''}, + {'type': 'n', 'id': '::'} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'n', 'id': '::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '088d19004f5dc68c8707347fab6f817bc33f0df3': { + 'name': '088d19004f5dc68c8707347fab6f817bc33f0df3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false}, + 'fwuwww_Qwwuw10': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {'fwuwww_Qwwuw10': '', 'E': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3bd059ed8326d059b6e6a00261c099c633d8efd1': { + 'name': '3bd059ed8326d059b6e6a00261c099c633d8efd1', + 'schema_json': { + 'lAdw6wyUy6U784': { + 'commonTypes': {}, + 'entityTypes': { + 'g333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x07': { + 'appliesTo': { + 'resourceTypes': ['g333'], + 'principalTypes': ['g333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'resource': {'type': 'lAdw6wyUy6U784::g333', 'id': ''}, + 'action': {'type': 'lAdw6wyUy6U784::Action', 'id': '\x07'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '02a49223197987f55c4eb3a434db07b1d23a377a': { + 'name': '02a49223197987f55c4eb3a434db07b1d23a377a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"j\\07\\u{1}\\0\\0\\0"\n) when {\n ((true && l::l::A::r::"") && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x007\x01\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3af08a3dfbcbda787190470df772019a5f81d7d3': { + 'name': '3af08a3dfbcbda787190470df772019a5f81d7d3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A0037wwwwwwpwoocs': { + 'type': 'Entity', + 'name': 'a', + 'required': false + }, + 'n': {'type': 'Entity', 'name': 'a', 'required': true}, + 'r': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'r': { + '__entity': {'id': '', 'type': 'a'} + }, + 'A0037wwwwwwpwoocs': { + '__entity': {'id': '', 'type': 'a'} + }, + 'n': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7c9d4dea53dc2243566328f40cb2bd97ffbbdff8': { + 'name': '7c9d4dea53dc2243566328f40cb2bd97ffbbdff8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && [a::"", "", principal, principal]\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd69a5e50101bb3dad855bf18f8b67c157144eb41': { + 'name': 'd69a5e50101bb3dad855bf18f8b67c157144eb41', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'A0000': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'A': '\x00\x00\x00\x00\x00:', 'A0000': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A0000': false, 'A': '\x00\x00\x00\x00\x00:'}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b09c050c89c695099088ec2c50e89094ecf2683e': { + 'name': 'b09c050c89c695099088ec2c50e89094ecf2683e', + 'schema_json': { + 'g::r::A::Q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == g::r::A::Q::a::"",\n action in [g::r::A::Q::Action::"action"],\n resource == g::r::A::Q::a::""\n) when {\n (true && (if (principal.isLoopback()) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'g::r::A::Q::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '781f72a1adf8dcc76f8bcc6e3f78fcb738583ec5': { + 'name': '781f72a1adf8dcc76f8bcc6e3f78fcb738583ec5', + 'schema_json': { + 'Dlqsllvklb': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'C': { + 'type': 'Record', + 'attributes': { + '\x02': {'type': 'String', 'required': true}, + r'$': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + }, + 'O': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'resource': {'type': 'Dlqsllvklb::a', 'id': ''}, + 'action': {'type': 'Dlqsllvklb::Action', 'id': 'action'}, + 'context': { + 'C': {'\x02': '', r'$': false}, + 'O': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '834280c350074a677889fb77ec7849eb89d4d304': { + 'name': '834280c350074a677889fb77ec7849eb89d4d304', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && action) && ((principal < principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'eb79680a659ae3f09376151f8d754ec0c055497d': { + 'name': 'eb79680a659ae3f09376151f8d754ec0c055497d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource in a::"z~"\n) when {\n true && (!(!false))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'z~'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b3f1cf53e38305a659a1e2d048f9613d35acf097': { + 'name': 'b3f1cf53e38305a659a1e2d048f9613d35acf097', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 4195882857412573894}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 63}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5a6109ea615dc3004acbb62b10c847905ae6b4e3': { + 'name': '5a6109ea615dc3004acbb62b10c847905ae6b4e3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4f09ef26ee4259c97464c0d816cd0f5ee20cf269': { + 'name': '4f09ef26ee4259c97464c0d816cd0f5ee20cf269', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'resource': {'type': 'a', 'id': '+\x00\x00\x00\x00\x00Lj'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'df13479cf32a69d57cc90e21031485de6b8aee93': { + 'name': 'df13479cf32a69d57cc90e21031485de6b8aee93', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00jj,\x00\x00#\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c8d3de0be6b995f789a4670cd16f4614de8b907e': { + 'name': 'c8d3de0be6b995f789a4670cd16f4614de8b907e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0\\0"\n) when {\n (true && ("" == "1")) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3fc5409b18d589862941b8e943a52c8a0a229fac': { + 'name': '3fc5409b18d589862941b8e943a52c8a0a229fac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'xd0d3': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'x': { + 'memberOfTypes': ['xd0d3'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['x', 'xd0d3'], + 'principalTypes': ['x', 'xd0d3'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'xd0d3', 'id': ''} + ] + }, + { + 'uid': {'type': 'xd0d3', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1ad2ee43424d84ac48ec1b2b43975b8adc7d5687': { + 'name': '1ad2ee43424d84ac48ec1b2b43975b8adc7d5687', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x10\x00:\n'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:' + }, + 'resource': {'type': 'a', 'id': '\x00::\x10\x00:\n:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f9c354e3ba7eb40a2a786e83eba1831d1c00a8ce': { + 'name': 'f9c354e3ba7eb40a2a786e83eba1831d1c00a8ce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x026': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"6",\n action == Action::"\\u{2}6",\n resource\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '6'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '6'}, + 'action': {'type': 'Action', 'id': '\x026'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7ee6fb3a43cc9ddb6fea6f1920b863b7cc3f5b79': { + 'name': '7ee6fb3a43cc9ddb6fea6f1920b863b7cc3f5b79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0df0cd1c61dd709bdeb1a9090b8a8f8f81a772d0': { + 'name': '0df0cd1c61dd709bdeb1a9090b8a8f8f81a772d0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': r'$'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': r'$'}, + 'resource': {'type': 'a', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd1c32f30179c22ca32ee6b9a78b6467c4609e103': { + 'name': 'd1c32f30179c22ca32ee6b9a78b6467c4609e103', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"/t:",\n action in [Action::"action"],\n resource == a::"/t:"\n) when {\n true && (!a::"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '/t:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '/t:'}, + 'resource': {'type': 'a', 'id': '/t:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '05d5cc85e0bfd0be2cb5ee9732223370e8137faa': { + 'name': '05d5cc85e0bfd0be2cb5ee9732223370e8137faa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': [false, false] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': [false, false, false, false, false, false, false] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c2348e68db99c71ec27a21d912a4b0233d9328d2': { + 'name': 'c2348e68db99c71ec27a21d912a4b0233d9328d2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'm': {'type': 'Boolean', 'required': false}, + 'vJ8lLw': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'m': false, 'vJ8lLw': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0a49dd819ecf631af113d714801745fd24192814': { + 'name': '0a49dd819ecf631af113d714801745fd24192814', + 'schema_json': { + 'qss::A000r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in qss::A000r::a::"6006+",\n action in [qss::A000r::Action::"action"],\n resource in qss::A000r::a::"6006+"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'qss::A000r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'resource': {'type': 'qss::A000r::a', 'id': '6006+'}, + 'action': {'type': 'qss::A000r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd88d28618e57781b90b2cb062eb2e0c35074968b': { + 'name': 'd88d28618e57781b90b2cb062eb2e0c35074968b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F33w': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Fmwwwddd': { + 'type': 'Entity', + 'name': 'F33w', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r'], + 'principalTypes': ['F33w', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F33w', 'id': ''}, + 'attrs': { + 'Fmwwwddd': { + '__entity': {'id': '::', 'type': 'F33w'} + } + }, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'F33w', 'id': '::'}, + 'attrs': { + 'Fmwwwddd': { + '__entity': {'id': '::', 'type': 'F33w'} + } + }, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F33w', 'id': '::'}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ed1329e9a9e4ae97dda03d5e6f8dbcc1cd4262f9': { + 'name': 'ed1329e9a9e4ae97dda03d5e6f8dbcc1cd4262f9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action,\n resource\n) when {\n (true && a::"60") && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f9dc7c46f28bc271d95fce5da6c6422e9590da14': { + 'name': 'f9dc7c46f28bc271d95fce5da6c6422e9590da14', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && (false == principal)) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'baf85e0c1b79dbcd88df62d430e23b2ecbc41685': { + 'name': 'baf85e0c1b79dbcd88df62d430e23b2ecbc41685', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"-",\n action in [Action::"action"],\n resource == a::"-"\n) when {\n true && (!((false <= a::"-").contains(!"")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '-'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '-'}, + 'resource': {'type': 'a', 'id': '-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3809ebc3065747fbc30b6ef8ff72d7c461aea32c': { + 'name': '3809ebc3065747fbc30b6ef8ff72d7c461aea32c', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == A::a::"\\0",\n action in [A::Action::"action",A::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '458d087908efdf7dbdc6f52607eba655bf5fddb2': { + 'name': '458d087908efdf7dbdc6f52607eba655bf5fddb2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && Action::"action") && "") && (!"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ';;'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '91adf03cbe884e8fa30d82feb500d576e6488fcb': { + 'name': '91adf03cbe884e8fa30d82feb500d576e6488fcb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'va/lm888Azw': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f9ec5e083fd2ef98a00b97f5f8c13e384fc353a4': { + 'name': 'f9ec5e083fd2ef98a00b97f5f8c13e384fc353a4', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 's::a', 'id': '\x00\x00'}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e3f5ca95a7fabe1adf9e44fdd782d45071ca5b89': { + 'name': 'e3f5ca95a7fabe1adf9e44fdd782d45071ca5b89', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n ((true && ((a::"" like "") == "")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7c2a4e29605b66e49b6344c8cfe34084f2c0c5bc': { + 'name': '7c2a4e29605b66e49b6344c8cfe34084f2c0c5bc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && "") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a596945828158d5e9660026876c9978689c098de': { + 'name': 'a596945828158d5e9660026876c9978689c098de', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'vxCxz': { + 'memberOfTypes': ['a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'zd': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['vxCxz'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['vxCxz', 'a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::vxCxz', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::vxCxz', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'zd'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d1dac4b5e28cc86db794732f1a2db6be9e18a0e': { + 'name': '9d1dac4b5e28cc86db794732f1a2db6be9e18a0e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && a::"\\0") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3b404fbd0ca2eae78b2dff027d8c9a7278caf317': { + 'name': '3b404fbd0ca2eae78b2dff027d8c9a7278caf317', + 'schema_json': { + 'r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F': { + 'memberOfTypes': ['r', 'r333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['r333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F', 'r', 'r333'], + 'principalTypes': ['F', 'r', 'r333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::G::r::F', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::G::r::r', 'id': ''}, + {'type': 'r::G::r::r333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::G::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::G::r::r333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::G::r::r333', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::G::r::F', 'id': ''}, + 'resource': {'type': 'r::G::r::F', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '36f8dc2a745bacfb69d84c7787444decdaa2d5fe': { + 'name': '36f8dc2a745bacfb69d84c7787444decdaa2d5fe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhfhh': { + 'memberOfTypes': ['K'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhfhh', 'K'], + 'principalTypes': ['Kfhhfhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'resource': {'type': 'Kfhhfhh', 'id': '\x13.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ffc71657bf844fa7533226aa6332feb267d448f7': { + 'name': 'ffc71657bf844fa7533226aa6332feb267d448f7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhhh'], + 'principalTypes': ['Kfhhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhhh', 'id': '\x13'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': '..\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0838cceb544b3bfcb7069ef1840a5147c926c4d6': { + 'name': '0838cceb544b3bfcb7069ef1840a5147c926c4d6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}",\n action in [Action::"action"],\n resource\n) when {\n (true && "u") && (false && "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '75991579ecaf381eb36bdbe0e57b539cc6d3fd05': { + 'name': '75991579ecaf381eb36bdbe0e57b539cc6d3fd05', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (-(Action::"action"))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4c379c5194afcf24ed4dd644b8146b04ec212f78': { + 'name': '4c379c5194afcf24ed4dd644b8146b04ec212f78', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"ffff",\n action in [Action::"action"],\n resource == a::"ffff"\n) when {\n (true && (context == false)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '22b4a182031e98aa6a6fca4afeb5e43b150a3886': { + 'name': '22b4a182031e98aa6a6fca4afeb5e43b150a3886', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action == Action::"action",\n resource in a::"\\0"\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '59747d78d2a6fbaf05198b9519d2004fc922ecee': { + 'name': '59747d78d2a6fbaf05198b9519d2004fc922ecee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '^'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e94fdece040a7781911fed00f38902354403df84': { + 'name': 'e94fdece040a7781911fed00f38902354403df84', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0\\0:\\0\\0",\n action in [Action::"action",Action::"action"],\n resource in a::"::"\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8401598fc8849db48f87ae0e2451d84cfef21a0a': { + 'name': '8401598fc8849db48f87ae0e2451d84cfef21a0a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'G': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'u': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['u', 'r', 'G'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + ';': { + 'appliesTo': { + 'resourceTypes': ['G'], + 'principalTypes': ['u', 'r', 'G'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'u', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'u', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '14baa465818b2da2f72d88d491dbbb20d0fe58bb': { + 'name': '14baa465818b2da2f72d88d491dbbb20d0fe58bb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0",\n action in [Action::"action"],\n resource\n) when {\n true && ((!(!a::"\\0")) == true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '443a284848778e4b40c74fb093209b78e9eade2a': { + 'name': '443a284848778e4b40c74fb093209b78e9eade2a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && ("\\u{4}\\u{5}" in (false || principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7b9bcbbc7a191f346a4b355e999c0e7af112f464': { + 'name': '7b9bcbbc7a191f346a4b355e999c0e7af112f464', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1dc0dbcb9b9121975d3398e1e6a2893b6361cbea': { + 'name': '1dc0dbcb9b9121975d3398e1e6a2893b6361cbea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"\\0\\u{6}\\u{6}\\0"\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '21a4f15aa3b7c011ba1e7c57d79d6b131f9f64a3': { + 'name': '21a4f15aa3b7c011ba1e7c57d79d6b131f9f64a3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '279dc8ec66ae24655885489ce18e4e1ed8d8b0b9': { + 'name': '279dc8ec66ae24655885489ce18e4e1ed8d8b0b9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::::\x02'}, + 'attrs': { + 'F': [true] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': { + 'F': [true] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [true] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b22b165e1e51019db4f32dc3960a3856509e6b10': { + 'name': 'b22b165e1e51019db4f32dc3960a3856509e6b10', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("\\0")\npermit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && ((principal == principal) <= principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cecb369a6be00d8de248438225943338bdc28ad3': { + 'name': 'cecb369a6be00d8de248438225943338bdc28ad3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"F",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '63d9cea9895d1ff489f18e5f608ec604f7359e02': { + 'name': '63d9cea9895d1ff489f18e5f608ec604f7359e02', + 'schema_json': { + 'm': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == m::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm::a', 'id': ''}, + 'resource': {'type': 'm::a', 'id': ''}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '615078741a0cd4895a3191daa6841627e1e0f875': { + 'name': '615078741a0cd4895a3191daa6841627e1e0f875', + 'schema_json': { + 'A::B33333332': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'WjxGj302x': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::B33333332::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::B33333332::a', 'id': ''}, + 'resource': {'type': 'A::B33333332::a', 'id': ''}, + 'action': {'type': 'A::B33333332::Action', 'id': ''}, + 'context': {'A': '', 'WjxGj302x': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c0a749b84fb1394652f7860174b0eeff142774f': { + 'name': '1c0a749b84fb1394652f7860174b0eeff142774f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x01j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'da1c16cdd10dde7bf368be9f66a13d8bfd0c5d7e': { + 'name': 'da1c16cdd10dde7bf368be9f66a13d8bfd0c5d7e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['Fww18T3ww'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Fww18T3ww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'Fww18T3ww'], + 'principalTypes': ['r', 'Fww18T3ww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'Fww18T3ww', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': 'x'}, + 'attrs': {}, + 'parents': [ + {'type': 'Fww18T3ww', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Fww18T3ww', 'id': ''} + ] + }, + { + 'uid': {'type': 'Fww18T3ww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ':'}, + 'resource': {'type': 'r', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd213fa7ac5bebd6af38878484430f71fca86286a': { + 'name': 'd213fa7ac5bebd6af38878484430f71fca86286a', + 'schema_json': { + 'C22': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A00Y21RRRRRRS2': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C22::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C22::a', 'id': 'a'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C22::a', 'id': 'a'}, + 'resource': {'type': 'C22::a', 'id': 'a'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {'A00Y21RRRRRRS2': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1508db927ec3f39159de65acbdf453fc0a2310b5': { + 'name': '1508db927ec3f39159de65acbdf453fc0a2310b5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"j\\0\\0\\0\\0\\0\\0\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': 'j\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e0f6913f9fa8b06d1b2a1b8b6c02087585d7f986': { + 'name': 'e0f6913f9fa8b06d1b2a1b8b6c02087585d7f986', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::"00"\n) when {\n (true && (-(Action::"action"))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2f547f49e49d76b32039604ef3b6a9a14db1d3b0': { + 'name': '2f547f49e49d76b32039604ef3b6a9a14db1d3b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Fwwwwwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwwwwwww'], + 'principalTypes': ['Fwwwwwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwwwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwwwwww', 'id': ''}, + 'resource': {'type': 'Fwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8ae9da22bf3e14fc5beacba0ca1d505943eb5282': { + 'name': '8ae9da22bf3e14fc5beacba0ca1d505943eb5282', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f7ce74c11891a7f12cb5572bb109bd86118a25fa': { + 'name': 'f7ce74c11891a7f12cb5572bb109bd86118a25fa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n true && (((principal || principal) || principal) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8a4206baab5492fa446b2a91fc661c08b66f7470': { + 'name': '8a4206baab5492fa446b2a91fc661c08b66f7470', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && "") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '64b6091559a40a09a53f633f18677ce292b71fcc': { + 'name': '64b6091559a40a09a53f633f18677ce292b71fcc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && (((a::":" && "") && principal) && principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0f17119feea9deb66035e5df79a86f4b7c8fa580': { + 'name': '0f17119feea9deb66035e5df79a86f4b7c8fa580', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '05debaed8129359774e0f4012e4064f8afa592cd': { + 'name': '05debaed8129359774e0f4012e4064f8afa592cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"L\\0\\0\\0\\0\\0\\u{2}\\u{1}\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'L\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '38188a0d43f07656dd70781417c7bad5b05a4764': { + 'name': '38188a0d43f07656dd70781417c7bad5b05a4764', + 'schema_json': { + 'v::Qx::OMRR': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'qi': {'type': 'Boolean', 'required': false}, + 'v': {'type': 'Boolean', 'required': false}, + 'w5': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'v': false, 'qi': false, 'w5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'afa41923c27f22a96bfd76a9a8a3b2569b91a53e': { + 'name': 'afa41923c27f22a96bfd76a9a8a3b2569b91a53e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0i\\0",\n action,\n resource == a::"\\0i\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bb3ef5fe04a8594071227b50ba4e4f1c67070ca3': { + 'name': 'bb3ef5fe04a8594071227b50ba4e4f1c67070ca3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"11\\06609-",\n action in [Action::"action"],\n resource == a::"11\\06609-"\n) when {\n true && ((principal has "") <= principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '11\x006609-'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '11\x006609-'}, + 'resource': {'type': 'a', 'id': '11\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '968e29828c432b49c8f1e6e96292f4aa1d28964d': { + 'name': '968e29828c432b49c8f1e6e96292f4aa1d28964d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && context) && principal) && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '676f584a311fec91ca2593d2a8c50cd4c37c6523': { + 'name': '676f584a311fec91ca2593d2a8c50cd4c37c6523', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Entity', 'name': 'a', 'required': true}, + 'Fpvk103M': {'type': 'Entity', 'name': 'a', 'required': true}, + 'sjWk': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'Fpvk103M': { + '__entity': {'id': '', 'type': 'a'} + }, + 'sjWk': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22ab42e8b0c7232dfbe275d0b03c7fb0be5f1888': { + 'name': '22ab42e8b0c7232dfbe275d0b03c7fb0be5f1888', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x0201'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'es\x00s\x02"'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x0201'}, + 'resource': {'type': 'a', 'id': '\x0201'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '543c0a1b6e646612c265d655bc5e8c9cb5f9fddd': { + 'name': '543c0a1b6e646612c265d655bc5e8c9cb5f9fddd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '446b4abb9c1958bbf5ba0f8f19564ab82ab9cbed': { + 'name': '446b4abb9c1958bbf5ba0f8f19564ab82ab9cbed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '68318f2eefc7de93d2490f6452c804087a99b619': { + 'name': '68318f2eefc7de93d2490f6452c804087a99b619', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n ((true && ((a::"" like "").containsAny(""))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8dcfa6e09d836dedaeb71e79585d2bf8e3ef8bcc': { + 'name': '8dcfa6e09d836dedaeb71e79585d2bf8e3ef8bcc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action,\n resource in a::"\\0"\n) when {\n ((true && a::"\\0") && Action::"action") && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '62bbb2345cdf1b18279c69b7433b8098bdad9806': { + 'name': '62bbb2345cdf1b18279c69b7433b8098bdad9806', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'G': {'type': 'Boolean', 'required': false}, + 'l': {'type': 'Boolean', 'required': false}, + 'n': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'l': false, 'r': false, 'G': false, 'n': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false, 'G': false, 'l': false, 'n': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '28f2a33ec169a9d5d4f08602156ca79bcb9ae755': { + 'name': '28f2a33ec169a9d5d4f08602156ca79bcb9ae755', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{2}1",\n action in [Action::"action"],\n resource == a::"\\u{2}1"\n) when {\n true && (!215610940295651377)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3e3053c1416c941469f10c33aa234dc0245665d6': { + 'name': '3e3053c1416c941469f10c33aa234dc0245665d6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\0\\0\\0\\0\\0\\0\\0\\0\\01",\n action in [Action::"action"],\n resource in a::"\\u{2}\\u{2}\\0\\0\\0\\0\\0\\0\\0\\0\\01"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': {'type': 'a', 'id': '.='}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x00\x00\x00\x00\x00\x00\x00\x00\x001' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '86d4560b43a0a1d09c22b61edede50be15077139': { + 'name': '86d4560b43a0a1d09c22b61edede50be15077139', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'resource': {'type': 'a', 'id': '\x00>\x00\x00L\x00fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22cca6533b288f8a0bc952f5777475b38eba2a54': { + 'name': '22cca6533b288f8a0bc952f5777475b38eba2a54', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::""],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': -157518874852787470}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A0': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8c36035fd556368746cadc0f161f7b650cca9cd6': { + 'name': '8c36035fd556368746cadc0f161f7b650cca9cd6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ("" == "")) && (principal < principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0f77f6c224018df9fc00f3068dc4a4cb198b78e1': { + 'name': '0f77f6c224018df9fc00f3068dc4a4cb198b78e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource in a::"\\u{2}1"\n) when {\n ((true && a::"\\u{2}1") && false) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b5675f1d0fce1b205972bc991638b47f459c86e8': { + 'name': 'b5675f1d0fce1b205972bc991638b47f459c86e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n (true && ((if (if 0 then principal else principal) then principal else principal) has "\\0")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '98f3835b005fb616280bc6d6e1e2c62fed2655af': { + 'name': '98f3835b005fb616280bc6d6e1e2c62fed2655af', + 'schema_json': { + 'r::r::r::r::r::r::r::F_w33w33': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r::r::r::F_w33w33::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r::r::r::F_w33w33::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aeafc5c38b367f9289c0a642fd60e531de2f3b57': { + 'name': 'aeafc5c38b367f9289c0a642fd60e531de2f3b57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'zq': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '8'}, + 'attrs': {'A': '792F6[79'}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': '792F6[79'}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FEF'}, + 'attrs': {'A': '792F6[79'}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '7'}, + 'attrs': {'A': '792F6[79'}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FEF'}, + 'resource': {'type': 'a', 'id': 'FEF'}, + 'action': {'type': 'Action', 'id': 'zq'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e88c2229a36d09f4cf001731c30336f1b845bf81': { + 'name': 'e88c2229a36d09f4cf001731c30336f1b845bf81', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwKwwwwc': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwKwwwwc'], + 'principalTypes': ['FwKwwwwc'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A0("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwKwwwwc', 'id': 'f:::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwKwwwwc', 'id': ':c'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwKwwwwc', 'id': ':c'}, + 'resource': {'type': 'FwKwwwwc', 'id': ':c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd37938f9d55ff46236ddb3f7481644229ea84619': { + 'name': 'd37938f9d55ff46236ddb3f7481644229ea84619', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\0n",\n action in [Action::"action"],\n resource\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00n'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00n'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00n'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6834806f09362aae1d6fcbbd2d46b6e318274d19': { + 'name': '6834806f09362aae1d6fcbbd2d46b6e318274d19', + 'schema_json': { + 'r33333k33300::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r33333k33300::r::a', 'id': '/m'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r33333k33300::r::a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r33333k33300::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'resource': {'type': 'r33333k33300::r::a', 'id': '::t:::'}, + 'action': {'type': 'r33333k33300::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aa24455c7698ba851904d0fff952ae4edc7e76c4': { + 'name': 'aa24455c7698ba851904d0fff952ae4edc7e76c4', + 'schema_json': { + 'ukkkkkkkkka20::Khhhhhh': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'resource': {'type': 'ukkkkkkkkka20::Khhhhhh::A', 'id': ''}, + 'action': {'type': 'ukkkkkkkkka20::Khhhhhh::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '494fb82ef63f92808034c17256f9be78161b84d0': { + 'name': '494fb82ef63f92808034c17256f9be78161b84d0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'resource': { + 'type': 'a', + 'id': 'jj\x00\x00\x00\x00\x01L\x00\x00\x00\x00ja' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4f7019fe747f205f1a039359193063ea1bc55915': { + 'name': '4f7019fe747f205f1a039359193063ea1bc55915', + 'schema_json': { + 'yalupalt36x77': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in yalupalt36x77::a::"",\n action in [yalupalt36x77::Action::"action"],\n resource in yalupalt36x77::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'yalupalt36x77::a', 'id': '\f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'yalupalt36x77::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'yalupalt36x77::a', 'id': ''}, + 'resource': {'type': 'yalupalt36x77::a', 'id': ''}, + 'action': {'type': 'yalupalt36x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '23325a30760c363b387849a8c4c3cbba75313ec0': { + 'name': '23325a30760c363b387849a8c4c3cbba75313ec0', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F777327b': { + 'type': 'Entity', + 'name': 'cP::v::a', + 'required': false + }, + 'qx': { + 'type': 'Entity', + 'name': 'cP::v::a', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': { + '__entity': {'id': '', 'type': 'cP::v::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd446451b547ec42b894a88ac8049782ed9c8fcde': { + 'name': 'd446451b547ec42b894a88ac8049782ed9c8fcde', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '17be3581f3ffda7cc77969e6876952e8b36806d5': { + 'name': '17be3581f3ffda7cc77969e6876952e8b36806d5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'Long', 'required': false}, + 'Q': {'type': 'Boolean', 'required': false}, + 'Q120': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': false, 'A0': 0, 'Q': false, 'r': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5da8c2597f35cff88479a9c34c7ee20f6afc3525': { + 'name': '5da8c2597f35cff88479a9c34c7ee20f6afc3525', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x1B\x1B': { + 'appliesTo': { + 'resourceTypes': ['B'], + 'principalTypes': ['B'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + ';': { + 'appliesTo': { + 'resourceTypes': ['B'], + 'principalTypes': ['B'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x1B': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['B'], + 'principalTypes': ['B'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B', 'id': ''}, + 'resource': {'type': 'B', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1B\x1B'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fd6c0162c36cf2a9f7b0f1f63cba50e26b7c7473': { + 'name': 'fd6c0162c36cf2a9f7b0f1f63cba50e26b7c7473', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n (true && Action::"action") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'da5fe16ab3b3f9798a1508ab1cf6ea701e7cb757': { + 'name': 'da5fe16ab3b3f9798a1508ab1cf6ea701e7cb757', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'k0\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00('}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'k0\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00('}, + 'resource': {'type': 'a', 'id': '\x00('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e265048e41123c7389400efd99019d7a42fb70cb': { + 'name': 'e265048e41123c7389400efd99019d7a42fb70cb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e8f04e1f16b54da2ecb9ba425cedcada8e2d3dc7': { + 'name': 'e8f04e1f16b54da2ecb9ba425cedcada8e2d3dc7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@bA6666600000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '󅅈'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2967da6826bf5a7404b811b6948b326725337f4c': { + 'name': '2967da6826bf5a7404b811b6948b326725337f4c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'g\x02\x16\x02/\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x7Ft'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02com'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01\$grS/om'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02com'}, + 'resource': {'type': 'a', 'id': '\x02\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3bde040244b04439e604f4bc68db039890f4fc15': { + 'name': '3bde040244b04439e604f4bc68db039890f4fc15', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': ['u', '', '', '', '', ''] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd1ab2b8b520d689f91156782544ce685a8131254': { + 'name': 'd1ab2b8b520d689f91156782544ce685a8131254', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C23': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'C22amklq': {'type': 'Boolean', 'required': false}, + 'vrpYaglel': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'C23': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'C22amklq': false, 'vrpYaglel': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f4a401575ad2bb45f81c5da1c5e9455bb38ae3e3': { + 'name': 'f4a401575ad2bb45f81c5da1c5e9455bb38ae3e3', + 'schema_json': { + 'r::r::r::r::r33::r::r::V::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'K000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {'K000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '71b7c9224c7bc61c360c980314c8846dfe6b6d42': { + 'name': '71b7c9224c7bc61c360c980314c8846dfe6b6d42', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource == a::""\n) when {\n false && ((false < false) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '942be69eda5e79fd772b447f062a7d9d543097c3': { + 'name': '942be69eda5e79fd772b447f062a7d9d543097c3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ("" == "")) && (if ((if false then principal else principal) in principal) then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '43a7346e3c33f5bfa1225277634c5d7d8272ec31': { + 'name': '43a7346e3c33f5bfa1225277634c5d7d8272ec31', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '27b71e9fbe9a6df39d7da362318dccc30c36afb1': { + 'name': '27b71e9fbe9a6df39d7da362318dccc30c36afb1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Fwwwwwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwwwwwww'], + 'principalTypes': ['Fwwwwwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwwwww', 'id': '::::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwwwwww', 'id': '::::'}, + 'resource': {'type': 'Fwwwwwww', 'id': '::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '37a4a36a832a2c109875c4482a1c757c07e7689a': { + 'name': '37a4a36a832a2c109875c4482a1c757c07e7689a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && [a::"", [a::"", principal, principal, principal], principal, principal]\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'be1a3bb152ac556d10011963b2543c28bede4f4f': { + 'name': 'be1a3bb152ac556d10011963b2543c28bede4f4f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"F"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8b215be721bd036c5218e7540fc43a8b339e1254': { + 'name': '8b215be721bd036c5218e7540fc43a8b339e1254', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n true && action\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b537e1d0a5408c81734469f4629f830e78ddef79': { + 'name': 'b537e1d0a5408c81734469f4629f830e78ddef79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource == a::"6\\u{3}"\n) when {\n (true && (!"")) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '6\x03'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '6\x03'}, + 'resource': {'type': 'a', 'id': '6\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '55bf306cab4c32bfcccb9fe72bb92e6e637dba01': { + 'name': '55bf306cab4c32bfcccb9fe72bb92e6e637dba01', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n ((true && ((if (if 0 then principal else principal) then principal else principal) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6fd8189e2fe88662dc06a04df0676824c692e94a': { + 'name': '6fd8189e2fe88662dc06a04df0676824c692e94a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if ((principal["jj"])[""]) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c085520d000d77c2667260fbacc08d70aac0dd96': { + 'name': 'c085520d000d77c2667260fbacc08d70aac0dd96', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"j\\0\\0\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '14c24424e78073eb033bd799898f71cd5d022b0d': { + 'name': '14c24424e78073eb033bd799898f71cd5d022b0d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (((0 * 0) || principal) * 0)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'da715723bd19cfced47a6111f4b00bbd1914cb34': { + 'name': 'da715723bd19cfced47a6111f4b00bbd1914cb34', + 'schema_json': { + 'r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'r::r::a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'be57443a5a447a1dd4060b87a0b2a1e6ebb8720c': { + 'name': 'be57443a5a447a1dd4060b87a0b2a1e6ebb8720c', + 'schema_json': { + 'C': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@B00("\\t")\n@Dj("/n_m")\n@X("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C::a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C::a', 'id': 'c'}, + 'resource': {'type': 'C::a', 'id': 'c'}, + 'action': {'type': 'C::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8a03928d0b2ed43f8d66f0732e23554803e3c570': { + 'name': '8a03928d0b2ed43f8d66f0732e23554803e3c570', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && context) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '10abaa21f1aaa8c1d6de2c2ae846a2ba15d9f84f': { + 'name': '10abaa21f1aaa8c1d6de2c2ae846a2ba15d9f84f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'F': {'appliesTo': null, 'memberOf': null}, + 'FFF': {'appliesTo': null, 'memberOf': null}, + 'FFDFFFFF&': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'ƹFFF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '27befb74bf03f491d43ec29bc2370673d8cb9a7a': { + 'name': '27befb74bf03f491d43ec29bc2370673d8cb9a7a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'N222222222amkl': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false}, + 's3333': {'type': 'String', 'required': false}, + 'u000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'N222222222amkl': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'u000000000000': '', 'r': '', 's3333': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd640758bb47cfede252c0aff279ca8f395b51ac2': { + 'name': 'd640758bb47cfede252c0aff279ca8f395b51ac2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '26+4'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca4a7fbd3617faa7e877b6038d722296a4b9d27d': { + 'name': 'ca4a7fbd3617faa7e877b6038d722296a4b9d27d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'n/manageme'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'nt/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0c3a5ddcbb4629791f1793c7b0a683972bdbe0a6': { + 'name': '0c3a5ddcbb4629791f1793c7b0a683972bdbe0a6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x02\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8ffcf975e110df56490cb26f61917213f63d0936': { + 'name': '8ffcf975e110df56490cb26f61917213f63d0936', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'resource': {'type': 'a', 'id': 'r\x00\x00\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0183d83d9b74ad8b57acbfd9771edf5e55421ec8': { + 'name': '0183d83d9b74ad8b57acbfd9771edf5e55421ec8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'zzzz': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6b787ff93eaf47694db647e9981122e6f71896cb': { + 'name': '6b787ff93eaf47694db647e9981122e6f71896cb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"\\0"\n) when {\n ((true && ((principal == principal) like "")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\t\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00*'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a6c6a059732046e9062e072b17117f14f7d470b1': { + 'name': 'a6c6a059732046e9062e072b17117f14f7d470b1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9fe2561a4f8f6c04814be2e41154a1c8b516d1dc': { + 'name': '9fe2561a4f8f6c04814be2e41154a1c8b516d1dc', + 'schema_json': { + 'Q0xx': { + 'commonTypes': {}, + 'entityTypes': { + 'Qxxx1fARxzI222III': { + 'memberOfTypes': ['c'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'c': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Qxxx1fARxzI222III', 'c'], + 'principalTypes': ['Qxxx1fARxzI222III', 'c'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Q0xx::c', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Q0xx::c', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'resource': {'type': 'Q0xx::Qxxx1fARxzI222III', 'id': ''}, + 'action': {'type': 'Q0xx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0e8b180d44c3ea563be94afe3958632a3a4b6266': { + 'name': '0e8b180d44c3ea563be94afe3958632a3a4b6266', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffff\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffff\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'F'}, + 'resource': {'type': 'a', 'id': 'F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a6161206cfbf724488baa4a9cd83863ae519abd3': { + 'name': 'a6161206cfbf724488baa4a9cd83863ae519abd3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource in a::"\\0"\n) when {\n true && ("" == "")\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '533f97efb842328e87f25d4fd5ca3a59982fdd96': { + 'name': '533f97efb842328e87f25d4fd5ca3a59982fdd96', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2adbc697e6a4307319167e11381a5264e8da8746': { + 'name': '2adbc697e6a4307319167e11381a5264e8da8746', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}1",\n action in [Action::"action"],\n resource in a::"\\u{2}1"\n) when {\n true && ((!principal) like "\\0\\0\\u{2}")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6a405134ca667831ffd1e2633bc903c171c8bc27': { + 'name': '6a405134ca667831ffd1e2633bc903c171c8bc27', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@F("")\n@m("")\n@q("")\n@rYn("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3c2951c32b8cc2ced0d43ee0387d8c3d4933f5ad': { + 'name': '3c2951c32b8cc2ced0d43ee0387d8c3d4933f5ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ')': {'appliesTo': null, 'memberOf': null}, + 'J': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4be8267d6c692d51457074bdbdabf0d766eb415c': { + 'name': '4be8267d6c692d51457074bdbdabf0d766eb415c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'c': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'C': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'c'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd175868edf86eb28e5cd6b133b0b4f093d8f24d9': { + 'name': 'd175868edf86eb28e5cd6b133b0b4f093d8f24d9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00#\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00#\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ea8a02edf1364288d32708cb2415aac3559454df': { + 'name': 'ea8a02edf1364288d32708cb2415aac3559454df', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Kfhhfhh': { + 'memberOfTypes': ['K'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhfhh', 'K'], + 'principalTypes': ['Kfhhfhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhfhh', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'K', 'id': '\x13'}, + {'type': 'K', 'id': ''} + ] + }, + { + 'uid': {'type': 'K', 'id': '\x13'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhfhh', 'id': ''}, + 'resource': {'type': 'Kfhhfhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a25640f8d20b7b2676cb78e50d30a58a8d984c3a': { + 'name': 'a25640f8d20b7b2676cb78e50d30a58a8d984c3a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '3'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'resource': { + 'type': 'a', + 'id': + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dad14134aa1ce9af0bb49f8d1fdfea528860903b': { + 'name': 'dad14134aa1ce9af0bb49f8d1fdfea528860903b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'FFF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFF'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFF'}, + 'resource': {'type': 'a', 'id': 'FFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3fed84e6d367c88bde42d53e756d528905a4d4fc': { + 'name': '3fed84e6d367c88bde42d53e756d528905a4d4fc', + 'schema_json': { + 'N8xt37x77': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in N8xt37x77::a::"",\n action in [N8xt37x77::Action::"action"],\n resource == N8xt37x77::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'N8xt37x77::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'N8xt37x77::a', 'id': ''}, + 'resource': {'type': 'N8xt37x77::a', 'id': ''}, + 'action': {'type': 'N8xt37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '604a41216284beed5afa69f4b724c92d17b36812': { + 'name': '604a41216284beed5afa69f4b724c92d17b36812', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}1",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\u{2}1"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '030831a33c04c85f8cf1efe16875826a19fc5cc5': { + 'name': '030831a33c04c85f8cf1efe16875826a19fc5cc5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n true && (-(-(-(16389570404810823))))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '961eec7160aaf77e2c58eb965a43edf371548d71': { + 'name': '961eec7160aaf77e2c58eb965a43edf371548d71', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n (true && ("" like "")) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ')'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ')'}, + 'resource': {'type': 'a', 'id': ')'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '68364054ff4608130dfc03ad0646f329205daa8d': { + 'name': '68364054ff4608130dfc03ad0646f329205daa8d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::"ww"\n) when {\n ((true && (((false && principal) && principal) && principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '191acc4c653f5f2d95123532747b774eee13f840': { + 'name': '191acc4c653f5f2d95123532747b774eee13f840', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 's::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': '\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bbbba300ccd3f8a8ce43172dbb79394076c4ccde': { + 'name': 'bbbba300ccd3f8a8ce43172dbb79394076c4ccde', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::"1"\n) when {\n ((true && (!"")) && Action::"action") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '86d842e37350ffc25126fd71342ec46a248ba340': { + 'name': '86d842e37350ffc25126fd71342ec46a248ba340', + 'schema_json': { + 'r::r::r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::G::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'resource': {'type': 'r::r::r::G::r::a', 'id': ':'}, + 'action': {'type': 'r::r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '75aa7fb6f7ae6bb13f1e334dbf73b8219b915f57': { + 'name': '75aa7fb6f7ae6bb13f1e334dbf73b8219b915f57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0\\0&",\n action in [Action::"action"],\n resource == a::"\\0\\0&"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '371a58c4e871e3d31a067809a98b1d6baae6af34': { + 'name': '371a58c4e871e3d31a067809a98b1d6baae6af34', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'zzzz': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '972f4782b62c480d9b818d7641eeaa41c81ef5a6': { + 'name': '972f4782b62c480d9b818d7641eeaa41c81ef5a6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && (!context)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\b]'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\b]'}, + 'resource': {'type': 'a', 'id': '\x00\b]'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'eca862d296e406c0eaa97da5ab64b63009838a84': { + 'name': 'eca862d296e406c0eaa97da5ab64b63009838a84', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00java' + }, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4f7c9ab77e4079e780601dea7a76263027b5ab69': { + 'name': '4f7c9ab77e4079e780601dea7a76263027b5ab69', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhhh'], + 'principalTypes': ['Kfhhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in Kfhhhhhh::"",\n action in [Action::"action"],\n resource in Kfhhhhhh::""\n) when {\n (true && (!principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7b3989b521214bd643a5be5ed6157ec1ebb07ff3': { + 'name': '7b3989b521214bd643a5be5ed6157ec1ebb07ff3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['G'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'C': { + 'memberOfTypes': ['A', 'n', 'G'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['n', 'G'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['C', 'A', 'n', 'G'], + 'principalTypes': ['C', 'A', 'n', 'G'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'G', 'id': ''} + ] + }, + { + 'uid': {'type': 'C', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'G', 'id': ''}, + {'type': 'n', 'id': ''}, + {'type': 'A', 'id': ''}, + {'type': 'n', 'id': ':'} + ] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'G', 'id': ''}, + {'type': 'n', 'id': ':'}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'G', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '45cd88e70a9eeda25ce3c6c80ad221cb2ce5517c': { + 'name': '45cd88e70a9eeda25ce3c6c80ad221cb2ce5517c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{1}",\n action == Action::"action",\n resource == a::"\\u{1}"\n) when {\n (true && (((a::"\\u{1}" == a::"\\u{1}") == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7ecad9939f8607228e8fa6d489f56e0f21e7e647': { + 'name': '7ecad9939f8607228e8fa6d489f56e0f21e7e647', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n ((true && (if (if (if "" then "" else false) then principal else principal) then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6532c90795c1e85512ed437b8a4f447421eb6684': { + 'name': '6532c90795c1e85512ed437b8a4f447421eb6684', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F3333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F3333'], + 'principalTypes': ['F3333'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Fowwwwww': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F3333', 'id': ''}, + 'attrs': {'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F3333', 'id': ''}, + 'resource': {'type': 'F3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fowwwwww': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8ebe34f00d35e2e63a43eb79a561f416a9299039': { + 'name': '8ebe34f00d35e2e63a43eb79a561f416a9299039', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'VhhhhhhkkkkiJ00ki': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['VhhhhhhkkkkiJ00ki'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'VhhhhhhkkkkiJ00ki'], + 'principalTypes': ['VhhhhhhkkkkiJ00ki'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VhhhhhhkkkkiJ00ki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '781fbc4805de88ec4530a67a60551980f29106f9': { + 'name': '781fbc4805de88ec4530a67a60551980f29106f9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '/ja'}, + 'attrs': {'r': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'xm'}, + 'attrs': {'r': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'xm'}, + 'resource': {'type': 'a', 'id': 'xm'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '59b40ee189078376c726568c27559ab1dd4439c2': { + 'name': '59b40ee189078376c726568c27559ab1dd4439c2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"1\\06609-",\n action in [Action::"action"],\n resource == a::"1\\06609-"\n) when {\n (true && (((principal has "") == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1\x006609-'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1\x006609-'}, + 'resource': {'type': 'a', 'id': '1\x006609-'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '464729a46d258bcaaf394e5c69445e2c3eb2cfd7': { + 'name': '464729a46d258bcaaf394e5c69445e2c3eb2cfd7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (((a::"" in a::"") in principal) in principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5eba5818ceaeccd6d026f5ea287d848e1d47e04d': { + 'name': '5eba5818ceaeccd6d026f5ea287d848e1d47e04d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '027083f3b76fbddceb11ebd87326cc2d9bc5a6aa': { + 'name': '027083f3b76fbddceb11ebd87326cc2d9bc5a6aa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n true && (((3941264106 * 0) * 0) * 0)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '71500876d9546ead0a4fc26858db3e0b22985791': { + 'name': '71500876d9546ead0a4fc26858db3e0b22985791', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'Entity', 'name': 'a', 'required': false}, + 'fwnc5cqapgxwAw': { + 'type': 'Entity', + 'name': 'a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::A'}, + 'attrs': { + 'fwnc5cqapgxwAw': { + '__entity': {'id': '::A', 'type': 'a'} + }, + 'E': { + '__entity': {'id': '::A', 'type': 'a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'E': { + '__entity': {'id': '::A', 'type': 'a'} + }, + 'fwnc5cqapgxwAw': { + '__entity': {'id': '::A', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::A'}, + 'resource': {'type': 'a', 'id': '::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '53d1bdbcb06b91cc69fe942ed42126030ab76245': { + 'name': '53d1bdbcb06b91cc69fe942ed42126030ab76245', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + '_cp': {'type': 'String', 'required': false}, + '_kgr66A': {'type': 'String', 'required': false}, + 'ufgaYjWkckmpw': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'_cp': '', '_kgr66A': '', 'ufgaYjWkckmpw': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '728e7c4e709364b4251fe7988f3c8a48ba15b7da': { + 'name': '728e7c4e709364b4251fe7988f3c8a48ba15b7da', + 'schema_json': { + 'L::V': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['w'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'fffff': { + 'appliesTo': { + 'resourceTypes': ['r'], + 'principalTypes': ['r', 'w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'L::V::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'L::V::w', 'id': ''} + ] + }, + { + 'uid': {'type': 'L::V::w', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L::V::r', 'id': ''}, + 'resource': {'type': 'L::V::r', 'id': ''}, + 'action': {'type': 'L::V::Action', 'id': 'fffff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '930830a6a4ef9e7673ff3c2b38e0f8195911a5ba': { + 'name': '930830a6a4ef9e7673ff3c2b38e0f8195911a5ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'БОwt': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'Js': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'u000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'БОwt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f0f61375eb51a9502529d45947218325e1aa8634': { + 'name': 'f0f61375eb51a9502529d45947218325e1aa8634', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '88854732ff8c1610ddd340cf53aeeae79e33d222': { + 'name': '88854732ff8c1610ddd340cf53aeeae79e33d222', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '/ja'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4e203763a4b74f0734f201742b257a5c3ef77826': { + 'name': '4e203763a4b74f0734f201742b257a5c3ef77826', + 'schema_json': { + 'm': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Fwwwww(":\\u{f}\\0")\nforbid(\n principal,\n action in [m::Action::"action",m::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm::a', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm::a', 'id': ':::'}, + 'resource': {'type': 'm::a', 'id': ':::'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7cf6c65ea774eb97a4608436b16ed472963403ee': { + 'name': '7cf6c65ea774eb97a4608436b16ed472963403ee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ':m_\x1Ai–Œu': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'B0000000000000000': {'type': 'String', 'required': false}, + 'FgwkWQwQ7Wjjkg': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ':m_\x1Ai–Œu'}, + 'context': {'FgwkWQwQ7Wjjkg': '', 'B0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b9c8d6feca161c723f28929d6cbb30479f6924ae': { + 'name': 'b9c8d6feca161c723f28929d6cbb30479f6924ae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (-9042521604759584126)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '78'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '78'}, + 'resource': {'type': 'a', 'id': '78'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '528fe2faa9613612d2f87eebe9b3a37c3d0c4726': { + 'name': '528fe2faa9613612d2f87eebe9b3a37c3d0c4726', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cc030557bcc567d0adf8ce6866d7979ff1d48256': { + 'name': 'cc030557bcc567d0adf8ce6866d7979ff1d48256', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': true}, + 'D': {'type': 'Boolean', 'required': false}, + 'o_1': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'D': false, 'A': '', 'o_1': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'attrs': {'D': false, 'o_1': '', 'A': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6f39fc31e46817318751745ca182faa912a002f0': { + 'name': '6f39fc31e46817318751745ca182faa912a002f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}",\n action in [Action::"action"],\n resource\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3874dfebce65ae9a05be5d59bdc10ee5d4d756dc': { + 'name': '3874dfebce65ae9a05be5d59bdc10ee5d4d756dc', + 'schema_json': { + 'AJHH': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in AJHH::a::"",\n action in [AJHH::Action::"action",AJHH::Action::"action"],\n resource in AJHH::a::""\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'AJHH::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'AJHH::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'AJHH::a', 'id': ''}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'AJHH::a', 'id': '\x00'}, + 'resource': {'type': 'AJHH::a', 'id': '\x00'}, + 'action': {'type': 'AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8e63062b22cd9bcbfc3bcf31aefa150b54094b76': { + 'name': '8e63062b22cd9bcbfc3bcf31aefa150b54094b76', + 'schema_json': { + 'A97w': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A97w::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A97w::a', 'id': 'co\rmf:::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A97w::a', 'id': '#:::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A97w::a', 'id': '#:::'}, + 'resource': {'type': 'A97w::a', 'id': '#:::'}, + 'action': {'type': 'A97w::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '790548c540ab8e24e820d02ec0e6bd38c823c317': { + 'name': '790548c540ab8e24e820d02ec0e6bd38c823c317', + 'schema_json': { + 'stYWLSk': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == stYWLSk::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'stYWLSk::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'resource': {'type': 'stYWLSk::a', 'id': '\x15\x15\x1C'}, + 'action': {'type': 'stYWLSk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '99d7bbfdb6e920b94e2f5940ae498c088336d67f': { + 'name': '99d7bbfdb6e920b94e2f5940ae498c088336d67f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7bddb2c6c02a5973392e44c285dda262d41e93ae': { + 'name': '7bddb2c6c02a5973392e44c285dda262d41e93ae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n ((true && (!{})) && (!principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e2cb81812331e4010069807d549e5a9969295734': { + 'name': 'e2cb81812331e4010069807d549e5a9969295734', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': true + }, + 'n99W3AaKiiii': {'type': 'Long', 'required': true}, + 'r': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': [], 'n99W3AaKiiii': 0, 'r': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a3e131e67b54ee0f2967a76c2bea2fa49bb4442d': { + 'name': 'a3e131e67b54ee0f2967a76c2bea2fa49bb4442d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'WjiX': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Ielujxx000': {'type': 'String', 'required': false}, + 'JpmmmXmsgtvtmm': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'WjiX': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'JpmmmXmsgtvtmm': '', 'Ielujxx000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9fd7413265eab443e94605d8084ce2e5d68f80b6': { + 'name': '9fd7413265eab443e94605d8084ce2e5d68f80b6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Q120': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 2407168634}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Q120': 0}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '474a6da426a0a138877cfd664d06efd6966c0d7d': { + 'name': '474a6da426a0a138877cfd664d06efd6966c0d7d', + 'schema_json': { + 'r::r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['E'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'E': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r', 'E'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r', 'E'], + 'principalTypes': ['r', 'E'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::G::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::G::r::r', 'id': ''}, + {'type': 'r::r::G::r::E', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::r::G::r::E', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::G::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::G::r::E', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f0a5cb529631a3850b8e66e0fe24e26ceb11dd0f': { + 'name': 'f0a5cb529631a3850b8e66e0fe24e26ceb11dd0f', + 'schema_json': { + 'Q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': false + }, + 'r': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Q::a', 'id': ''}, + 'attrs': { + 'r': {}, + 'C': [ + [false, false, true], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Q::a', 'id': ''}, + 'resource': {'type': 'Q::a', 'id': ''}, + 'action': {'type': 'Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '98982aa2b2130d3ad1060fd3b7d2a541064bc614': { + 'name': '98982aa2b2130d3ad1060fd3b7d2a541064bc614', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + '\x05\x05': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"d",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'd'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e08c4572b2ce32105b85dc6fdb01c24b2b861ab9': { + 'name': 'e08c4572b2ce32105b85dc6fdb01c24b2b861ab9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"`\\0\\0\\0+\\0+\\0:\\u{1e}\\t\\0\\0\\0\\0\\0\\0\\0::\\0\\0+",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'resource': { + 'type': 'a', + 'id': + '`\x00\x00\x00+\x00+\x00:\x1E\t\x00\x00\x00\x00\x00\x00\x00::\x00\x00+' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '67770a3933efa0dfd70a0ac4138cece8ba937255': { + 'name': '67770a3933efa0dfd70a0ac4138cece8ba937255', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource == a::"&afnyF"\n) when {\n ((true && {}) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&afnyF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '228801b00e79ed2e44f08cc699ca7e766266fbf5': { + 'name': '228801b00e79ed2e44f08cc699ca7e766266fbf5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{6}\\u{6}\\u{6}",\n action in [Action::"action"],\n resource == a::"\\u{6}\\u{6}\\u{6}"\n) when {\n (true && ([].containsAll(!principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fbcd6f770f6ea35ce8531fd4587f05de7935db29': { + 'name': 'fbcd6f770f6ea35ce8531fd4587f05de7935db29', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}com/f",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02com/f' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd14a34ca93f49c044fe6bd267eb6e42e56704ade': { + 'name': 'd14a34ca93f49c044fe6bd267eb6e42e56704ade', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"%"\n) when {\n true && (a::"%" has "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '%'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '%'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b4134b83b9dfec592e7806ef6612a86a5c3310a4': { + 'name': 'b4134b83b9dfec592e7806ef6612a86a5c3310a4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r3333': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r3333', 'A', 'n', 'r'], + 'principalTypes': ['r3333', 'A', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r3333', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''}, + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r3333', 'id': ''}, + 'resource': {'type': 'r3333', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '90c47ecf52ca72be7bfb43c495de2616baf18731': { + 'name': '90c47ecf52ca72be7bfb43c495de2616baf18731', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'J': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e1054ea00da58f9e88b5d0c37f9193392debe301': { + 'name': 'e1054ea00da58f9e88b5d0c37f9193392debe301', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@C("\\u{2}")\n@uk2("\\"\\u{2}")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00L'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eab2e001e952237e012d570aa287b8cbb349d64e': { + 'name': 'eab2e001e952237e012d570aa287b8cbb349d64e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0\\u{7f}\\u{1}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '84823b37c9609c57029d4b2217d8ed6f19504ef4': { + 'name': '84823b37c9609c57029d4b2217d8ed6f19504ef4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'I': {'type': 'Boolean', 'required': false}, + 'K776': {'type': 'String', 'required': false}, + 'ufgaYjWkckmpv': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'K776': '', 'A': '', 'ufgaYjWkckmpv': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '74fe417ab7d038ce58b8dc106bab99fa76eadd17': { + 'name': '74fe417ab7d038ce58b8dc106bab99fa76eadd17', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{6}:"\n) when {\n true && ("z" == (("" * 16383999) * 0))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '697631c6c95119acf45b4b20267488ac7a700b02': { + 'name': '697631c6c95119acf45b4b20267488ac7a700b02', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal == A::a::"",\n action == A::Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': 'j'}, + 'resource': {'type': 'A::a', 'id': 'j'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2d53f67331b256fccd0dbf0e8cb616b64a5e2886': { + 'name': '2d53f67331b256fccd0dbf0e8cb616b64a5e2886', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'afny\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8d00ae5c9a5b26b2af81854b107fc75dfc3be492': { + 'name': '8d00ae5c9a5b26b2af81854b107fc75dfc3be492', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'AA000000': {'type': 'String', 'required': false}, + 'g': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'g': '', 'AA000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9f19abed6ce7d188a287c308ab84a60d2abee4a8': { + 'name': '9f19abed6ce7d188a287c308ab84a60d2abee4a8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false && Action::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '263fea16c36dd7d47f341a225a0d128e5b55e255': { + 'name': '263fea16c36dd7d47f341a225a0d128e5b55e255', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Long'} + } + } + }, + 'required': false + }, + 'ukkko00Wjjjjj': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'ukkko00Wjjjjj': false, 'r': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '31db27e3674a66cfe5e5dcd7b339a0a7b67298e5': { + 'name': '31db27e3674a66cfe5e5dcd7b339a0a7b67298e5', + 'schema_json': { + 'ukkkkkkkk4kkkkkkk': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'resource': {'type': 'ukkkkkkkk4kkkkkkk::a', 'id': ''}, + 'action': {'type': 'ukkkkkkkk4kkkkkkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '56b0c020f8c3792ec28f53bcd0a918c961106bdf': { + 'name': '56b0c020f8c3792ec28f53bcd0a918c961106bdf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '....'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f93f63d216acc608101bc400cb436f26296bf478': { + 'name': 'f93f63d216acc608101bc400cb436f26296bf478', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'G666666': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G666666'], + 'principalTypes': ['G666666'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in G666666::"\\0\\u{2}",\n action,\n resource in G666666::"\\0\\u{2}"\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'G666666', 'id': '\x00\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G666666', 'id': '\x00\x02'}, + 'resource': {'type': 'G666666', 'id': '\x00\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bad207c3066f1ffbd151959fd7bdf29c07b02298': { + 'name': 'bad207c3066f1ffbd151959fd7bdf29c07b02298', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@k("\\0")\npermit(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && ((!principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c8fe27949148dd0012f348801d64b30d9b27ea90': { + 'name': 'c8fe27949148dd0012f348801d64b30d9b27ea90', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource in a::"ya"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ya'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'ya'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ya'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ab2df42a94c24da0082192add3e33cc4f77e4cb2': { + 'name': 'ab2df42a94c24da0082192add3e33cc4f77e4cb2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"zzzzzz"\n) when {\n ((true && [a::"zzzzzz", principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzzzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '}'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '906b5630c98aa1977ad6c2c490ef730b09ac1599': { + 'name': '906b5630c98aa1977ad6c2c490ef730b09ac1599', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + }, + 'u': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + }, + 'ukkko00Wjjjjj': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'u': {}, 'ukkko00Wjjjjj': {}, 'r': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd1752d749a28ba01382db7bb02a0a972d2c401a': { + 'name': 'bd1752d749a28ba01382db7bb02a0a972d2c401a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"n0\\u{1}",\n action == Action::"action",\n resource == a::"n0\\u{1}"\n) when {\n (true && Action::"action") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'n0\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'n0\x01'}, + 'resource': {'type': 'a', 'id': 'n0\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4bf1f9af8f34ec7092c461766c881f600ffb4f71': { + 'name': '4bf1f9af8f34ec7092c461766c881f600ffb4f71', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'sqp1R111o1': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['sqp1R111o1'], + 'principalTypes': ['sqp1R111o1'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'sqp1R111o1', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'sqp1R111o1', 'id': ''}, + 'resource': {'type': 'sqp1R111o1', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6f59cb5117c6fb1fb9971f546ff4a718f545aa25': { + 'name': '6f59cb5117c6fb1fb9971f546ff4a718f545aa25', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00"'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'z\x00\x00!\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'z\x00\x00!\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z\x00\x00!\x00'}, + 'resource': {'type': 'a', 'id': 'z\x00\x00!\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fbb67cf9a24d6f669bc498ce002672d38048b513': { + 'name': 'fbb67cf9a24d6f669bc498ce002672d38048b513', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'OJJJ': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['OJJJ'], + 'principalTypes': ['OJJJ'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in OJJJ::"RR"\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'OJJJ', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'OJJJ', 'id': 'RR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'OJJJ', 'id': 'RR'}, + 'resource': {'type': 'OJJJ', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b5cd7ecd8056ac97a3c1081cdbe2bcbc48832bce': { + 'name': 'b5cd7ecd8056ac97a3c1081cdbe2bcbc48832bce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::">0",\n action in [Action::"action"],\n resource == a::">0"\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '>0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '>0'}, + 'resource': {'type': 'a', 'id': '>0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0c9b41fe69138ffded4b2a80cf4615208b9ca7ca': { + 'name': '0c9b41fe69138ffded4b2a80cf4615208b9ca7ca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': + 'coem/zasterx\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '592cda16bc312a956945e93d2cbdc8024f09afd4': { + 'name': '592cda16bc312a956945e93d2cbdc8024f09afd4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource in a::"\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9f00013fd364d25be4f6d50fd14e97c39ad600c2': { + 'name': '9f00013fd364d25be4f6d50fd14e97c39ad600c2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06F\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06F\x00'}, + 'resource': {'type': 'a', 'id': '\x06F\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd709a674e6517e62909672096a240026f2c9b7da': { + 'name': 'd709a674e6517e62909672096a240026f2c9b7da', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7b15e95198ea64b9c9fcc3de85681a7b37de99a0': { + 'name': '7b15e95198ea64b9c9fcc3de85681a7b37de99a0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'ff&f': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'v7kkkkk000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'm.': {'appliesTo': null, 'memberOf': null}, + '.': {'appliesTo': null, 'memberOf': null}, + '': {'appliesTo': null, 'memberOf': null}, + ')': {'appliesTo': null, 'memberOf': null}, + '=.': {'appliesTo': null, 'memberOf': null}, + 'J': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'ff&f'}, + 'context': {'v7kkkkk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '141462189bb7ca5db202dc588306cc7785334710': { + 'name': '141462189bb7ca5db202dc588306cc7785334710', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\$\x00\x00#'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\$\x00\x00#'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j\$\x00\x00#'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cc6cce3a415f8f5dfc2b237feb7cc124c01ebc5d': { + 'name': 'cc6cce3a415f8f5dfc2b237feb7cc124c01ebc5d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'DldY222222': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'a\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DldY222222': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '21b6650d46522897c4be29fc10851c277273823e': { + 'name': '21b6650d46522897c4be29fc10851c277273823e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '::': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e36cbecf2f92d04516d732299b0ce7902b7566e9': { + 'name': 'e36cbecf2f92d04516d732299b0ce7902b7566e9', + 'schema_json': { + 'R::Wj::AJHH': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == R::Wj::AJHH::a::"",\n action in [R::Wj::AJHH::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5caded9418e07bbbbee532c7a270313a941c12c3': { + 'name': '5caded9418e07bbbbee532c7a270313a941c12c3', + 'schema_json': { + 'r::m::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::m::r::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::m::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::m::r::a', 'id': ''}, + 'resource': {'type': 'r::m::r::a', 'id': ''}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'resource': {'type': 'r::m::r::a', 'id': '\x7F\x01'}, + 'action': {'type': 'r::m::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6b4e82a987352dc8dcce60ddabe05da8409325bf': { + 'name': '6b4e82a987352dc8dcce60ddabe05da8409325bf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n (true && (false like "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c48188b8ac4d4f2191db06c508ee38bd1eda54a3': { + 'name': 'c48188b8ac4d4f2191db06c508ee38bd1eda54a3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"66",\n action == Action::"action",\n resource == a::"66"\n) when {\n (true && (!(!resource))) && (!false)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '935ed181d5b21b08c88375d23f0ca2206aea2eb0': { + 'name': '935ed181d5b21b08c88375d23f0ca2206aea2eb0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}",\n action in [],\n resource in a::"\\u{2}"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01\x7F\x00\b\x00'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f750ebde00028c806f5093fa8b0135bdf371d8ae': { + 'name': 'f750ebde00028c806f5093fa8b0135bdf371d8ae', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '\x00\x00\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x00\x00\x01'}, + 'resource': {'type': 'A::a', 'id': '\x00\x00\x01'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': '\x00\x00\x01'}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b4917d2a0f00a6ecc4ddca36bdc64bc3fd302075': { + 'name': 'b4917d2a0f00a6ecc4ddca36bdc64bc3fd302075', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '30d42aa8f44a1b4c9a9c4e0037eef0d324f50172': { + 'name': '30d42aa8f44a1b4c9a9c4e0037eef0d324f50172', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5c1097484e8cf6f246daa0d48fd046328f5cfb41': { + 'name': '5c1097484e8cf6f246daa0d48fd046328f5cfb41', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0\\0]\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00]\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '44d60048712580b0091ff28853c825c17b4996ad': { + 'name': '44d60048712580b0091ff28853c825c17b4996ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'R': { + 'memberOfTypes': ['B', 'T'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'T': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x15#': { + 'appliesTo': { + 'resourceTypes': ['R', 'B', 'T'], + 'principalTypes': ['R', 'B', 'T'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'T', 'id': ''} + ] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'T', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'R', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x15#'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fb725623677e7858ffe3308c0fbf2e03c59fbb74': { + 'name': 'fb725623677e7858ffe3308c0fbf2e03c59fbb74', + 'schema_json': { + 'Gxxxx1000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'attrs': {'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'resource': {'type': 'Gxxxx1000::a', 'id': '\x7F\x00\x00\x00\x00'}, + 'action': {'type': 'Gxxxx1000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33089fa566a0c0200b65f768e03955cc56073945': { + 'name': '33089fa566a0c0200b65f768e03955cc56073945', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && a::"\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '005b19a44b16074bb1322d9d25512abfe121daff': { + 'name': '005b19a44b16074bb1322d9d25512abfe121daff', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && ((if (principal <= 234) then principal else principal) like "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2298e1594f18009a1088a3f3d460896119ae245e': { + 'name': '2298e1594f18009a1088a3f3d460896119ae245e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '72d5b71f1265742f8ee5657f60c8608688370960': { + 'name': '72d5b71f1265742f8ee5657f60c8608688370960', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x0212'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': '\x0212'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': '\x0212'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': '\x0212'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': '\x0212'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x0212'}, + 'resource': {'type': 'a', 'id': '\x0212'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cefaca00ac959a2b9fc2f68db187e24290d6fa39': { + 'name': 'cefaca00ac959a2b9fc2f68db187e24290d6fa39', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && (principal like "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffffffbff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffffbff'}, + 'resource': {'type': 'a', 'id': 'ffffffbff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f0ce050482aa564b1ba5b3833b03369c9ca414e7': { + 'name': 'f0ce050482aa564b1ba5b3833b03369c9ca414e7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'J': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + }, + 'r': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': { + 'J': [false, false], + 'r': { + '__entity': {'id': ':', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a63d3ef84a6332dc404d6d9785f468b0204c274c': { + 'name': 'a63d3ef84a6332dc404d6d9785f468b0204c274c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::"\\0"\n) when {\n ((true && ((!(false == principal)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1ede63b6ddd9405b01a3d922b3999147beac2fa9': { + 'name': '1ede63b6ddd9405b01a3d922b3999147beac2fa9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{1}",\n action == Action::"action",\n resource == a::"\\u{1}"\n) when {\n (true && (((a::"\\u{1}" == a::"\\u{1}") == (a::"\\u{1}" == principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b5923f387efebcb2fb744d589da5eb60ac8b5a2f': { + 'name': 'b5923f387efebcb2fb744d589da5eb60ac8b5a2f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::8:::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4a8354f596e7d0e151a5ae9e566ceb2b34bf1fda': { + 'name': '4a8354f596e7d0e151a5ae9e566ceb2b34bf1fda', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f[f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffff\x11\x11\x11'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x11'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffffffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'db2cdc2b803fe8afebeac848ef72e20eca2ede2c': { + 'name': 'db2cdc2b803fe8afebeac848ef72e20eca2ede2c', + 'schema_json': { + 'Gxt833777': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == Gxt833777::a::"",\n action in [Gxt833777::Action::"action"],\n resource in Gxt833777::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxt833777::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7109315f6f0894fb9a66f68a3ce989a8df283dcb': { + 'name': '7109315f6f0894fb9a66f68a3ce989a8df283dcb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [ + [false, false], + [true, true] + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::4'}, + 'attrs': { + 'F': [ + [false, false], + [false, false], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a64e10570f30a6d811e9cbd4d17eca3239eb7ba6': { + 'name': 'a64e10570f30a6d811e9cbd4d17eca3239eb7ba6', + 'schema_json': { + 'C6w::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [C6w::r::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C6w::r::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C6w::r::a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C6w::r::a', 'id': '\x00:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C6w::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C6w::r::a', 'id': ''}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C6w::r::a', 'id': '\x00'}, + 'resource': {'type': 'C6w::r::a', 'id': '\x00'}, + 'action': {'type': 'C6w::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd248c3b001402a861d5b7fa618d637b132abe8c3': { + 'name': 'd248c3b001402a861d5b7fa618d637b132abe8c3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00a'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zza'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00a'}, + 'resource': {'type': 'a', 'id': '\x00a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00a'}, + 'resource': {'type': 'a', 'id': '\x00a'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zza'}, + 'resource': {'type': 'a', 'id': 'zza'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a446f4aa49485035973a6d5cb9514a9d4cc996b3': { + 'name': 'a446f4aa49485035973a6d5cb9514a9d4cc996b3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{1}",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3dd6f048ecfe5ab938cea0224dac0a5b3e1fb998': { + 'name': '3dd6f048ecfe5ab938cea0224dac0a5b3e1fb998', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0\\0:::::::::",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '257d63d81965dc91095e15c1828a492ceca7f219': { + 'name': '257d63d81965dc91095e15c1828a492ceca7f219', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'rg/w3c': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '58b82c6ccae3727eadd2c0c94efa9ee0726687f7': { + 'name': '58b82c6ccae3727eadd2c0c94efa9ee0726687f7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'FwwAb0': {'type': 'Boolean', 'required': false}, + 'rdwww30w': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['n'], + 'principalTypes': ['n'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F0000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {'FwwAb0': false, 'rdwww30w': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ac960abd5a0e59a2ab3d8f11479b6e4afbe5c22f': { + 'name': 'ac960abd5a0e59a2ab3d8f11479b6e4afbe5c22f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Qxxx': {'type': 'Boolean', 'required': false}, + 'sWqslWkgqaWxxxxRx': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'sWqslWkgqaWxxxxRx': false, 'Qxxx': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fd3136155170ca1db87756f7775d75281b5647d4': { + 'name': 'fd3136155170ca1db87756f7775d75281b5647d4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00\x02..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '....'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': '....'}, + 'resource': {'type': 'Kfhhhhh', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ea1deadd3d188a9751dfddb6bb567d6e190152e6': { + 'name': 'ea1deadd3d188a9751dfddb6bb567d6e190152e6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ((false in principal) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c9513d54dc9241fb4d2ea7704d4bc0f57c533ee4': { + 'name': 'c9513d54dc9241fb4d2ea7704d4bc0f57c533ee4', + 'schema_json': { + '_MMM::_MMMAzzq::QIII': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'resource': {'type': '_MMM::_MMMAzzq::QIII::a', 'id': ''}, + 'action': {'type': '_MMM::_MMMAzzq::QIII::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8e047f9870ea3a64bd67bc0ade488897d116a315': { + 'name': '8e047f9870ea3a64bd67bc0ade488897d116a315', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("\\0")\npermit(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e19acb87614d3ba808a7e95b203cfe400d534c09': { + 'name': 'e19acb87614d3ba808a7e95b203cfe400d534c09', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'F': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'FF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'FFF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'F'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'be4eb076d2594dfc30f6c2b6abba097fbc9ddbff': { + 'name': 'be4eb076d2594dfc30f6c2b6abba097fbc9ddbff', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::"::\\u{4}"\n) when {\n (true && (!(!true))) && (a::"::\\u{4}" && principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::\x04'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::\x04'}, + 'resource': {'type': 'a', 'id': '::\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e54f1cadcf770e09cf3f60829a458b0230e27eb9': { + 'name': 'e54f1cadcf770e09cf3f60829a458b0230e27eb9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'sWqs': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + '_qaWMlqY': {'type': 'Entity', 'name': 'sWqs', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '_re': {'appliesTo': null, 'memberOf': null}, + 'is': { + 'appliesTo': { + 'resourceTypes': ['sWqs'], + 'principalTypes': ['sWqs'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0000000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'www': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'sWqs', 'id': ''}, + 'attrs': { + '_qaWMlqY': { + '__entity': {'id': '', 'type': 'sWqs'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': '_re'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '56892e379439f016b9cedf9327e585608a5f57ab': { + 'name': '56892e379439f016b9cedf9327e585608a5f57ab', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00x/\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0642ad216c4c962428c4e1f6f94a1db8247af415': { + 'name': '0642ad216c4c962428c4e1f6f94a1db8247af415', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && (if (if (if 0 then principal else principal) then principal else principal) then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a71d0f3bb35dfaafc92756b6a2e71a6d02d8bd76': { + 'name': 'a71d0f3bb35dfaafc92756b6a2e71a6d02d8bd76', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Khhzhhhk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Khhzhhhk'], + 'principalTypes': ['Khhzhhhk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in Khhzhhhk::"....",\n action in [Action::"action"],\n resource == Khhzhhhk::"...."\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khhzhhhk', 'id': '....'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhzhhhk', 'id': '....'}, + 'resource': {'type': 'Khhzhhhk', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7403031002cb460a1df9b6d9a169f4ccb76b70d3': { + 'name': '7403031002cb460a1df9b6d9a169f4ccb76b70d3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7371969cd47bf1f523502dcc01998d220df2594d': { + 'name': '7371969cd47bf1f523502dcc01998d220df2594d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFFFFFF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFFFF'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'resource': {'type': 'a', 'id': 'FFFF\x00&F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2d8ef9bbd4a39187d62cd78bc8cff5db1d5c2703': { + 'name': '2d8ef9bbd4a39187d62cd78bc8cff5db1d5c2703', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'pFYrgt': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '/wegpr': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'pFYrgt'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8517b6f5dfec8cd097e5be7e0bc4671be261086e': { + 'name': '8517b6f5dfec8cd097e5be7e0bc4671be261086e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'PT'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'sN'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': "z'"}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02oc/'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'L'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'sN'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02oc/'}, + 'resource': {'type': 'a', 'id': '\x02oc/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a668f8dfb449583535685709a7d9fa1355e32e89': { + 'name': 'a668f8dfb449583535685709a7d9fa1355e32e89', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': true}, + 'F0ca': {'type': 'Entity', 'name': 'a', 'required': true}, + 'qkckmp1': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + 'c': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': '', + 'F0ca': { + '__entity': {'id': '', 'type': 'a'} + }, + 'qkckmp1': {'': '', 'c': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f49bf87abd8fad00a3d20364ecb4da7b19ceb31b': { + 'name': 'f49bf87abd8fad00a3d20364ecb4da7b19ceb31b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@f1w("\\u{6}")\npermit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n (true && a::"\\0") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '29c852068851eff3d2ac701a81ddc671e346f0fb': { + 'name': '29c852068851eff3d2ac701a81ddc671e346f0fb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00FFF\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '5a241e36a01f47a8b6a069a0bac82efe0b926571': { + 'name': '5a241e36a01f47a8b6a069a0bac82efe0b926571', + 'schema_json': { + 'r::l77::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::l77::r::a::"",\n action in [r::l77::r::Action::"action"],\n resource in r::l77::r::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::l77::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b1aed3d993954e1122aba91bca73575cb9ef259a': { + 'name': 'b1aed3d993954e1122aba91bca73575cb9ef259a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::"00"\n) when {\n true && (a::"00" == true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '21258d5fc152aec138c91355f29f55459971ad7a': { + 'name': '21258d5fc152aec138c91355f29f55459971ad7a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\t\\0",\n action,\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\t\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e704fc223403a113f3a85563c360c17fa71e3535': { + 'name': 'e704fc223403a113f3a85563c360c17fa71e3535', + 'schema_json': { + 'r': { + 'commonTypes': {}, + 'entityTypes': { + 'rb93FU3': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['rb93FU3'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G'], + 'principalTypes': ['rb93FU3'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::rb93FU3', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::rb93FU3', 'id': '\x7F\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + {'type': 'r::rb93FU3', 'id': '\x7F\x02'}, + {'type': 'r::rb93FU3', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::rb93FU3', 'id': ':::\x1A:'}, + 'resource': {'type': 'r::G', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e02e2ae73a80519758593d2206484b8292d2c004': { + 'name': 'e02e2ae73a80519758593d2206484b8292d2c004', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && ((if (principal == principal) then principal else principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'fffffffff@f'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'fffffffff@f'}, + 'resource': {'type': 'a', 'id': 'fffffffff@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8cd892c9f8a57554f1fc08c8ede88a9787f873e8': { + 'name': '8cd892c9f8a57554f1fc08c8ede88a9787f873e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@G6t7wr6("\\u{6}\\u{6}\\u{6}")\npermit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '"'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '"'}, + 'resource': {'type': 'a', 'id': '"'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '65d7ad80c51c5bfa56e22a5c11073a26fa23143d': { + 'name': '65d7ad80c51c5bfa56e22a5c11073a26fa23143d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"0",\n action in [Action::"action"],\n resource\n) when {\n (true && a::"0") && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4da401e9849200d10391c1ccf380b48545805619': { + 'name': '4da401e9849200d10391c1ccf380b48545805619', + 'schema_json': { + 'r::n::r::J::r': { + 'commonTypes': {}, + 'entityTypes': { + 'u': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['u', 'r'], + 'principalTypes': ['r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::n::r::J::r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::n::r::J::r::r', 'id': ''}, + 'resource': {'type': 'r::n::r::J::r::u', 'id': ''}, + 'action': {'type': 'r::n::r::J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22e92ff0f6ef3d799723c536734d846d1c78a197': { + 'name': '22e92ff0f6ef3d799723c536734d846d1c78a197', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'R77': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['R77'], + 'principalTypes': ['R77'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in R77::"Z",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R77', 'id': 'Z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'R77', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R77', 'id': 'Z'}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R77', 'id': ''}, + 'resource': {'type': 'R77', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '52ba08e9d979bad6e44cc399fd4ba616cb84cad3': { + 'name': '52ba08e9d979bad6e44cc399fd4ba616cb84cad3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'O455_z': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false}, + 'mzzirzzzq0z000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'O455_z': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzirzzzq0z000': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6af9d7dcf0429428e6e566ea67e90cd2a92c0606': { + 'name': '6af9d7dcf0429428e6e566ea67e90cd2a92c0606', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::4'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [ + [false, true], + [], + [false, true], + [true, false, false, false, false], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9bc9b8dc68881102f184363b5b6df6153a2ff5fe': { + 'name': '9bc9b8dc68881102f184363b5b6df6153a2ff5fe', + 'schema_json': { + 'm85www': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm85www::a', 'id': ':cʌto'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm85www::a', 'id': "em'r>x"}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm85www::a', 'id': ':cʌto'}, + 'resource': {'type': 'm85www::a', 'id': ':cʌto'}, + 'action': {'type': 'm85www::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9f4d739955479dd973a11169342840d58c77101f': { + 'name': '9f4d739955479dd973a11169342840d58c77101f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0zzz\\u{11}z",\n action == Action::"action",\n resource == a::"\\0zzz\\u{11}z"\n) when {\n (true && ((principal == principal) || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z0zz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'resource': {'type': 'a', 'id': '\x00zzz\x11z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4dcdd9c33af63be9c8eda6aa7ce0561f03f2d2f2': { + 'name': '4dcdd9c33af63be9c8eda6aa7ce0561f03f2d2f2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\t\x00\x00j\x00\x00(\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\t\x00\x00j\x00\x00(\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ec9dd30e89a3764e03ddea1cdd980fbfcfc7b2b2': { + 'name': 'ec9dd30e89a3764e03ddea1cdd980fbfcfc7b2b2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true && (((A::Ass::"" in principal) in principal) in principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3be7217c9c8e8d5aff2d052aa2047e5822b71b09': { + 'name': '3be7217c9c8e8d5aff2d052aa2047e5822b71b09', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'l'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33b6de8a02febaf27017c36fda55b014df7f46c5': { + 'name': '33b6de8a02febaf27017c36fda55b014df7f46c5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && ((!(context == "")) == "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4c7f1052c7dde563dbbc0de4ec169d961f4ca5c9': { + 'name': '4c7f1052c7dde563dbbc0de4ec169d961f4ca5c9', + 'schema_json': { + 'G::R::W10k00k0JHHHQH::u0JH': { + 'commonTypes': {}, + 'entityTypes': { + 'Fj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['Fj'], + 'principalTypes': ['Fj'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'resource': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Fj', 'id': ''}, + 'action': {'type': 'G::R::W10k00k0JHHHQH::u0JH::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e83f66ccc4b4025afbb9dcadfc056a002d23fbd2': { + 'name': 'e83f66ccc4b4025afbb9dcadfc056a002d23fbd2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'x': { + 'memberOfTypes': ['xml0ddldv'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'xml0ddldv': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['x'], + 'principalTypes': ['x'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'w', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'xml0ddldv', 'id': ''} + ] + }, + { + 'uid': {'type': 'xml0ddldv', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e3759308a17eaea1b8f0eeafb7a36ac12b0f7f6d': { + 'name': 'e3759308a17eaea1b8f0eeafb7a36ac12b0f7f6d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x07'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02co\x02\n\x02\x02\x02\x02\x02\x02cx\x01' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '60f642cbd99199661c5583bc2127e40283315a2d': { + 'name': '60f642cbd99199661c5583bc2127e40283315a2d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"0000",\n action == Action::"action",\n resource == a::"0000"\n) when {\n true && (!false)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0000'}, + 'resource': {'type': 'a', 'id': '0000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9c3735b65cac7bbeb208a71005493bc36f3c3dbb': { + 'name': '9c3735b65cac7bbeb208a71005493bc36f3c3dbb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'l'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6186214b2bed06031da258d01afa620957fc8f3f': { + 'name': '6186214b2bed06031da258d01afa620957fc8f3f', + 'schema_json': { + 'Gxt833777': { + 'commonTypes': {}, + 'entityTypes': { + 'vxxnjjjjjj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['vxxnjjjjjj'], + 'principalTypes': ['vxxnjjjjjj'], + 'context': { + 'type': 'Record', + 'attributes': { + 'K00000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'resource': {'type': 'Gxt833777::vxxnjjjjjj', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {'K00000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c28c8db96265dbac4913b5b6292e3146c515e073': { + 'name': 'c28c8db96265dbac4913b5b6292e3146c515e073', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'R77': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['R77'], + 'principalTypes': ['R77'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R77', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R77', 'id': '\x00\n'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R77', 'id': '\x00'}, + 'resource': {'type': 'R77', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f2bf002fe41e6c391d7e5b52a8a372fe18630f99': { + 'name': 'f2bf002fe41e6c391d7e5b52a8a372fe18630f99', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'ukkkkkkk4kkkk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['ukkkkkkk4kkkk'], + 'principalTypes': ['ukkkkkkk4kkkk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'ukkkkkkk4kkkk', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'resource': {'type': 'ukkkkkkk4kkkk', 'id': '....\x13\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33c9613909304c44134d611ad69d72b474ee46e3': { + 'name': '33c9613909304c44134d611ad69d72b474ee46e3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && r::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '152fbf832dfe0294b580b983ca1aecaa0ab3249f': { + 'name': '152fbf832dfe0294b580b983ca1aecaa0ab3249f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'resource': {'type': 'a', 'id': 'ݭ\x17\x17\x17'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e8cc98c2a80e66f620f76b7cc8c0ea206f050509': { + 'name': 'e8cc98c2a80e66f620f76b7cc8c0ea206f050509', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'q': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'O': { + 'memberOfTypes': ['A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O', 'q', 'A', 'B', 'r'], + 'principalTypes': ['O', 'q', 'A', 'B', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'q', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''} + ] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6b963e4ae007e7f7dac2eacabae5954b61b0fa9a': { + 'name': '6b963e4ae007e7f7dac2eacabae5954b61b0fa9a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action in [Action::"action"],\n resource in a::"\\u{2}1"\n) when {\n ((true && (!(!(true == false)))) && (((true == principal) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a86332e8417b2d0f3f98e810965de54f38d16ec0': { + 'name': 'a86332e8417b2d0f3f98e810965de54f38d16ec0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource == a::"00"\n) when {\n true && (a::"00" == true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1c9e4a8ba9c69657e4f1a7ea2f7e52f4aa11cbde': { + 'name': '1c9e4a8ba9c69657e4f1a7ea2f7e52f4aa11cbde', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"00"\n) when {\n (true && (-("2p"))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '81128bfdaec02e2a97f5043dde1bd539e357fcaa': { + 'name': '81128bfdaec02e2a97f5043dde1bd539e357fcaa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+\x03'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+\x03'}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+\x03'}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+\x03'}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+\x03'}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+\x03'}, + 'resource': {'type': 'a', 'id': '+\x03'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '433f18cddaad9fb3bc84e5eb2f0128dc04a14939': { + 'name': '433f18cddaad9fb3bc84e5eb2f0128dc04a14939', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Fwwwww': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + }, + 'r': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': [], 'Fwwwww': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'Fwwwww': [], 'r': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7a75c93748788ee3682ccb5c38b7e9e0daabc374': { + 'name': '7a75c93748788ee3682ccb5c38b7e9e0daabc374', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"`"\n) when {\n (true && context) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4abc8267dfa38260a94e56997bd3d32397ddafc7': { + 'name': '4abc8267dfa38260a94e56997bd3d32397ddafc7', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'Z': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'z': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::a', 'id': 'a'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::a', 'id': 'a'}, + 'resource': {'type': 'cP::v::a', 'id': 'a'}, + 'action': {'type': 'cP::v::Action', 'id': 'Z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '46ccfc10ef864cc7f8c6e7d67036c8c1781844ad': { + 'name': '46ccfc10ef864cc7f8c6e7d67036c8c1781844ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"`",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n (true && "z") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a43afb80f7885cbfef046a3a9afeacecb85354d3': { + 'name': 'a43afb80f7885cbfef046a3a9afeacecb85354d3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'W': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['W', 'r', 'F333'], + 'principalTypes': ['W', 'r', 'F333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ':>'}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'W', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ':::'}, + {'type': 'F333', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'r', 'id': ':>'} + ] + }, + { + 'uid': {'type': 'r', 'id': ':::'}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W', 'id': ''}, + 'resource': {'type': 'W', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '91ecacebaa77afde6e1994e0cbd9ad9e8972dd8a': { + 'name': '91ecacebaa77afde6e1994e0cbd9ad9e8972dd8a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"\\u{6}\\u{e}\\0\\u{6}:\\u{6}\\0"\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x0E\x00\x06:\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd377fedb7fc99865c1e8c13c2fdd812fa041f905': { + 'name': 'd377fedb7fc99865c1e8c13c2fdd812fa041f905', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '@'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd6dde94fdc76cf2ba5c1ac07e02a291730daf56': { + 'name': 'bd6dde94fdc76cf2ba5c1ac07e02a291730daf56', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (({} == a::"") * 17)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b42a2e319baa13c4bfc3207cfed423d5b235c7a3': { + 'name': 'b42a2e319baa13c4bfc3207cfed423d5b235c7a3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [],\n resource == a::"00"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b3305ef1a95d6d84b653de740d0688824e6cc958': { + 'name': 'b3305ef1a95d6d84b653de740d0688824e6cc958', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e72870aef6ae5d3440e39ca160e8498ee7964ebc': { + 'name': 'e72870aef6ae5d3440e39ca160e8498ee7964ebc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f3b2795dc3a36002a8f1019a846972476afcec57': { + 'name': 'f3b2795dc3a36002a8f1019a846972476afcec57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n true && (!false)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '5299903b4c7a5070b089a052d2dfd8bd21bd483e': { + 'name': '5299903b4c7a5070b089a052d2dfd8bd21bd483e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': 'b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': 'b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': 'b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': 'b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'b'}, + 'resource': {'type': 'a', 'id': 'b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3180e80eded244e4e85d7bd1344cc621bee9e305': { + 'name': '3180e80eded244e4e85d7bd1344cc621bee9e305', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': 'x\n\x02\x02\x02\x02\x01i\x02\x02\x02\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9250519ce2283cfeec18cbbd341db4bd9fc56423': { + 'name': '9250519ce2283cfeec18cbbd341db4bd9fc56423', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"(0",\n action in [Action::"action",Action::"action"],\n resource == a::"(0"\n) when {\n true && (!(!(a::"(0" in context)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '(0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bc96415309c3b229c7d40bff8a3b9cf0cd58071a': { + 'name': 'bc96415309c3b229c7d40bff8a3b9cf0cd58071a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\t\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\t\x00'}, + 'resource': {'type': 'a', 'id': '\t\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5ad5af43be1829c480ff5a68e7e014a5dc1668b8': { + 'name': '5ad5af43be1829c480ff5a68e7e014a5dc1668b8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"+ier\\\\\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+ier\\\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+ier\\\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '400b93e7ff96634977e53d3f7b0b183f35a5291a': { + 'name': '400b93e7ff96634977e53d3f7b0b183f35a5291a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00jj#\b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bb18e52bb813c138683e38f2e1ebc7dfd3131ad7': { + 'name': 'bb18e52bb813c138683e38f2e1ebc7dfd3131ad7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action,\n resource == a::"\\u{2}1"\n) when {\n ((true && (163895704086267462 == (if principal then principal else principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5dfc5d05bfd5474dd95c05d07eeabf0cef876388': { + 'name': '5dfc5d05bfd5474dd95c05d07eeabf0cef876388', + 'schema_json': { + 'A000': { + 'commonTypes': {}, + 'entityTypes': { + 'VTHLL': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'vdkY0jjjjE': { + 'memberOfTypes': ['VTHLL'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['vdkY0jjjjE', 'VTHLL'], + 'principalTypes': ['vdkY0jjjjE', 'VTHLL'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A000::VTHLL', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A000::VTHLL', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'resource': {'type': 'A000::vdkY0jjjjE', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '39e580df8ad4aa5957fb8a24896dbf7fe4a1ef70': { + 'name': '39e580df8ad4aa5957fb8a24896dbf7fe4a1ef70', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['r', 'n'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['n'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'fB': { + 'memberOfTypes': ['G', 'r', 'n'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['fB', 'G', 'r', 'n'], + 'principalTypes': ['fB', 'G', 'r', 'n'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'fB', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'G', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'fB', 'id': ''}, + 'resource': {'type': 'fB', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6cfc2e19564dc9b5d218fb1b7c5387cf4ff164bd': { + 'name': '6cfc2e19564dc9b5d218fb1b7c5387cf4ff164bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::"FFFA\\0\\u{6}"\n) when {\n (true && resource) && (((A::"".contains(principal)) == principal).contains(principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'resource': {'type': 'a', 'id': 'FFFA\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9ae2a4802b9d0889173964d21b2a63126f31d94f': { + 'name': '9ae2a4802b9d0889173964d21b2a63126f31d94f', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"",\n action in [A::Action::"action"],\n resource in A::a::""\n) when {\n ((true && ((if (false == principal) then principal else principal) in principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'faf56bf278f227911d0481fabba6afebcd204e57': { + 'name': 'faf56bf278f227911d0481fabba6afebcd204e57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eabb42b2e81c0bad00a33668a407915bf8a3b0d8': { + 'name': 'eabb42b2e81c0bad00a33668a407915bf8a3b0d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n true && (!context)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9157df8f4e7f9ad3421b8f5d6fd2e57babee7043': { + 'name': '9157df8f4e7f9ad3421b8f5d6fd2e57babee7043', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00&'}, + 'resource': {'type': 'a', 'id': '\x00\x00&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'dc10006036dd185ebf256e9ff21f88aa2bc720bd': { + 'name': 'dc10006036dd185ebf256e9ff21f88aa2bc720bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0,ff",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\0\\0,ff"\n) when {\n true && action\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00,ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00,ff'}, + 'resource': {'type': 'a', 'id': '\x00\x00,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e512b76c63cdf7e61a995a30a93d12f7aed91a2b': { + 'name': 'e512b76c63cdf7e61a995a30a93d12f7aed91a2b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == F::":::",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ece73ee86354c14a47b1b9227999de3177fac31b': { + 'name': 'ece73ee86354c14a47b1b9227999de3177fac31b', + 'schema_json': { + 'iwwwww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'o:;::::ff': {'appliesTo': null, 'memberOf': null}, + 'un/n': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'iwwwww::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'iwwwww::Action', 'id': 'o:;::::ff'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a8c129e6673079a29c3d31194c0a5fa5f35b811f': { + 'name': 'a8c129e6673079a29c3d31194c0a5fa5f35b811f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true && resource\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'C\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '02ffc16957f384b0168838937ca001e56f6b2eb6': { + 'name': '02ffc16957f384b0168838937ca001e56f6b2eb6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n (true && "A") && (((Action::"action".containsAll(a::"")) == principal) like "A")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2e7de5fbaf5460864156bcda3ca470783782523f': { + 'name': '2e7de5fbaf5460864156bcda3ca470783782523f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"fff\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'fff\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'fff\x00'}, + 'resource': {'type': 'a', 'id': 'fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'fff\x00'}, + 'resource': {'type': 'a', 'id': 'fff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'fff\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ea3b3bb7b61997bc73aa38c5229b58386ddc2606': { + 'name': 'ea3b3bb7b61997bc73aa38c5229b58386ddc2606', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && a::"\\0") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0b249feb22c3085af29fe1f1a49a47ebea0fc72e': { + 'name': '0b249feb22c3085af29fe1f1a49a47ebea0fc72e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'zz|z': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zz|z'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5b4a30d31760d8352c69bd9de176eff0f3e102c4': { + 'name': '5b4a30d31760d8352c69bd9de176eff0f3e102c4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1f644ac1deaec0d3a28c91865339f159bc69bb89': { + 'name': '1f644ac1deaec0d3a28c91865339f159bc69bb89', + 'schema_json': { + 'B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B::a', 'id': ''}, + 'attrs': {'x': false}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'fff_m'}, + 'attrs': {'x': false}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'f'}, + 'attrs': {'x': false}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'enn'}, + 'attrs': {'x': false}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'e_'}, + 'attrs': {'x': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B::a', 'id': 'f'}, + 'resource': {'type': 'B::a', 'id': 'f'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d404dc752902d853fcb2b9491ea8943edaad795': { + 'name': '9d404dc752902d853fcb2b9491ea8943edaad795', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n true && N::"l;vQ1\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '47735d3eab0f3053c4da1e7a75abb6d7c72281d6': { + 'name': '47735d3eab0f3053c4da1e7a75abb6d7c72281d6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && ((if (4330 like "") then principal else principal) has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c5dea430902a547482bc3ff849be108adf4ab799': { + 'name': 'c5dea430902a547482bc3ff849be108adf4ab799', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"\\u{6}",\n action in [Action::"action"],\n resource in a::"\\u{6}"\n) when {\n (true && context) && (!a::"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a6c21196776a4e91e71f1aea65176b4f1e3ae983': { + 'name': 'a6c21196776a4e91e71f1aea65176b4f1e3ae983', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '58dfe227a7493baf3168cb5e148ea5c85de96139': { + 'name': '58dfe227a7493baf3168cb5e148ea5c85de96139', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '\x00\x00::::::'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e7a132f0e49156923495b7a82cce41265f095657': { + 'name': 'e7a132f0e49156923495b7a82cce41265f095657', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x05\x05'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1cf81f57e323f996e54685db960cb28ae80301ad': { + 'name': '1cf81f57e323f996e54685db960cb28ae80301ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"",\n resource == a::"+"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9dc2422955c9d8ead1676ef13b0a28980cd27eed': { + 'name': '9dc2422955c9d8ead1676ef13b0a28980cd27eed', + 'schema_json': { + 'Gxxxxxjju': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxjju::a', 'id': ''}, + 'action': {'type': 'Gxxxxxjju::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '93caa6f782faadb5a8a615325bf80d8d943d4e7f': { + 'name': '93caa6f782faadb5a8a615325bf80d8d943d4e7f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [],\n resource == a::"00"\n) when {\n true && (!false)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0a52da6b4da559794a2106d47bb08defa83df7e5': { + 'name': '0a52da6b4da559794a2106d47bb08defa83df7e5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '驩': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '(': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'R.': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c00d7ed64a2ac5a8331d45ee955ede225209d69d': { + 'name': 'c00d7ed64a2ac5a8331d45ee955ede225209d69d', + 'schema_json': { + 'r::Q::Qxxxxxxxx33': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'lbbW': { + 'type': 'Entity', + 'name': 'r::Q::Qxxxxxxxx33::a', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'resource': {'type': 'r::Q::Qxxxxxxxx33::a', 'id': ''}, + 'action': {'type': 'r::Q::Qxxxxxxxx33::Action', 'id': 'action'}, + 'context': { + 'lbbW': { + '__entity': {'id': '', 'type': 'r::Q::Qxxxxxxxx33::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2808898944b1db80f3d122e1c91357f0895940e8': { + 'name': '2808898944b1db80f3d122e1c91357f0895940e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': { + 'F': [':', ''] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::::'}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bbcefef754fb8ff1c9a48cb40254d24e4b021932': { + 'name': 'bbcefef754fb8ff1c9a48cb40254d24e4b021932', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ':::'}, + 'resource': {'type': 'F', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4a04c388b3a3b16748e1a87b5370cd7e4e1b21c2': { + 'name': '4a04c388b3a3b16748e1a87b5370cd7e4e1b21c2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'x': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'xl0dddddd': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['xl0dddddd'], + 'principalTypes': ['xl0dddddd'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'xl0dddddd', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'xl0dddddd', 'id': ''}, + 'resource': {'type': 'xl0dddddd', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '66b636dafde83ef3857d84000e2a3b8d93970194': { + 'name': '66b636dafde83ef3857d84000e2a3b8d93970194', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'O'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '@\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'O'}, + 'resource': {'type': 'a', 'id': 'O'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2d01a9dd1edaeddb62b729a0f6b80e670300517b': { + 'name': '2d01a9dd1edaeddb62b729a0f6b80e670300517b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@m("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c58f2dcfcaf1078ac26d626b32fe4e55d108a62a': { + 'name': 'c58f2dcfcaf1078ac26d626b32fe4e55d108a62a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::"action") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '6000'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': r'00$'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '6000'}, + 'resource': {'type': 'a', 'id': '6000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e1c6e1fbb078a7b301b99741c2c13e7648f0ba5a': { + 'name': 'e1c6e1fbb078a7b301b99741c2c13e7648f0ba5a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00000",\n action == Action::"action",\n resource in a::"00000"\n) when {\n ((true && principal) && (if principal then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00000'}, + 'resource': {'type': 'a', 'id': '00000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'be99802ae024b42034c30c09b782dd85b260450c': { + 'name': 'be99802ae024b42034c30c09b782dd85b260450c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b47f0e7119ff8a7854787659ba6486ed5dd160b0': { + 'name': 'b47f0e7119ff8a7854787659ba6486ed5dd160b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false && (((if principal then principal else principal) || principal) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2ab4dc91a56bfaf8d12d58b647a0a7d6e51bd8ed': { + 'name': '2ab4dc91a56bfaf8d12d58b647a0a7d6e51bd8ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'y/Fu'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'y/Fu'}, + 'resource': {'type': 'a', 'id': 'y/Fu'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7c804e83f6eb53159536f545664138a9139de58a': { + 'name': '7c804e83f6eb53159536f545664138a9139de58a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{7}\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0..'}, + 'resource': {'type': 'a', 'id': '0..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'dbeca91dba601740aa810e83bf915f68342b4576': { + 'name': 'dbeca91dba601740aa810e83bf915f68342b4576', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && (context == context)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d4ca98f581b4ef94b815572be787be546d99ce9': { + 'name': '9d4ca98f581b4ef94b815572be787be546d99ce9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@m("")\npermit(\n principal,\n action,\n resource\n) when {\n ((true && action) && ((principal && principal) || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '315dfa7040e05eacefa4c9ad4ed26555beb7433e': { + 'name': '315dfa7040e05eacefa4c9ad4ed26555beb7433e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (((false == true) == (!principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ad5600996bbc368f455e1c739f499c4cd9b77fc0': { + 'name': 'ad5600996bbc368f455e1c739f499c4cd9b77fc0', + 'schema_json': { + 'F': { + 'commonTypes': {}, + 'entityTypes': { + 'A0s': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'FamUJdww': { + 'memberOfTypes': ['A0s'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FamUJdww'], + 'principalTypes': ['FamUJdww', 'A0s'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F::A0s', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'F::FamUJdww', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F::A0s', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F::FamUJdww', 'id': ''}, + 'resource': {'type': 'F::FamUJdww', 'id': ''}, + 'action': {'type': 'F::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5f45352ad43448eb478955c2ba900de91d184435': { + 'name': '5f45352ad43448eb478955c2ba900de91d184435', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::":::8>",\n action in [Action::"action"],\n resource in A::":::8>"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ':::8>'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ':::8>'}, + 'resource': {'type': 'A', 'id': ':::8>'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f658514e0f0114f2e28feff17fd2382765095318': { + 'name': 'f658514e0f0114f2e28feff17fd2382765095318', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a83523a76464dc4cdbc49f69c8028989e301e6f7': { + 'name': 'a83523a76464dc4cdbc49f69c8028989e301e6f7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '461756b231a1a31d21cebbab1d767706e6e1af87': { + 'name': '461756b231a1a31d21cebbab1d767706e6e1af87', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x0E..\x13\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e9b0ec04f07c26ecbbc07d77b61ab84f61e73b74': { + 'name': 'e9b0ec04f07c26ecbbc07d77b61ab84f61e73b74', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource\n) when {\n (true && "") && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '#mp'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#mp'}, + 'resource': {'type': 'a', 'id': '#mp'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3f5e6b7dc70669824b8a9f41b0ce477464b69d75': { + 'name': '3f5e6b7dc70669824b8a9f41b0ce477464b69d75', + 'schema_json': { + 'l0www0ww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l0www0ww::a', 'id': '::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'l0www0ww::a', 'id': '::\n:::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'l0www0ww::a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'l0www0ww::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l0www0ww::a', 'id': ':'}, + 'resource': {'type': 'l0www0ww::a', 'id': ':'}, + 'action': {'type': 'l0www0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ff4d2518acef2025edd52399c6bbaf8c2642eda6': { + 'name': 'ff4d2518acef2025edd52399c6bbaf8c2642eda6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource in a::"\\0:\\0:\\0\\0\\0:"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'resource': {'type': 'a', 'id': '\x00:\x00:\x00\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '48189024d3b0ea460b729fe30f9613cb1f87fe0d': { + 'name': '48189024d3b0ea460b729fe30f9613cb1f87fe0d', + 'schema_json': { + 'N8xp37x77': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'mxp37x77777Hzj7H': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + } + }, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'N8xp37x77::a', 'id': ''}, + 'attrs': {'mxp37x77777Hzj7H': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'N8xp37x77::a', 'id': ''}, + 'resource': {'type': 'N8xp37x77::a', 'id': ''}, + 'action': {'type': 'N8xp37x77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1f36c9706239dd78335e11047422d3beb0ca799b': { + 'name': '1f36c9706239dd78335e11047422d3beb0ca799b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '49aeadff64691c2fabe84335637947046a07af31': { + 'name': '49aeadff64691c2fabe84335637947046a07af31', + 'schema_json': { + 'J': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && Bsmm::"") && (!(!(!false)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'J::a', 'id': '600'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'J::a', 'id': '600'}, + 'resource': {'type': 'J::a', 'id': '600'}, + 'action': {'type': 'J::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e5007c7ec30342efdb400ed2c90eb551994574f4': { + 'name': 'e5007c7ec30342efdb400ed2c90eb551994574f4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'f1dd': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '('}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '6'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '('}, + 'resource': {'type': 'a', 'id': '('}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'f1dd': { + '__entity': {'id': '(', 'type': 'a'} + } + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'df717142035535be823880e938720aaf57529996': { + 'name': 'df717142035535be823880e938720aaf57529996', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && (!(!(!a::":\\0\\066")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\x00\x0066'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':\x00\x0066'}, + 'resource': {'type': 'a', 'id': ':\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5f8c11c34b2bf708ee41de0b188ec771a8605a46': { + 'name': '5f8c11c34b2bf708ee41de0b188ec771a8605a46', + 'schema_json': { + 'W::v': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == W::v::A::"",\n action in [W::v::Action::"action",W::v::Action::"action",W::v::Action::"action"],\n resource in W::v::A::""\n) when {\n (true && (if principal then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'W::v::A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W::v::A', 'id': ''}, + 'resource': {'type': 'W::v::A', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '22ad0a749445ed17a1000b585509607fc2b87a7f': { + 'name': '22ad0a749445ed17a1000b585509607fc2b87a7f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [],\n resource\n) when {\n true && (!Action::"action")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\$\x00\x00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2f05c0b59d4013ce1145e6f4fa165f847aae82f2': { + 'name': '2f05c0b59d4013ce1145e6f4fa165f847aae82f2', + 'schema_json': { + 'L::A000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == L::A000::a::"+",\n action in [L::A000::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'L::A000::a', 'id': '1'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'L::A000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'L::A000::a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L::A000::a', 'id': '+'}, + 'resource': {'type': 'L::A000::a', 'id': '+'}, + 'action': {'type': 'L::A000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5ed0e1028ef9da7356fec30491cd6aa4dd670ac7': { + 'name': '5ed0e1028ef9da7356fec30491cd6aa4dd670ac7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'rrr'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'rr'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'rr'}, + 'resource': {'type': 'a', 'id': 'rr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'rr'}, + 'resource': {'type': 'a', 'id': 'rr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'rrr'}, + 'resource': {'type': 'a', 'id': 'rrr'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd472d084ca3788830980ecb74e2c12afa681a1d5': { + 'name': 'd472d084ca3788830980ecb74e2c12afa681a1d5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (-(-(!false)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::q'}, + 'resource': {'type': 'a', 'id': ':::q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b4dc1d4785707448f03dc5a5dcf34493a76ef134': { + 'name': 'b4dc1d4785707448f03dc5a5dcf34493a76ef134', + 'schema_json': { + 'Gxxxx100g': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in Gxxxx100g::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxx100g::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Gxxxx100g::a', 'id': 'k/\x1F\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxx100g::a', 'id': ''}, + 'resource': {'type': 'Gxxxx100g::a', 'id': ''}, + 'action': {'type': 'Gxxxx100g::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '89d3fec3b348145d73322847f3cf3fd49189b925': { + 'name': '89d3fec3b348145d73322847f3cf3fd49189b925', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '352f61b4d81394cf50e3228ce1bce32da88862f5': { + 'name': '352f61b4d81394cf50e3228ce1bce32da88862f5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true && (if (principal has "") then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RR'}, + 'resource': {'type': 'a', 'id': 'RR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '809781fa771e6743817dcaf47588007711137bfb': { + 'name': '809781fa771e6743817dcaf47588007711137bfb', + 'schema_json': { + 'R::Wj::A::AJHH': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == R::Wj::A::AJHH::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'resource': {'type': 'R::Wj::A::AJHH::a', 'id': ''}, + 'action': {'type': 'R::Wj::A::AJHH::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9a616543bd8998923ac6f94a910800990ab0ecb8': { + 'name': '9a616543bd8998923ac6f94a910800990ab0ecb8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A00': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"b600",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"b600"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'b600'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': '0'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'b600'}, + 'resource': {'type': 'a', 'id': 'b600'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A00': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f5609e4fb14b5b0c8878c035686e65432026e2e3': { + 'name': 'f5609e4fb14b5b0c8878c035686e65432026e2e3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bs': {'type': 'String', 'required': false}, + 'v': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '80'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '80'}, + 'resource': {'type': 'a', 'id': '80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'v': '', 'Bs': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9ebea5ee4c2e11650b673b3de9b6923a9c2b4d6a': { + 'name': '9ebea5ee4c2e11650b673b3de9b6923a9c2b4d6a', + 'schema_json': { + 'B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B::a', 'id': 'eng'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'ded_m'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': '::fffd'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'in'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': 'e'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'B::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B::a', 'id': '::fffd'}, + 'resource': {'type': 'B::a', 'id': '::fffd'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2730bb0abe3e54013677dcccf7b04f96fb0be285': { + 'name': '2730bb0abe3e54013677dcccf7b04f96fb0be285', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0",\n action,\n resource\n) when {\n true && 7134266958731542649\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1e0eee047b45a55f065f42609975d13466df1003': { + 'name': '1e0eee047b45a55f065f42609975d13466df1003', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'S'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x07'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'x'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast\x01\x01r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4e56e3d450ac86ca6e9725bd433e113ced63d2b6': { + 'name': '4e56e3d450ac86ca6e9725bd433e113ced63d2b6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'mzzzzZz': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['mzzzzZz'], + 'principalTypes': ['mzzzzZz'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'mzzzzZz', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzzZz', 'id': ''}, + 'resource': {'type': 'mzzzzZz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8ba8fb47f07ac9b58b2763b1020e5a2e2e4acf79': { + 'name': '8ba8fb47f07ac9b58b2763b1020e5a2e2e4acf79', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': '\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': '\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 's::a', 'id': '\x00'}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 's::a', 'id': ''}, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fdfa1af780d53db9313ac161f3fc5a7335836ba7': { + 'name': 'fdfa1af780d53db9313ac161f3fc5a7335836ba7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'W': { + 'memberOfTypes': ['r', 'F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['W', 'r'], + 'principalTypes': ['W', 'F333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'W', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'W', 'id': '::!:'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W', 'id': '::!:'}, + 'resource': {'type': 'W', 'id': '::!:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2dfeef893ce30fabc766d84a556edd70f9749fcb': { + 'name': '2dfeef893ce30fabc766d84a556edd70f9749fcb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@m("")\n@q("")\n@r("")\n@r350000000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f0a68af24489b18f1ed93c2952787ce4d99bddc8': { + 'name': 'f0a68af24489b18f1ed93c2952787ce4d99bddc8', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource == s::a::"\\0\\0\\0Z\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 's::a', 'id': '\x01'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 's::a', 'id': '\x01'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'resource': {'type': 's::a', 'id': '\x00\x00\x00Z\x00'}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e6db16ad2735efa7f9e3d5a764bd3b59d8085bdc': { + 'name': 'e6db16ad2735efa7f9e3d5a764bd3b59d8085bdc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '::': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': ''}, + 'resource': {'type': 'F', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4fdc4e1419abd839789e5a013473f5b24dfef7f3': { + 'name': '4fdc4e1419abd839789e5a013473f5b24dfef7f3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '04ab8774dce503da2421cd6d038f69c5601734bc': { + 'name': '04ab8774dce503da2421cd6d038f69c5601734bc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("\\0")\npermit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (!((false has "") == principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fdbc43fb8590b30134d3051354baca39abcc4846': { + 'name': 'fdbc43fb8590b30134d3051354baca39abcc4846', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && principal) && ((!(principal + principal)) + principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8d048b9fcca970f83aaf76afb16a4c7ba2afa0e8': { + 'name': '8d048b9fcca970f83aaf76afb16a4c7ba2afa0e8', + 'schema_json': { + 'nww_ww000001': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in nww_ww000001::a::"fff",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'nww_ww000001::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'resource': {'type': 'nww_ww000001::a', 'id': 'fff'}, + 'action': {'type': 'nww_ww000001::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '541b68ab4077e66b57fe10c02e4930a4a5167efd': { + 'name': '541b68ab4077e66b57fe10c02e4930a4a5167efd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'FFF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'F': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'DFFF'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'DFFF'}, + 'resource': {'type': 'a', 'id': 'DFFF'}, + 'action': {'type': 'Action', 'id': 'FFF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '936dfd337ccf0412600b478aeb2ec982ef624919': { + 'name': '936dfd337ccf0412600b478aeb2ec982ef624919', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'jj': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'av'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'jj'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '26b830fd9423f8de3ddc676eaea3bc442a68fe12': { + 'name': '26b830fd9423f8de3ddc676eaea3bc442a68fe12', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && a::"\\0") && a::"."\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '.'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '77708836eae103c79faa5430bb540443ada6b188': { + 'name': '77708836eae103c79faa5430bb540443ada6b188', + 'schema_json': { + 'l::Kdw6wyUy6y78': { + 'commonTypes': {}, + 'entityTypes': { + 'Fww6y788': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fww6y788'], + 'principalTypes': ['Fww6y788'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'resource': {'type': 'l::Kdw6wyUy6y78::Fww6y788', 'id': ''}, + 'action': {'type': 'l::Kdw6wyUy6y78::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a9bf1361a8f55899e5690f4edb3f63f151eb4345': { + 'name': 'a9bf1361a8f55899e5690f4edb3f63f151eb4345', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"F/t`\\u{3}",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'F/t`\x03'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '/t'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'F/t`\x03'}, + 'resource': {'type': 'a', 'id': 'F/t`\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '163083371b5763682e22beff81ec7dc11208e336': { + 'name': '163083371b5763682e22beff81ec7dc11208e336', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && a::"") && (principal || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e3c0663125e18d6e4061ff31dcaeaca64b9fe7d7': { + 'name': 'e3c0663125e18d6e4061ff31dcaeaca64b9fe7d7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"*fsun/\\0\\0K",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\tf)\x00'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'resource': {'type': 'a', 'id': '*fsun/\x00\x00K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7c34e0067e81ec637d7a2eb9a4c1d03e6ea74ebd': { + 'name': '7c34e0067e81ec637d7a2eb9a4c1d03e6ea74ebd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0i\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '91d90806521341a9dab4b6e1c3b202e99375b498': { + 'name': '91d90806521341a9dab4b6e1c3b202e99375b498', + 'schema_json': { + 'mxxv::mxxv': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'fv': {'type': 'Boolean', 'required': false}, + 'v': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'resource': {'type': 'mxxv::mxxv::a', 'id': ''}, + 'action': {'type': 'mxxv::mxxv::Action', 'id': 'action'}, + 'context': {'v': {}, 'fv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e1ab6dbdab417662086f05cf5cef4783c9527df5': { + 'name': 'e1ab6dbdab417662086f05cf5cef4783c9527df5', + 'schema_json': { + 'r::r::r00::B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Wjjjjjux2': { + 'type': 'Entity', + 'name': 'r::r::r00::B::a', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r00::B::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r00::B::a', 'id': ''}, + 'resource': {'type': 'r::r::r00::B::a', 'id': ''}, + 'action': {'type': 'r::r::r00::B::Action', 'id': ''}, + 'context': { + 'Wjjjjjux2': { + '__entity': {'id': '', 'type': 'r::r::r00::B::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '69d41647b14ed47571fe950f2fbda31127455843': { + 'name': '69d41647b14ed47571fe950f2fbda31127455843', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (true in true)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2e0f8405e4eb5dca742c420943a4d237a90f3dc7': { + 'name': '2e0f8405e4eb5dca742c420943a4d237a90f3dc7', + 'schema_json': { + 'ph9kXkkkk40000::ifh': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'resource': {'type': 'ph9kXkkkk40000::ifh::a', 'id': ''}, + 'action': {'type': 'ph9kXkkkk40000::ifh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1ffe07c987be353018d565e8e6efd95c7c100ef5': { + 'name': '1ffe07c987be353018d565e8e6efd95c7c100ef5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && [a::"", "", !principal, principal]\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ce56cd89a9f467a753248fecdab1afce4c35b6e4': { + 'name': 'ce56cd89a9f467a753248fecdab1afce4c35b6e4', + 'schema_json': { + 'Fwww::Ay': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@y("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwww::Ay::a', 'id': 'j:9\x01\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwww::Ay::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'resource': {'type': 'Fwww::Ay::a', 'id': '::\x1A'}, + 'action': {'type': 'Fwww::Ay::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5b53a9d55eee49d43010321b95a98f3f9a30e2db': { + 'name': '5b53a9d55eee49d43010321b95a98f3f9a30e2db', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && Action::"action") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x10\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x10\x01'}, + 'resource': {'type': 'a', 'id': '\x10\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a8a34bb71ea2c2b440c290ac0a95cc0599bd8148': { + 'name': 'a8a34bb71ea2c2b440c290ac0a95cc0599bd8148', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'lyyUIKldYqrj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Dl': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 's': { + 'appliesTo': { + 'resourceTypes': ['lyyUIKldYqrj'], + 'principalTypes': ['lyyUIKldYqrj'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'attrs': {'Dl': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'resource': {'type': 'lyyUIKldYqrj', 'id': ''}, + 'action': {'type': 'Action', 'id': 's'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '20177d26bdaecebb3d618c30dd7055ed9373eab2': { + 'name': '20177d26bdaecebb3d618c30dd7055ed9373eab2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"",Action::""],\n resource == a::"+"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ba3e19b3c147885c792ad04d896258f6800adc01': { + 'name': 'ba3e19b3c147885c792ad04d896258f6800adc01', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'D655zz': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['D655zz'], + 'principalTypes': ['D655zz'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in D655zz::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'D655zz', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'D655zz', 'id': ''}, + 'resource': {'type': 'D655zz', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a3e25c38d3d45cf512b9e1553fa857ce9adafd6b': { + 'name': 'a3e25c38d3d45cf512b9e1553fa857ce9adafd6b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"jj\\u{1}\\0\\0\\0r",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'resource': {'type': 'a', 'id': 'jj\x01\x00\x00\x00r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2a92a0a79c92959ca359751d8de6dfbe1dc0babe': { + 'name': '2a92a0a79c92959ca359751d8de6dfbe1dc0babe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'fffffff* f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'fffffff* f'}, + 'resource': {'type': 'a', 'id': 'fffffff* f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9e78370f0df2823e97e385eba2a8ae7106f923dd': { + 'name': '9e78370f0df2823e97e385eba2a8ae7106f923dd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && "\\0\\0") && resource\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4fec58e1256c0fcd836305b87097c80140f81ec3': { + 'name': '4fec58e1256c0fcd836305b87097c80140f81ec3', + 'schema_json': { + 'Khdkk': { + 'commonTypes': {}, + 'entityTypes': { + 'Akkkk000': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Akkkk000', 'r'], + 'principalTypes': ['Akkkk000', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Khdkk::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'Khdkk::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'resource': {'type': 'Khdkk::Akkkk000', 'id': ''}, + 'action': {'type': 'Khdkk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ea67eaf13be16e92be8c2465e7fd55899e0abf80': { + 'name': 'ea67eaf13be16e92be8c2465e7fd55899e0abf80', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n ((true && (((a::"" like "") like "") like "")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7a83868b9c4dd125773856602c9883d76442cabb': { + 'name': '7a83868b9c4dd125773856602c9883d76442cabb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F554_zzSzzzimzz': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F554_zzSzzzimzz': 115}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e66cee88d3e5598a81681338e16b30092c33dc2b': { + 'name': 'e66cee88d3e5598a81681338e16b30092c33dc2b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource == a::"\\u{2}\\u{5}UUUU"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'resource': {'type': 'a', 'id': '\x02\x05UUUU'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b9684eccf126c884dcfb17a3d773511d09ff8a7d': { + 'name': 'b9684eccf126c884dcfb17a3d773511d09ff8a7d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n (true && (((!true) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '107926a401aafb1e4f5723ba817fd79792b4541b': { + 'name': '107926a401aafb1e4f5723ba817fd79792b4541b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && principal) && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4d6b9d104867ca37be3d2b673c999a1ef884e18c': { + 'name': '4d6b9d104867ca37be3d2b673c999a1ef884e18c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::":\\0\\0",\n action,\n resource in a::":\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':\x00\x00'}, + 'resource': {'type': 'a', 'id': ':\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bf6829d08b3bf661e5f3c36155c1e46fb033075a': { + 'name': 'bf6829d08b3bf661e5f3c36155c1e46fb033075a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && ((context has "?") == a::"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '52f28fbf92e2773629b6cc1e1c2cc674300784c9': { + 'name': '52f28fbf92e2773629b6cc1e1c2cc674300784c9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource == a::"&"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f63422baf5030e519ee155f367080211093dd268': { + 'name': 'f63422baf5030e519ee155f367080211093dd268', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action"],\n resource in a::"070"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '6'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'a70eeca062f586c523963246d1762f1b3f9826a5': { + 'name': 'a70eeca062f586c523963246d1762f1b3f9826a5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (!(!(false == false)))) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c78adcfd6e77d66bef3e752d68b059d250b428ed': { + 'name': 'c78adcfd6e77d66bef3e752d68b059d250b428ed', + 'schema_json': { + 'r::r::r::T::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::T::r::r', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::r::T::r::r', 'id': ''}, + {'type': 'r::r::r::T::r::r', 'id': 'c'} + ] + }, + { + 'uid': {'type': 'r::r::r::T::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'resource': {'type': 'r::r::r::T::r::A', 'id': ''}, + 'action': {'type': 'r::r::r::T::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '67f911ff65c57a6917f690361350668b20fb0919': { + 'name': '67f911ff65c57a6917f690361350668b20fb0919', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhhh'], + 'principalTypes': ['Kfhhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhhh', 'id': '..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': '\x13\x00\x00\x02..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhhh', 'id': '.'}, + 'resource': {'type': 'Kfhhhhhh', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f89aa2c2bfe7d67f818632e5db586c9004d88871': { + 'name': 'f89aa2c2bfe7d67f818632e5db586c9004d88871', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'n': {'type': 'Entity', 'name': 'a', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': "*'"}, + 'attrs': { + 'n': { + '__entity': {'id': "*'", 'type': 'a'} + }, + 'r': false, + 'A': false + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'n': { + '__entity': {'id': "*'", 'type': 'a'} + }, + 'A': false, + 'r': false + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': { + 'A': false, + 'r': false, + 'n': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': "*'"}, + 'resource': {'type': 'a', 'id': "*'"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9df18b254afe6ee11295e6076bcdffef907e2f57': { + 'name': '9df18b254afe6ee11295e6076bcdffef907e2f57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n (false && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f\x00@f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f\x00@f'}, + 'resource': {'type': 'a', 'id': 'f\x00@f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'bba8300156d7b101f3fabdb9a5b66650eef37d04': { + 'name': 'bba8300156d7b101f3fabdb9a5b66650eef37d04', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"&",\n action,\n resource in a::"&"\n) when {\n true && (!(!(!Action::"action")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3f56d8aabac70355cefffd94c1cdd0c8632bd415': { + 'name': '3f56d8aabac70355cefffd94c1cdd0c8632bd415', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '+\x06\x00\b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+\x06\x00\b'}, + 'resource': {'type': 'a', 'id': '+\x06\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '28e96c657852232c265a56e24b9d12ee242fa477': { + 'name': '28e96c657852232c265a56e24b9d12ee242fa477', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A00000000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '6'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'resource': { + 'type': 'a', + 'id': '\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9ffbdd023a6b54e27b4680eedfd01333a57319fd': { + 'name': '9ffbdd023a6b54e27b4680eedfd01333a57319fd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"f:\\0\\066",\n action == Action::"action",\n resource == a::"f:\\0\\066"\n) when {\n true && (!(!(!false)))\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'resource': {'type': 'a', 'id': 'f:\x00\x0066'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '66a64b3581d4f1bb3143a0cc6ebf6919af364cd2': { + 'name': '66a64b3581d4f1bb3143a0cc6ebf6919af364cd2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action"],\n resource in a::"60"\n) when {\n (true && ((!(!Dosnm00000000::"")) * 0)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3b21176e99540ef52dd4daacf1eb70d71ecdce0b': { + 'name': '3b21176e99540ef52dd4daacf1eb70d71ecdce0b', + 'schema_json': { + 'A0': { + 'commonTypes': {}, + 'entityTypes': { + 'Fwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwww'], + 'principalTypes': ['Fwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A0::Fwww::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0::Fwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '09e4deab2631977826e591319301567a917009b8': { + 'name': '09e4deab2631977826e591319301567a917009b8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f\x03'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3e4d7a1c10e8f73b07964cc389aeac2a26364f36': { + 'name': '3e4d7a1c10e8f73b07964cc389aeac2a26364f36', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && (false.containsAll(context))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '89ea3966b3c49ea8d1c895941cae13c6f0a7fac6': { + 'name': '89ea3966b3c49ea8d1c895941cae13c6f0a7fac6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'xYqs': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + '_WkgqaWM': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['xYqs'], + 'principalTypes': ['xYqs'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'xYqs', 'id': ''}, + 'attrs': { + '_WkgqaWM': [0, 0, 0] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'xYqs', 'id': ''}, + 'resource': {'type': 'xYqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6a9d1b9638b00d05d7795dd89b30162da95c9441': { + 'name': '6a9d1b9638b00d05d7795dd89b30162da95c9441', + 'schema_json': { + 'B': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [B::Action::"action"],\n resource == B::a::"\\0fffffbffff"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'B::a', 'id': ''}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'resource': {'type': 'B::a', 'id': '\x00fffffbffff'}, + 'action': {'type': 'B::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f2e255f39e2eef37a9a9255922f0efaa477fd456': { + 'name': 'f2e255f39e2eef37a9a9255922f0efaa477fd456', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}",\n action,\n resource == a::"\\u{2}\\u{2}"\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ad94686eeaa8a8c6ca06164decd6776f55c5ee96': { + 'name': 'ad94686eeaa8a8c6ca06164decd6776f55c5ee96', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && (!(principal == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x04\x00FFF' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e3b78e66463b8a1a89f57b5c2600623f923d00cf': { + 'name': 'e3b78e66463b8a1a89f57b5c2600623f923d00cf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0\\0",\n action in [Action::"action",Action::"action"],\n resource == a::"\\0\\0"\n) when {\n true && ((true - principal) <= principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cd02c1dbe98db92a4c97fd462eb40a797cc10903': { + 'name': 'cd02c1dbe98db92a4c97fd462eb40a797cc10903', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"ya",\n action in [Action::"action"],\n resource == a::""\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ya'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ya'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '72a0f7c100bac2cc5512c6d78dc7c4bd2c3ff426': { + 'name': '72a0f7c100bac2cc5512c6d78dc7c4bd2c3ff426', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': { + 'x': { + '__entity': {'id': '\x00\x00', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8499dc3608bd9a3b4dcb97a74e219d48b1de6f5e': { + 'name': '8499dc3608bd9a3b4dcb97a74e219d48b1de6f5e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"ff\\0",\n action == Action::"action",\n resource\n) when {\n (true && (((!a::"ff\\0") like "ԙ*\$*") == (!principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a523912ab1401f9cc3ac864f868d3d747c0edda4': { + 'name': 'a523912ab1401f9cc3ac864f868d3d747c0edda4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@f("")\n@r("")\nforbid(\n principal,\n action,\n resource == a::"\\0\\0\\0\\0@"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '95d6efb049d43923e0dc8fba8f48168cf6dd1e52': { + 'name': '95d6efb049d43923e0dc8fba8f48168cf6dd1e52', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"ffffF\\0f",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffffF\x00f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffF\x00f'}, + 'resource': {'type': 'a', 'id': 'ffffF\x00f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4f098b0f164c64387ef81d5852a0ac07fd76c394': { + 'name': '4f098b0f164c64387ef81d5852a0ac07fd76c394', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'IR': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00d'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00d'}, + 'resource': {'type': 'a', 'id': '\x00d'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'IR': false, 'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3286680bbb9766c861069bf469051e43f6c6d9f8': { + 'name': '3286680bbb9766c861069bf469051e43f6c6d9f8', + 'schema_json': { + 'Fwowwwxm': { + 'commonTypes': {}, + 'entityTypes': { + 'Edml': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + "':::": { + 'appliesTo': { + 'resourceTypes': ['Edml'], + 'principalTypes': ['Edml'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwowwwxm::Edml', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'resource': {'type': 'Fwowwwxm::Edml', 'id': ':5'}, + 'action': {'type': 'Fwowwwxm::Action', 'id': "':::"}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '96f3ecf641a15ca829ea2ebe4e789148bf1d0cfa': { + 'name': '96f3ecf641a15ca829ea2ebe4e789148bf1d0cfa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '08f0aa0f6afb81dfd4b5b00b97a02783c9337d10': { + 'name': '08f0aa0f6afb81dfd4b5b00b97a02783c9337d10', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00\x12'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a8ccc3c4ca57bf8bddb318a4387ed4381c1b87c4': { + 'name': 'a8ccc3c4ca57bf8bddb318a4387ed4381c1b87c4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@b77kjlhYa000000("")\n@vdYqrcpv("m")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4d95dd953c772afec1afee2f596e2cbd1418eb14': { + 'name': '4d95dd953c772afec1afee2f596e2cbd1418eb14', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"j",\n action in [Action::"action"],\n resource == a::"j"\n) when {\n ((true && principal) && context) && (if principal then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '25ba1cab0ed510b921e1277889a891d845f19386': { + 'name': '25ba1cab0ed510b921e1277889a891d845f19386', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'l': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'String'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'attrs': { + 'l': [ + ['A\x10AAA', '', '', '', '', '', ''] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\v'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '833ebac24f5aa87cfbcd4e7356047ee94335bcbe': { + 'name': '833ebac24f5aa87cfbcd4e7356047ee94335bcbe', + 'schema_json': { + 'r::r::aLKKQ3J::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::aLKKQ3J::r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::r::aLKKQ3J::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'resource': {'type': 'r::r::aLKKQ3J::r::A', 'id': ''}, + 'action': {'type': 'r::r::aLKKQ3J::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '49fb64b3377b5f4f87acd0a3462b36d964b2b87a': { + 'name': '49fb64b3377b5f4f87acd0a3462b36d964b2b87a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dd090f0e0c1e0657f8650dacd5c0672fc6110e0e': { + 'name': 'dd090f0e0c1e0657f8650dacd5c0672fc6110e0e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"5218\\0\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '5218\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '397320fbd52194b13fa26e8f971001d9f710c4ed': { + 'name': '397320fbd52194b13fa26e8f971001d9f710c4ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'RRRR': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"R",\n action == Action::"RRRR",\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RRR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'RRRR'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'cfdc0aa13f242dd5caecf75aed878d8bdf5015c0': { + 'name': 'cfdc0aa13f242dd5caecf75aed878d8bdf5015c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action,\n resource == a::"00"\n) when {\n ((true && a::"00") && ((-(false)) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '16837047727ca7d0c2d7ce7be3a30d78e25c1313': { + 'name': '16837047727ca7d0c2d7ce7be3a30d78e25c1313', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"b\\\'f"\n) when {\n (true && ((a::"b\\\'f".greaterThan(a::"b\\\'f" == principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': "b'f"}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': "b'f"}, + 'resource': {'type': 'a', 'id': "b'f"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a23157ddf99a2985c5adf4af031f93dc34037e74': { + 'name': 'a23157ddf99a2985c5adf4af031f93dc34037e74', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c80a1d4b4df4746dc42a9f0cb848799bebbe9eea': { + 'name': 'c80a1d4b4df4746dc42a9f0cb848799bebbe9eea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'Boolean', 'required': false}, + 'CZjg': {'type': 'String', 'required': false}, + 'Q': {'type': 'String', 'required': false}, + 'Q120': {'type': 'Boolean', 'required': false}, + 'f': {'type': 'String', 'required': false}, + 'q': {'type': 'String', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'CZjg': '', + 'Q120': false, + 'A0': false, + 'q': '', + 'f': '', + 'Q': '', + 'r': false + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f53c285085b1827722e7157fba06156c27c94ca6': { + 'name': 'f53c285085b1827722e7157fba06156c27c94ca6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'r3333mb0': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': false, + 'r3333mb0': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4442a82e7f7990680c87651d1aaa02d12d4cf237': { + 'name': '4442a82e7f7990680c87651d1aaa02d12d4cf237', + 'schema_json': { + 'r': { + 'commonTypes': {}, + 'entityTypes': { + 'D': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['D'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'D'], + 'principalTypes': ['r', 'D'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r', 'id': '\x00'}, + 'attrs': {}, + 'parents': [ + {'type': 'r::D', 'id': ''}, + {'type': 'r::D', 'id': '1'} + ] + }, + { + 'uid': {'type': 'r::D', 'id': '1'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::D', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::D', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r', 'id': ''}, + 'resource': {'type': 'r::r', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '42e56b6e982653162a69d3c87fceb21f39ef6f74': { + 'name': '42e56b6e982653162a69d3c87fceb21f39ef6f74', + 'schema_json': { + 'mzzzzz0zwwwwwz': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in mzzzzz0zwwwwwz::a::"",\n action,\n resource in mzzzzz0zwwwwwz::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '01eb2efb0a033854325d8cb0380655592b5ee0e1': { + 'name': '01eb2efb0a033854325d8cb0380655592b5ee0e1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '83d7731c1f88066e65f32ca42ad015cd295ca475': { + 'name': '83d7731c1f88066e65f32ca42ad015cd295ca475', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource in a::""\n) when {\n true && (true == false)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9e708896b94e41d9f73b740298285c0caa6cff9d': { + 'name': '9e708896b94e41d9f73b740298285c0caa6cff9d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'vaYlang/': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null}, + 'ke/::::': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'vaYlang/'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '01550e32edc1062fcc9522332e894cdad594b139': { + 'name': '01550e32edc1062fcc9522332e894cdad594b139', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'r', 'id': '::'} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': '::'}, + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'G': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0be4a052045072582b439dc5c9b80a3d8bb97296': { + 'name': '0be4a052045072582b439dc5c9b80a3d8bb97296', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dd7786bc93ee6c4c89dd6f523f23a2de8a4ee390': { + 'name': 'dd7786bc93ee6c4c89dd6f523f23a2de8a4ee390', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@WLLSjjjjjXj0jj("\\u{c}")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x14'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd12354a9098237c973efdf51fabca99ad508435a': { + 'name': 'd12354a9098237c973efdf51fabca99ad508435a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@C("c")\n@ga3("")\n@r("\\u{2}\\u{2}")\n@x1dl222000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6a23c5fb1ef322b8f01e0ab9652bc294e36db2fa': { + 'name': '6a23c5fb1ef322b8f01e0ab9652bc294e36db2fa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFFF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00FFFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '49769b289305dae08c5fd44c2e8f9806b012993b': { + 'name': '49769b289305dae08c5fd44c2e8f9806b012993b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && Jzznz000000000::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e47f4d616164909bc939e3907e7dff4f7ce88571': { + 'name': 'e47f4d616164909bc939e3907e7dff4f7ce88571', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"ff\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '097833aed4e31e2f3e0acc0e3026ea9f7c020fc6': { + 'name': '097833aed4e31e2f3e0acc0e3026ea9f7c020fc6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'VhBhhhhkkkkkkkkkk': { + 'memberOfTypes': ['A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['VhBhhhhkkkkkkkkkk', 'A'], + 'principalTypes': ['VhBhhhhkkkkkkkkkk', 'A'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'resource': {'type': 'VhBhhhhkkkkkkkkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33fd42aeebe4235b607ec620224210d394e169b6': { + 'name': '33fd42aeebe4235b607ec620224210d394e169b6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'feb6b9ba954ed24c15e13e0b191576ff48e4e578': { + 'name': 'feb6b9ba954ed24c15e13e0b191576ff48e4e578', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + '::': {'type': 'Boolean', 'required': false}, + 'unnio:': { + 'type': 'Extension', + 'name': 'ipaddr', + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'::': false} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '03628ca780763f86b2c24cfdbd7a98bc0df23e2d': { + 'name': '03628ca780763f86b2c24cfdbd7a98bc0df23e2d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9e9dffc95a866861e43df9e9012d6be10996ed36': { + 'name': '9e9dffc95a866861e43df9e9012d6be10996ed36', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n (true && (principal has "A")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'k/\x1B\x1B\x1B\x1B\x1B'}, + 'attrs': {'A': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '378c8e39436421f57d284ffc9da9160e430d1748': { + 'name': '378c8e39436421f57d284ffc9da9160e430d1748', + 'schema_json': { + 'r::r::r::p': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::p::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::p::a', 'id': 'RR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'resource': {'type': 'r::r::r::p::a', 'id': 'R'}, + 'action': {'type': 'r::r::r::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cb91f70a3b580008e79ad7d2f79c554604d4bf4f': { + 'name': 'cb91f70a3b580008e79ad7d2f79c554604d4bf4f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource == a::""\n) when {\n ((true && Action::"action") && (-(-(Action::"action" == Action::"action")))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b02a56cde55e6c6371c50bfa2a93a381cdc32495': { + 'name': 'b02a56cde55e6c6371c50bfa2a93a381cdc32495', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"fffff,ff",\n action == Action::"action",\n resource in a::""\n) when {\n true && a::"fffff,ff"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'fffff,ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'fffff,ff'}, + 'resource': {'type': 'a', 'id': 'fffff,ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0370b20e062093c32358fa6b1e78f8221aaedb96': { + 'name': '0370b20e062093c32358fa6b1e78f8221aaedb96', + 'schema_json': { + 'KYdRh000akkCkkkk': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '.': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'resource': {'type': 'KYdRh000akkCkkkk::A', 'id': ''}, + 'action': {'type': 'KYdRh000akkCkkkk::Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '29d43a94a589a278779f275e33ce27df9bce935f': { + 'name': '29d43a94a589a278779f275e33ce27df9bce935f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'N00': { + 'type': 'Record', + 'attributes': { + '': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + }, + 'zz': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzzPR'}, + 'attrs': { + 'N00': { + '': [], + 'zz': { + '__entity': {'id': 'zzzzPR', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n'}, + 'attrs': { + 'N00': { + '': [], + 'zz': { + '__entity': {'id': 'zzzzPR', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'N00': { + '': [], + 'zz': { + '__entity': {'id': 'zzzzPR', 'type': 'a'} + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzPR'}, + 'resource': {'type': 'a', 'id': 'zzzzPR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd07c1baa0ff4d7bf182af9d758aff489eb53b342': { + 'name': 'd07c1baa0ff4d7bf182af9d758aff489eb53b342', + 'schema_json': { + 'rbjjjijjjjjgjj': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == rbjjjijjjjjgjj::a::"\\0",\n action in [rbjjjijjjjjgjj::Action::"action"],\n resource == rbjjjijjjjjgjj::a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'rbjjjijjjjjgjj::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'resource': {'type': 'rbjjjijjjjjgjj::a', 'id': '\x00'}, + 'action': {'type': 'rbjjjijjjjjgjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '18cc563d980fdc60cd35b4446cf175798ab1733d': { + 'name': '18cc563d980fdc60cd35b4446cf175798ab1733d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n ((true && (((if false then a::"" else false) && principal) && principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '947f3f01090424768ca035ac35c1040d5e460756': { + 'name': '947f3f01090424768ca035ac35c1040d5e460756', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("\\\\")\nforbid(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4ec9d64422d2c14fcfc9d543825652a3f4f6d41c': { + 'name': '4ec9d64422d2c14fcfc9d543825652a3f4f6d41c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': { + 'F': [[], []] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::C:\n::::'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1b4ac84a704c0e014cdc1fa3265d08a23a0634f8': { + 'name': '1b4ac84a704c0e014cdc1fa3265d08a23a0634f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Khhzhhhk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Khhzhhhk'], + 'principalTypes': ['Khhzhhhk'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Akkkk0': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'ipaddr'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khhzhhhk', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Khhzhhhk', 'id': '.'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhzhhhk', 'id': '.'}, + 'resource': {'type': 'Khhzhhhk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Akkkk0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c5160087a8383d30a43c88bb5343997f73973e18': { + 'name': 'c5160087a8383d30a43c88bb5343997f73973e18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Qnnnnn': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qnnnnn': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6f80f1549b17696747e5cba66bb4997ff843d81f': { + 'name': '6f80f1549b17696747e5cba66bb4997ff843d81f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'c': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x02\x02': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'C': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '77e781d02ac0279776ed46250f81c57bfae604ed': { + 'name': '77e781d02ac0279776ed46250f81c57bfae604ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource in a::"\$\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\$\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\$\x00'}, + 'resource': {'type': 'a', 'id': '\$\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9cbfe496d6bf481368f0dc5de0a9992f17276db2': { + 'name': '9cbfe496d6bf481368f0dc5de0a9992f17276db2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action"],\n resource in a::"60"\n) when {\n (true && ((!(!true)) * 3158326)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1f9477303c48393a52f4d9b02581a9c8d70b7b4e': { + 'name': '1f9477303c48393a52f4d9b02581a9c8d70b7b4e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'FE333333': {'type': 'String', 'required': false}, + 'FkDRWErcp_vjk': {'type': 'String', 'required': false}, + 'K': {'type': 'String', 'required': false}, + 's0000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'FE333333': '', 'K': '', 'FkDRWErcp_vjk': '', 's0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '010687967c45f710b5f5b53ea6cfcdef2d2c48c0': { + 'name': '010687967c45f710b5f5b53ea6cfcdef2d2c48c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"#",\n action in [Action::"action"],\n resource == a::"#"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '#'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '19ecbb29df5f7f28be216376e2fa55fb1bb28403': { + 'name': '19ecbb29df5f7f28be216376e2fa55fb1bb28403', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Entity', 'name': 'a', 'required': true}, + 'g': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': { + '__entity': {'id': '', 'type': 'a'} + }, + 'g': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '981cee9e86297375f8bca3b9b1e9b4fc7124dfd0': { + 'name': '981cee9e86297375f8bca3b9b1e9b4fc7124dfd0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '+\x00\x00+\x00\x00\x00\x00\x00\x00\x00\x05\x05' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00+\x00\x00\x00\x00\x00\x00\x00\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c2c15353c3261b6f53162583408aebbf8d259e8': { + 'name': '1c2c15353c3261b6f53162583408aebbf8d259e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"zz",\n action,\n resource == a::"zz"\n) when {\n (true && (a::"zz" == (a::"zz" == (!a::"zz")))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zz'}, + 'resource': {'type': 'a', 'id': 'zz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9b0014bb61edcb995cd44da5fd160c6639fa0ccb': { + 'name': '9b0014bb61edcb995cd44da5fd160c6639fa0ccb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffffff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '53e72c4fde0d52b6941af1e722e15e03c51d13a2': { + 'name': '53e72c4fde0d52b6941af1e722e15e03c51d13a2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ("" == "")) && (if principal then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd3df52fde414d6b60cc8266d7cd0f8a85523d43d': { + 'name': 'd3df52fde414d6b60cc8266d7cd0f8a85523d43d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'resource': {'type': 'a', 'id': '\x00jdk/\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '88a7c7e768ffb56f9cbd17b64c9406503b7c514e': { + 'name': '88a7c7e768ffb56f9cbd17b64c9406503b7c514e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ')': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '.': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'J': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2bbf8c5159544988a0b9a9e3cb449aabcbd76e19': { + 'name': '2bbf8c5159544988a0b9a9e3cb449aabcbd76e19', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'FwwwwQw0': { + 'type': 'Entity', + 'name': 'A::a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': { + 'FwwwwQw0': { + '__entity': {'id': '>x', 'type': 'A::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '>x'}, + 'attrs': { + 'FwwwwQw0': { + '__entity': {'id': '>x', 'type': 'A::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': '>x'}, + 'resource': {'type': 'A::a', 'id': '>x'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8f1815ad76c410ffe775dd9f418c45a13df5d3ee': { + 'name': '8f1815ad76c410ffe775dd9f418c45a13df5d3ee', + 'schema_json': { + 'r::F_w33w33': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in r::F_w33w33::a::"",\n action in [r::F_w33w33::Action::"action"],\n resource in r::F_w33w33::a::""\n) when {\n (false && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'r::F_w33w33::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::F_w33w33::a', 'id': ''}, + 'resource': {'type': 'r::F_w33w33::a', 'id': ''}, + 'action': {'type': 'r::F_w33w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ac209d438f68b0565007a4f5d5186d550022dcf4': { + 'name': 'ac209d438f68b0565007a4f5d5186d550022dcf4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':8\x00[\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':8\x00[\x00'}, + 'resource': {'type': 'a', 'id': ':8\x00[\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':8\x00[\x00'}, + 'resource': {'type': 'a', 'id': ':8\x00[\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':8\x00[\x00'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c1c19d5d03c6d67f35702459eaf182a1b36471ad': { + 'name': 'c1c19d5d03c6d67f35702459eaf182a1b36471ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'O': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'l': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O'], + 'principalTypes': ['O'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == O::"",\n action in [Action::"action"],\n resource in O::""\n) when {\n (true && (principal == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': { + 'l': [{}, {}] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3bb2b0bd7d31d589039ea349f2461b7a90c8238c': { + 'name': '3bb2b0bd7d31d589039ea349f2461b7a90c8238c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@I220000000000000("")\n@r("6")\n@u("")\n@v("")\n@z("33")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'O\x02~\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'O\x02~\x02'}, + 'resource': {'type': 'a', 'id': 'O\x02~\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '00eb275e6ffa699466621733a7e0ff7e2d01bd19': { + 'name': '00eb275e6ffa699466621733a7e0ff7e2d01bd19', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9ce497ef6011984bdf055e29fad4bfe660e82bd9': { + 'name': '9ce497ef6011984bdf055e29fad4bfe660e82bd9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['n'], + 'principalTypes': ['n'], + 'context': { + 'type': 'Record', + 'attributes': { + 'B00Rw': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + 'Fwww\x053': {'type': 'String', 'required': false}, + 'k': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + }, + 'wa': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'B00Rw': { + '': '', + 'Fwww\x053': '', + 'k': {'': ''}, + 'wa': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '10aea06c714dbebcb199fd92684892b0df616040': { + 'name': '10aea06c714dbebcb199fd92684892b0df616040', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action in [Action::"action",Action::"action"],\n resource == a::"\\0\\0"\n) when {\n (true && (-(principal * 207738712576))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ee4b7cbdbb7fcfed6d5e64fdb6e9745a6e70302e': { + 'name': 'ee4b7cbdbb7fcfed6d5e64fdb6e9745a6e70302e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'jL\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'dea7b56767cd2bc51eeb85f5762944619a27c1a6': { + 'name': 'dea7b56767cd2bc51eeb85f5762944619a27c1a6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}",\n action in [Action::"action"],\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}c\\0\\0\\0\\0\\0\\0\\u{6}\\u{2}\\u{2}\\u{4}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02c\x00\x00\x00\x00\x00\x00\x06\x02\x02\x04' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1e62fd9578557687c21fad0da1757d106731d0bb': { + 'name': '1e62fd9578557687c21fad0da1757d106731d0bb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '#z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '#z'}, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': '\x00\x7F\x01\x01\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '684f7f301b4fa13998d7837e8b5e770050b2ab5f': { + 'name': '684f7f301b4fa13998d7837e8b5e770050b2ab5f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource == a::"#"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '#'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#'}, + 'resource': {'type': 'a', 'id': '#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f8b70a48a3ee96d3cd64840db2e892897fc8d663': { + 'name': 'f8b70a48a3ee96d3cd64840db2e892897fc8d663', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::\t\n'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd2cfd1c0506202b975092074ed485a6c72de7c35': { + 'name': 'd2cfd1c0506202b975092074ed485a6c72de7c35', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F55555ww': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F55555ww': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a508a0f21fc70ea9462d31de012cf3c2151d9cc9': { + 'name': 'a508a0f21fc70ea9462d31de012cf3c2151d9cc9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Fwwwwwww': {'type': 'Entity', 'name': 'F', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': '\x1A:'}, + 'attrs': { + 'Fwwwwwww': { + '__entity': {'id': '::', 'type': 'F'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'F', 'id': '::'}, + 'attrs': { + 'Fwwwwwww': { + '__entity': {'id': '::', 'type': 'F'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': { + 'Fwwwwwww': { + '__entity': {'id': '::', 'type': 'F'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': '::'}, + 'resource': {'type': 'F', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bac24b8211fc5e04a8a41541f7da05df048166e7': { + 'name': 'bac24b8211fc5e04a8a41541f7da05df048166e7', + 'schema_json': { + 'R::AJHH': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Wj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['A', 'Wj'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': { + 'xmljjj000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::AJHH::Wj', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'R::AJHH::A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::AJHH::A', 'id': ''}, + 'resource': {'type': 'R::AJHH::A', 'id': ''}, + 'action': {'type': 'R::AJHH::Action', 'id': ''}, + 'context': {'xmljjj000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'aef35a4c59c7b94df6c961749a09f12d8a58a352': { + 'name': 'aef35a4c59c7b94df6c961749a09f12d8a58a352', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::""\n) when {\n ((true && ({"": ""}[""])) && A::"") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bb766ff1ac0c9b4d4cf4108a2172ab49254e9992': { + 'name': 'bb766ff1ac0c9b4d4cf4108a2172ab49254e9992', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + 'u\x00\x00:': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '/n'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff\x02'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02f'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '/n'}, + 'resource': {'type': 'a', 'id': '/n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '61a7966ca468f51a54bd8c76ef50d030f1586aeb': { + 'name': '61a7966ca468f51a54bd8c76ef50d030f1586aeb', + 'schema_json': { + 'A0': { + 'commonTypes': {}, + 'entityTypes': { + 'Fwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '):': { + 'appliesTo': { + 'resourceTypes': ['Fwww'], + 'principalTypes': ['Fwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['Fwww'], + 'principalTypes': ['Fwww'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Fv10Z': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0::Fwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::Fwww', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': '):'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7eab303c0a078d7b3ec3fa9d5fb0afa6bdbc1d7a': { + 'name': '7eab303c0a078d7b3ec3fa9d5fb0afa6bdbc1d7a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '684c3304577b5101215d70be7e3b2decfb3073cb': { + 'name': '684c3304577b5101215d70be7e3b2decfb3073cb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + '_1': { + 'memberOfTypes': ['sWqsl2kcqaWMlq000', 'w'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'sWqsl2kcqaWMlq000': { + 'memberOfTypes': ['w'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['sWqsl2kcqaWMlq000', 'w'], + 'principalTypes': ['sWqsl2kcqaWMlq000', 'w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'w', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': '_1', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + {'type': 'w', 'id': ''} + ] + }, + { + 'uid': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'w', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'resource': {'type': 'sWqsl2kcqaWMlq000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bf2db13b966c9eb3b197e601f867b59aeb753000': { + 'name': 'bf2db13b966c9eb3b197e601f867b59aeb753000', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': ['\x00'] + }, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6c66c9279f1c5e69a767457ec2006f22e3966fe2': { + 'name': '6c66c9279f1c5e69a767457ec2006f22e3966fe2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (!"\\0")) && false) && (!true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '14b065cf3741fb0c5e55a960037b1a499946d27e': { + 'name': '14b065cf3741fb0c5e55a960037b1a499946d27e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'wn': { + 'memberOfTypes': ['m'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'm': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['wn', 'm'], + 'principalTypes': ['wn', 'm'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'wn', 'id': 'zz'}, + 'attrs': {}, + 'parents': [ + {'type': 'm', 'id': ''} + ] + }, + { + 'uid': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'attrs': {}, + 'parents': [ + {'type': 'm', 'id': ''} + ] + }, + { + 'uid': {'type': 'wn', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'm', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'resource': {'type': 'wn', 'id': 'r0\nz+\x00\x00\x000z!zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '236b45d00bcb1c2429e428ea268f631fa5ef626e': { + 'name': '236b45d00bcb1c2429e428ea268f631fa5ef626e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@K66666000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '󅅈\x05\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '@\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c71ff5a505f8daaa53753fbc50a295f82ac9cc01': { + 'name': 'c71ff5a505f8daaa53753fbc50a295f82ac9cc01', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + 'u\x00\x00:': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd66406ba3a77c11c5dd3fe24989da26551820f92': { + 'name': 'd66406ba3a77c11c5dd3fe24989da26551820f92', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && (!("".containsAll("")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '73f09692588e0571b635451fc1b3763246eec60f': { + 'name': '73f09692588e0571b635451fc1b3763246eec60f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '*'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8aa4ebd47d7917bd7bbff21387a19e83c2c66c79': { + 'name': '8aa4ebd47d7917bd7bbff21387a19e83c2c66c79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Q': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'attrs': {'r': false, 'Q': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false, 'Q': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {'r': false, 'Q': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a8be60afeb8db1fed2a125cc52b40297b7219269': { + 'name': 'a8be60afeb8db1fed2a125cc52b40297b7219269', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vhhhhhhkkkk000333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vhhhhhhkkkk000333'], + 'principalTypes': ['Vhhhhhhkkkk000333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhhhhkkkk000333', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhhhhkkkk000333', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhhhhkkkk000333', 'id': '\x13'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'resource': {'type': 'Vhhhhhhkkkk000333', 'id': '....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'de6f90ef4c5f6bf96e92b97b4a919db6d534490e': { + 'name': 'de6f90ef4c5f6bf96e92b97b4a919db6d534490e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x1F': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x1F'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'da0e00d2c1e3dba4bfcbe7533a16b216860a3b56': { + 'name': 'da0e00d2c1e3dba4bfcbe7533a16b216860a3b56', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F1200sww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'yJdwwwwwwk': { + 'type': 'Set', + 'element': {'type': 'Extension', 'name': 'decimal'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F1200sww'], + 'principalTypes': ['F1200sww'], + 'context': { + 'type': 'Record', + 'attributes': { + 's0000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F1200sww', 'id': ''}, + 'attrs': {'yJdwwwwwwk': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F1200sww', 'id': ''}, + 'resource': {'type': 'F1200sww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'s0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd534f64a39365338a80032452226d39343fb93c3': { + 'name': 'd534f64a39365338a80032452226d39343fb93c3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"`"\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'fae02fa9de9b4bdbb061e07c183ff5bab73d20cf': { + 'name': 'fae02fa9de9b4bdbb061e07c183ff5bab73d20cf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::"action") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '886716dc4d577af974592c0d379d18e2f2fc691b': { + 'name': '886716dc4d577af974592c0d379d18e2f2fc691b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@G677A6C6("\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1c56d0ecf8bcdccadcf11f9c01742360b1f5cbfd': { + 'name': '1c56d0ecf8bcdccadcf11f9c01742360b1f5cbfd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::"\\0\\0\\0\\0\\0:::\\0\\0"\n) when {\n (true && (!(!principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '44a7ea864f87d288a04dccf9e5b193ec1bee64fd': { + 'name': '44a7ea864f87d288a04dccf9e5b193ec1bee64fd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x04': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'S': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'S': ''}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x04'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'db83110c98cad112b5100aee32dc1c44bead590f': { + 'name': 'db83110c98cad112b5100aee32dc1c44bead590f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Qxxx': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zz\x12zzzzz\x12z'}, + 'attrs': {'Qxxx': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zz'}, + 'attrs': {'Qxxx': 0}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zzzzzzz'}, + 'attrs': {'Qxxx': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '15d41567b88033bb0775f7ad9bdef157ce618cd9': { + 'name': '15d41567b88033bb0775f7ad9bdef157ce618cd9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '.': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '..'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...\x13\x10\x00\x02'}, + 'action': {'type': 'Action', 'id': '.'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'df02c68b117bfe1a2bf107444803980582b649dc': { + 'name': 'df02c68b117bfe1a2bf107444803980582b649dc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'wgldmlAlA': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '\x06': {'type': 'String', 'required': false}, + '/\n\x04': {'type': 'String', 'required': false}, + 'inf': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\x06': '', '/\n\x04': '', 'inf': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cb69cec9fa08db715b220aaf9ab251898986e8a8': { + 'name': 'cb69cec9fa08db715b220aaf9ab251898986e8a8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0i\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x00\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '85ee31bca0778b20851e4eec1a4b60f2554faae2': { + 'name': '85ee31bca0778b20851e4eec1a4b60f2554faae2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n (true && (!(!(!false)))) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '18a6848b2ef612f366035575c1c9557a4688746b': { + 'name': '18a6848b2ef612f366035575c1c9557a4688746b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0ae181d83134f6a128eacb2e9bda0c54197e0d50': { + 'name': '0ae181d83134f6a128eacb2e9bda0c54197e0d50', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'T': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false}, + 'vh92222': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'vh92222': '', 'r': '', 'T': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b1bd4a844da9e80d56caf2319d0b09d9746274f6': { + 'name': 'b1bd4a844da9e80d56caf2319d0b09d9746274f6', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F777327b': {'type': 'String', 'required': true}, + 'qx': { + 'type': 'Entity', + 'name': 'cP::v::a', + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::a', 'id': ''}, + 'resource': {'type': 'cP::v::a', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': ''}, + 'context': { + 'qx': { + '__entity': {'id': '', 'type': 'cP::v::a'} + }, + 'F777327b': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd299f39a7eb5e9da51373ff547790271ab553d63': { + 'name': 'd299f39a7eb5e9da51373ff547790271ab553d63', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'FF': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'FDFFFF': {'appliesTo': null, 'memberOf': null}, + 'FFF': {'appliesTo': null, 'memberOf': null}, + 'F': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'FF'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '16c992ac81a16c5bba204e9ba8e7b5b4f15f3c49': { + 'name': '16c992ac81a16c5bba204e9ba8e7b5b4f15f3c49', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n (true && (!((a::"" like "\\0") like "\\0"))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '14e83b8120617ff2c6781d31c8c787af29d10bd7': { + 'name': '14e83b8120617ff2c6781d31c8c787af29d10bd7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'y': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['y'], + 'principalTypes': ['y'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in y::"0",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == y::"0"\n) when {\n true && (!(!(!y::"0")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'y', 'id': '0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'y', 'id': ''}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'y', 'id': '0'}, + 'resource': {'type': 'y', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9f5522350d3834fa1f5ff8c9513993a027eec041': { + 'name': '9f5522350d3834fa1f5ff8c9513993a027eec041', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '177a22b9e2eae9a5db91db8c064db7dbc4976235': { + 'name': '177a22b9e2eae9a5db91db8c064db7dbc4976235', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && (!a::"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ae8da091a8eed99d190d1653722ecbdf451e5415': { + 'name': 'ae8da091a8eed99d190d1653722ecbdf451e5415', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@G66A0000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'resource': {'type': 'a', 'id': '\x05\n\x06zoneinfo/\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b179feb1214ecdeeca4643f1724304e90f0c5b52': { + 'name': 'b179feb1214ecdeeca4643f1724304e90f0c5b52', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [A::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': "\x00'\x00\x00"}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': "\x00'\x00\x00"}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': "\x00'\x00\x00"}, + 'resource': {'type': 'A::a', 'id': "\x00'\x00\x00"}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': "\x00'\x00\x00"}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9364062f6d09c68d2d9c28648af46c9e3827b006': { + 'name': '9364062f6d09c68d2d9c28648af46c9e3827b006', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z\x01\x00z\x00\x00\fzzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'resource': {'type': 'a', 'id': 'zzzzzz\x01zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8dbbe63b2dfe8b0977f20105145fe5112b23aebf': { + 'name': '8dbbe63b2dfe8b0977f20105145fe5112b23aebf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{6}:",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{6}:"\n) when {\n true && (!"z")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06:'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06:'}, + 'resource': {'type': 'a', 'id': '\x06:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '314fc8d30b5448db2732113e3807647a0b3b8328': { + 'name': '314fc8d30b5448db2732113e3807647a0b3b8328', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'String', 'required': false}, + 'F': {'type': 'String', 'required': false}, + 'Qxx': {'type': 'String', 'required': false}, + 'bxx00000': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false}, + 'r020t0': {'type': 'String', 'required': false}, + 'r022': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'r022': '', + 'A0': '', + 'Qxx': '', + 'bxx00000': '', + 'r020t0': '', + 'r': '', + 'F': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c8aa8f4d875d4a3a34381e1c24c60db9dbcfd5e4': { + 'name': 'c8aa8f4d875d4a3a34381e1c24c60db9dbcfd5e4', + 'schema_json': { + 'Q::A::w::V': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in Q::A::w::V::a::"000000",\n action == Q::A::w::V::Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'resource': {'type': 'Q::A::w::V::a', 'id': '000000'}, + 'action': {'type': 'Q::A::w::V::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2f4bf1e01f710500d499dc15cc5b1ec2a663875d': { + 'name': '2f4bf1e01f710500d499dc15cc5b1ec2a663875d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'S': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '\x05': {'type': 'String', 'required': false}, + 'daf\x06': { + 'type': 'Record', + 'attributes': { + 'ff': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + }, + 'f': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'S': { + '': '', + '\x05': '', + 'daf\x06': {'ff': ''}, + 'f': '' + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b5f7789e9c3cd200a626d2f5ad9b8cb496564749': { + 'name': 'b5f7789e9c3cd200a626d2f5ad9b8cb496564749', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action,\n resource in a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '7'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '36ede146bf89ead70984d79c687672b07fe8688d': { + 'name': '36ede146bf89ead70984d79c687672b07fe8688d', + 'schema_json': { + 'r::W::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::W::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '38c8127d570b3df790b767d9521379cebf56f2b0': { + 'name': '38c8127d570b3df790b767d9521379cebf56f2b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action",Action::"action"],\n resource == a::"00"\n) when {\n ((true && (!(!false))) && ((!(!principal)) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '226abd401950859a4fc3fe5f82182ed5cd403d17': { + 'name': '226abd401950859a4fc3fe5f82182ed5cd403d17', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1\\u{1b}\\"\\u{2}\\u{2}\\u{2}\\u{2}",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{2}1\\u{1b}\\"\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x021\x1B"\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '278957d677eb2e94f531e9a2807e533952572469': { + 'name': '278957d677eb2e94f531e9a2807e533952572469', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'WjjX': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'r00`006*7970'}, + 'attrs': { + 'WjjX': [134361461516146, 0, 0, 0, 0, 0, 0] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'r00`006*7970'}, + 'resource': {'type': 'a', 'id': 'r00`006*7970'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '21090bbf8422f2532c15c37a5f34dd6c28814fb8': { + 'name': '21090bbf8422f2532c15c37a5f34dd6c28814fb8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"\\0"\n) when {\n true && (!(if (if principal then principal else principal) then principal else principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3dd9ae8abf6cbd88f196b47738a3eb19d6150691': { + 'name': '3dd9ae8abf6cbd88f196b47738a3eb19d6150691', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bhh02': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e43090634cf2b752698e0a212a93dc3874388910': { + 'name': 'e43090634cf2b752698e0a212a93dc3874388910', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'VL0jb': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['VL0jb'], + 'principalTypes': ['VL0jb'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0q10': {'type': 'String', 'required': false}, + 'AX': {'type': 'String', 'required': false}, + 'B00000000': {'type': 'String', 'required': false}, + 'h': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'VL0jb', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VL0jb', 'id': ''}, + 'resource': {'type': 'VL0jb', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0q10': '', 'AX': '', 'B00000000': '', 'h': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '26a751441be1af538d726a9dc0095d0d32a5a4e6': { + 'name': '26a751441be1af538d726a9dc0095d0d32a5a4e6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false}, + 'x': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6689189acee4bd4b0369b67ee964a96291c4cb50': { + 'name': '6689189acee4bd4b0369b67ee964a96291c4cb50', + 'schema_json': { + 'A000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'dafny/Fun': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'A000::a', 'id': ''}, + 'action': {'type': 'A000::Action', 'id': 'dafny/Fun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '49f2b384a40672e51691593bab92fcb170160508': { + 'name': '49f2b384a40672e51691593bab92fcb170160508', + 'schema_json': { + 'W::A::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == W::A::v::a::"",\n action in [W::A::v::Action::"action"],\n resource in W::A::v::a::""\n) when {\n ((true && (if (principal has "") then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'W::A::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W::A::v::a', 'id': ''}, + 'resource': {'type': 'W::A::v::a', 'id': ''}, + 'action': {'type': 'W::A::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5814e165b69dd35205c7ccf223a4e8c9bfc7b8ab': { + 'name': '5814e165b69dd35205c7ccf223a4e8c9bfc7b8ab', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'R7B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['R7B'], + 'principalTypes': ['R7B'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R7B', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'R7B', 'id': '.........sun/sec'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'R7B', 'id': 'ri'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R7B', 'id': '.........sun/sec'}, + 'resource': {'type': 'R7B', 'id': '.........sun/sec'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '28891adf643671b6a56d0286918ffe88af4841eb': { + 'name': '28891adf643671b6a56d0286918ffe88af4841eb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwwwwQw0': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + '_4wwwwwa': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'em': { + 'appliesTo': { + 'resourceTypes': ['FwwwwQw0'], + 'principalTypes': ['FwwwwQw0'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwwwwQw0', 'id': ''}, + 'attrs': {'_4wwwwwa': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwwwwQw0', 'id': ''}, + 'resource': {'type': 'FwwwwQw0', 'id': ''}, + 'action': {'type': 'Action', 'id': 'em'}, + 'context': {'A0000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1fabfd4adae9475431f26acad714a64fb10bb048': { + 'name': '1fabfd4adae9475431f26acad714a64fb10bb048', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"0",\n action in [Action::"action"],\n resource in a::"0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '5043\$\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '0'}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9e383d82ba301840ca5735f1cd71479507f1be99': { + 'name': '9e383d82ba301840ca5735f1cd71479507f1be99', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n (true && (context like "\\u{1}*\\0")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5606d8fe3357406fbb4463cdcd30b605640519e6': { + 'name': '5606d8fe3357406fbb4463cdcd30b605640519e6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n (true && (((!principal) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b69eb2d5856d53c84b344d82608ba83c0c06f013': { + 'name': 'b69eb2d5856d53c84b344d82608ba83c0c06f013', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '::::::::::::::::::::::2:': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '::::::::::::::::::::::2:'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dbedd956b047b4891bb50fcd1196fe7ff07be347': { + 'name': 'dbedd956b047b4891bb50fcd1196fe7ff07be347', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'omRR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RRRRRR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RRRRR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RRRRR'}, + 'resource': {'type': 'a', 'id': 'RRRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '314551a580d1c09170f5fbfbdfa1339d757e36e7': { + 'name': '314551a580d1c09170f5fbfbdfa1339d757e36e7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && a::"\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b6028c08fe3641d2fc2bb7a3d997cfe37559603a': { + 'name': 'b6028c08fe3641d2fc2bb7a3d997cfe37559603a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'i': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['i'], + 'principalTypes': ['i'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Gjj0jjjjj("")\nforbid(\n principal in i::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'i', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'i', 'id': ''}, + 'resource': {'type': 'i', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c9fd461dff91be35baf80482fe3405defbcaf17c': { + 'name': 'c9fd461dff91be35baf80482fe3405defbcaf17c', + 'schema_json': { + 'l6yyUI306666': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@f00000000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'l6yyUI306666::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'l6yyUI306666::a', 'id': ''}, + 'resource': {'type': 'l6yyUI306666::a', 'id': ''}, + 'action': {'type': 'l6yyUI306666::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '637c6f895c90347181745b2e86fbfea9f9c9f3e9': { + 'name': '637c6f895c90347181745b2e86fbfea9f9c9f3e9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + }, + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + }, + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + } + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '899af85fdc4cc68f97e4bc481b4368e61d1ec35f': { + 'name': '899af85fdc4cc68f97e4bc481b4368e61d1ec35f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource in a::""\n) when {\n (true && (504441641179441770 == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '46f466ac9e298b4a1a776d92ab79d7cb0d2a8f7c': { + 'name': '46f466ac9e298b4a1a776d92ab79d7cb0d2a8f7c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::""],\n resource\n) when {\n (true && Action::"") && A0::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9af390b61a62b2ee11318ec317eb252b6ee223f9': { + 'name': '9af390b61a62b2ee11318ec317eb252b6ee223f9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x10\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x10\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x10\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd1aa4eb8fa4700e7a7a3070a9e457845783747e7': { + 'name': 'd1aa4eb8fa4700e7a7a3070a9e457845783747e7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Hyyyy26666': { + 'memberOfTypes': ['k66666666'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'k66666666': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['k66666666'], + 'principalTypes': ['Hyyyy26666', 'k66666666'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Hyyyy26666', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'k66666666', 'id': ''} + ] + }, + { + 'uid': {'type': 'k66666666', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Hyyyy26666', 'id': ''}, + 'resource': {'type': 'k66666666', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f48cb1bfb8d0d62ce600c42dbe69d0122443a02e': { + 'name': 'f48cb1bfb8d0d62ce600c42dbe69d0122443a02e', + 'schema_json': { + 'FwwwwGww::K': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Af6224Y': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'lC05': { + 'type': 'Entity', + 'name': 'FwwwwGww::K::a', + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'attrs': {'Af6224Y': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'resource': {'type': 'FwwwwGww::K::a', 'id': ''}, + 'action': {'type': 'FwwwwGww::K::Action', 'id': 'action'}, + 'context': { + 'lC05': { + '__entity': {'id': '', 'type': 'FwwwwGww::K::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9deac7d6cae0d5e05635469c985c01f9a22e0d1b': { + 'name': '9deac7d6cae0d5e05635469c985c01f9a22e0d1b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '_q': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'f': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ({"": ""}["f"])) && ({"": ""}["f"])\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '_q'}, + 'context': {'f': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3827da6b1d7c162c41f57c178ea845a2baf5d2bc': { + 'name': '3827da6b1d7c162c41f57c178ea845a2baf5d2bc', + 'schema_json': { + 'W::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == W::v::a::"",\n action in [W::v::Action::"action"],\n resource == W::v::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'W::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W::v::a', 'id': 'o'}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0241a89fbf150dd7b0577a17c0e4ab3d89e59b34': { + 'name': '0241a89fbf150dd7b0577a17c0e4ab3d89e59b34', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"ff\\0",\n action == Action::"action",\n resource == a::"ff\\0"\n) when {\n (true && (((a::"" like "+*f") like "") == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '11e63c6e406ca8e5bd9d4957af1c32cb531a23e6': { + 'name': '11e63c6e406ca8e5bd9d4957af1c32cb531a23e6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"`",\n action in [Action::"action"],\n resource == a::"`"\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '05deb561e42a4b8f2775ceae9a4732013813160b': { + 'name': '05deb561e42a4b8f2775ceae9a4732013813160b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'sWqslWkgqaWMlqYdc': { + 'memberOfTypes': ['_1'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + '_1': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['sWqslWkgqaWMlqYdc'], + 'principalTypes': ['sWqslWkgqaWMlqYdc'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': '_1', 'id': ''} + ] + }, + { + 'uid': {'type': '_1', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4ec8aedf11f25810b9188269b87398c065e56bc4': { + 'name': '4ec8aedf11f25810b9188269b87398c065e56bc4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n true && (-7957297591610245121)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '250bea468a24ef02741251907f89fe5165b1b7b5': { + 'name': '250bea468a24ef02741251907f89fe5165b1b7b5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (-(principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '940fb9372732615d0416270b347ca5f732c17dd1': { + 'name': '940fb9372732615d0416270b347ca5f732c17dd1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n ((true && (((if Action::"action" then principal else principal) like "") like "")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '[\n'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '[\n'}, + 'resource': {'type': 'a', 'id': '[\n'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '84c1d156b5b9aa6d27c9394971b2757aee759ba0': { + 'name': '84c1d156b5b9aa6d27c9394971b2757aee759ba0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r3A': { + 'type': 'Record', + 'attributes': { + '': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + }, + 'zz': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzzRR'}, + 'attrs': { + 'r3A': { + '': [], + 'zz': { + '__entity': {'id': 'zzzzRR', 'type': 'a'} + } + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'r3A': { + '': [], + 'zz': { + '__entity': {'id': 'zzzzRR', 'type': 'a'} + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzRR'}, + 'resource': {'type': 'a', 'id': 'zzzzRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9b036e2436000e32c831a68ab5e8ab38102b910b': { + 'name': '9b036e2436000e32c831a68ab5e8ab38102b910b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r33330ww("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x10'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'resource': {'type': 'a', 'id': '\x00\x00::\x00:::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a9f6c469b11bb65de265771a4ce262eef2da607b': { + 'name': 'a9f6c469b11bb65de265771a4ce262eef2da607b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}s\\0\\0\\0",\n action in [],\n resource in a::"\\u{2}s\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'aiq'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '54e5dc2f0578b39656e5ae8ca26c01e0d05c9ad7': { + 'name': '54e5dc2f0578b39656e5ae8ca26c01e0d05c9ad7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'v': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': ['v'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + '\x01': { + 'appliesTo': { + 'resourceTypes': ['B', 'v'], + 'principalTypes': ['B', 'v'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'v', 'id': ''} + ] + }, + { + 'uid': {'type': 'v', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '517d43cc4dd6ddff2167d82132c7617d46c3e05e': { + 'name': '517d43cc4dd6ddff2167d82132c7617d46c3e05e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'Boolean', 'required': false}, + 'I': {'type': 'Boolean', 'required': false}, + 'Q120': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'I': false, 'A0': false, 'Q120': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b20c535ead0b171e75e413ad7a22add8b94fe12e': { + 'name': 'b20c535ead0b171e75e413ad7a22add8b94fe12e', + 'schema_json': { + 'r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['G'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'G'], + 'principalTypes': ['r', 'G'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::G', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::G', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r', 'id': ''}, + 'resource': {'type': 'r::r::r', 'id': ''}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '95022c341ce992d2f23bd1594f5fafbd01ce6fd5': { + 'name': '95022c341ce992d2f23bd1594f5fafbd01ce6fd5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'N222100000V1kl': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {'N222100000V1kl': 72056692094795611}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'N222100000V1kl': 72056692094795611}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bbc1b27f8b8e179db4fc826a1ac81a70c7f0f014': { + 'name': 'bbc1b27f8b8e179db4fc826a1ac81a70c7f0f014', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action"],\n resource in a::"00"\n) when {\n (true && a::"00") && true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '560674e150b4ad2d396a2e517a4675286ab4e8d7': { + 'name': '560674e150b4ad2d396a2e517a4675286ab4e8d7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['F'], + 'principalTypes': ['F'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'F', 'id': '::::::\x7F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F', 'id': '::::::\x7F'}, + 'resource': {'type': 'F', 'id': '::::::\x7F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '06a6d9d020ff8d224d8108b8b626d0d96cf5c696': { + 'name': '06a6d9d020ff8d224d8108b8b626d0d96cf5c696', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action == Action::"action",\n resource in a::""\n) when {\n true && (true == false)\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0504bae36ea3c93f493e67cc4c72c44f50889906': { + 'name': '0504bae36ea3c93f493e67cc4c72c44f50889906', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"",Action::""],\n resource == a::"+"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '691e9453786f2fc93c9edcf3df9e10a9e63370b2': { + 'name': '691e9453786f2fc93c9edcf3df9e10a9e63370b2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && ((Action::"action" has "") like "")) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f5a4dc319b2aa4253b6b016662127e5ad69149ab': { + 'name': 'f5a4dc319b2aa4253b6b016662127e5ad69149ab', + 'schema_json': { + 'A::A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::A::a', 'id': ''}, + 'resource': {'type': 'A::A::a', 'id': ''}, + 'action': {'type': 'A::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cfb3c703fbb3741577a9fb16f3199d65bd6d7757': { + 'name': 'cfb3c703fbb3741577a9fb16f3199d65bd6d7757', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'inac10z00j00011': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'inac10z00j00011': 7022872558093468160}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '26ad7265526991a750a796535cebd2affe962356': { + 'name': '26ad7265526991a750a796535cebd2affe962356', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\b'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7b316784cf9e60631768b35cb7a7e15ba6d01c05': { + 'name': '7b316784cf9e60631768b35cb7a7e15ba6d01c05', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n (true && ((-1537158028109086738) * 60138)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '15343f50af0a75480ffdaceaf71b379e1d66df18': { + 'name': '15343f50af0a75480ffdaceaf71b379e1d66df18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && "") && principal) && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b9ba0cd046f46175d9c494da778329fb92e1b1c8': { + 'name': 'b9ba0cd046f46175d9c494da778329fb92e1b1c8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && A::"") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e0ebbf3d5634bff7fd8eeec171b1d07009eb1d3a': { + 'name': 'e0ebbf3d5634bff7fd8eeec171b1d07009eb1d3a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"(\\0\\0\\0\\0\\0",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '(\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '(\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '(\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '(\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '793fa6a9f31eb328da35f6e47331fdee10e41a18': { + 'name': '793fa6a9f31eb328da35f6e47331fdee10e41a18', + 'schema_json': { + 'Qxxxxxxxxxx': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'v': { + 'type': 'Entity', + 'name': 'Qxxxxxxxxxx::a', + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'resource': {'type': 'Qxxxxxxxxxx::a', 'id': ''}, + 'action': {'type': 'Qxxxxxxxxxx::Action', 'id': 'action'}, + 'context': { + 'v': { + '__entity': {'id': '', 'type': 'Qxxxxxxxxxx::a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f081a19560e2eeb8f15df2a030a10294a8a2e9c8': { + 'name': 'f081a19560e2eeb8f15df2a030a10294a8a2e9c8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['e'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'e': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['e'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'C': { + 'memberOfTypes': ['K', 'A', 'n', 'e'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['C', 'K'], + 'principalTypes': ['C', 'K', 'A', 'n', 'e'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'e', 'id': ''}, + {'type': 'K', 'id': ''}, + {'type': 'A', 'id': ''}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'K', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'e', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'e', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'e', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C', 'id': ''}, + 'resource': {'type': 'C', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22ddab875772d1225e1517bed1634f565ce97b02': { + 'name': '22ddab875772d1225e1517bed1634f565ce97b02', + 'schema_json': { + 'Khhkkhk': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '92b3f452e8ee9c7482beaec7bd4a4f1bdc9f3f6e': { + 'name': '92b3f452e8ee9c7482beaec7bd4a4f1bdc9f3f6e', + 'schema_json': { + 'Wjjhjjjjjjjjjj': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'WamkldYj000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'resource': {'type': 'Wjjhjjjjjjjjjj::a', 'id': ''}, + 'action': {'type': 'Wjjhjjjjjjjjjj::Action', 'id': ''}, + 'context': {'WamkldYj000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b561573781ed4992f1172af07a4084a2458fd243': { + 'name': 'b561573781ed4992f1172af07a4084a2458fd243', + 'schema_json': { + 'VBhhhghhkkkkkk30k': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'VBhhhghhkkkkkk30k::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'resource': {'type': 'VBhhhghhkkkkkk30k::a', 'id': '.'}, + 'action': {'type': 'VBhhhghhkkkkkk30k::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3225e27e335e266ee0f5ca87b8e7d2d975de124d': { + 'name': '3225e27e335e266ee0f5ca87b8e7d2d975de124d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (Action::"" == ("" == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e6c99b85551ee672fc984d21d2ad02a294268de8': { + 'name': 'e6c99b85551ee672fc984d21d2ad02a294268de8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8fcf6fb356e870b0ab44b3271cc76e30390be46a': { + 'name': '8fcf6fb356e870b0ab44b3271cc76e30390be46a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::""],\n resource\n) when {\n false && Action::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0f39380d0206e60dc83bc69a8f1802916f53f63a': { + 'name': '0f39380d0206e60dc83bc69a8f1802916f53f63a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 'a', + 'id': + 'j\x007\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dcf094ea4aaaada209c625352c25d5a698376713': { + 'name': 'dcf094ea4aaaada209c625352c25d5a698376713', + 'schema_json': { + 'r::r::KLKKJJ0::r::r::A::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'resource': {'type': 'r::r::KLKKJJ0::r::r::A::r::a', 'id': ''}, + 'action': {'type': 'r::r::KLKKJJ0::r::r::A::r::Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd9babe98f71c08bfabda643b5fdb07ee5be7f6bc': { + 'name': 'd9babe98f71c08bfabda643b5fdb07ee5be7f6bc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action",Action::"action"],\n resource in a::"60"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '7356322h\x00'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '19c5f1424d35a2cbe0426ad84c57761d16f5637c': { + 'name': '19c5f1424d35a2cbe0426ad84c57761d16f5637c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'j02h0': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0#\\0\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00#\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'j02h0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0192e411e8989f19f3282f9c840c90a53b6d43b0': { + 'name': '0192e411e8989f19f3282f9c840c90a53b6d43b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a96f74e880792fd63ae1068f22554fd8d3dce2e4': { + 'name': 'a96f74e880792fd63ae1068f22554fd8d3dce2e4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"00"\n) when {\n (true && (-(!(zo0o::"\\0" in principal)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b88adf50c73122ba2eb6f1684bf6e249d16e9a08': { + 'name': 'b88adf50c73122ba2eb6f1684bf6e249d16e9a08', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1721549a1d0b75951d202ad6bad25c85a594bba8': { + 'name': '1721549a1d0b75951d202ad6bad25c85a594bba8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ')': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'p': {'appliesTo': null, 'memberOf': null}, + 'J': {'appliesTo': null, 'memberOf': null}, + '.A00': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ')'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1796d594c30461a66c4b4de040aae25480691034': { + 'name': '1796d594c30461a66c4b4de040aae25480691034', + 'schema_json': { + 'v::Qx::OMRR': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'qw': {'type': 'String', 'required': false}, + 'v': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'A': false, 'qw': '', 'v': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f96c84bca96fd4eb21a657935bb955db3f241de4': { + 'name': 'f96c84bca96fd4eb21a657935bb955db3f241de4', + 'schema_json': { + 'A::x': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == A::x::a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::x::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::x::a', 'id': ''}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'resource': {'type': 'A::x::a', 'id': 'ff\x00'}, + 'action': {'type': 'A::x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd6585fb7a37ed5d97beee8eef1c78c8d584bfd23': { + 'name': 'd6585fb7a37ed5d97beee8eef1c78c8d584bfd23', + 'schema_json': { + 'A000::p': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == A000::p::a::"",\n action,\n resource == A000::p::a::""\n) when {\n true && (!(principal has ""))\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A000::p::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A000::p::a', 'id': ''}, + 'resource': {'type': 'A000::p::a', 'id': ''}, + 'action': {'type': 'A000::p::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bf84f17312ea3b15a9f38b1aad4ed37d1880ac09': { + 'name': 'bf84f17312ea3b15a9f38b1aad4ed37d1880ac09', + 'schema_json': { + 'A::Gxxxx1033': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::Gxxxx1033::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'resource': {'type': 'A::Gxxxx1033::a', 'id': ';'}, + 'action': {'type': 'A::Gxxxx1033::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fab46891298893ba3b4d08c901aa65d615be3ae5': { + 'name': 'fab46891298893ba3b4d08c901aa65d615be3ae5', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"",\n action in [A::Action::"action",A::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ecadca702f808cf70fe36db826a2e62ea659db11': { + 'name': 'ecadca702f808cf70fe36db826a2e62ea659db11', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"%"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '%'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '%'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'adfc05795139db386bbeb2c04e5f59813aee588f': { + 'name': 'adfc05795139db386bbeb2c04e5f59813aee588f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'f': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\b\x00\x03\x00'}, + 'attrs': {'f': '', 'A': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': '', 'f': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {'f': '', 'A': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {'A': '', 'f': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4a333235e53c66d03ea15afcd6c3e07770e60d96': { + 'name': '4a333235e53c66d03ea15afcd6c3e07770e60d96', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '[\$\x00\x00\x00b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '[\$\x00\x00\x00b'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33e240eadef0c867b6154d470b0e7182ffbca850': { + 'name': '33e240eadef0c867b6154d470b0e7182ffbca850', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n ((true && (((a::"" == a::"") == (a::"" == principal)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '95bd608355e635217808896e538df0697c0d0d53': { + 'name': '95bd608355e635217808896e538df0697c0d0d53', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'l/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e9bf9a0ffb7521be078ea0d9800c27c8aaf39ee7': { + 'name': 'e9bf9a0ffb7521be078ea0d9800c27c8aaf39ee7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n true && (-(-(false)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '37a94913231a0c1763cf0519062419837a2d57e8': { + 'name': '37a94913231a0c1763cf0519062419837a2d57e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + ')': {'appliesTo': null, 'memberOf': null}, + '\x0E..': {'appliesTo': null, 'memberOf': null}, + '.': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'J': {'appliesTo': null, 'memberOf': null}, + '*.': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '15d7c637ecffec277a3c3e60acb3ef3df4d6c508': { + 'name': '15d7c637ecffec277a3c3e60acb3ef3df4d6c508', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00\x02..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '...&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': '...&'}, + 'resource': {'type': 'Kfhhhhh', 'id': '...&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b1248b892bd661b95b085cc5aea3c789d06f4c7a': { + 'name': 'b1248b892bd661b95b085cc5aea3c789d06f4c7a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'f111': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['f111'], + 'principalTypes': ['f111'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'String'} + }, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in f111::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'f111', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'f111', 'id': ''}, + 'resource': {'type': 'f111', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '083c7ab83766f808626cd347840932ef74ed67a8': { + 'name': '083c7ab83766f808626cd347840932ef74ed67a8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && (((-(392374774407)) == principal) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '053ed1c2d50c473008af7815d07cc9326fe67aa0': { + 'name': '053ed1c2d50c473008af7815d07cc9326fe67aa0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + '_1': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'sWqslWkgqaWMlqYdc': { + 'memberOfTypes': ['_1'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['sWqslWkgqaWMlqYdc', '_1'], + 'principalTypes': ['sWqslWkgqaWMlqYdc', '_1'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': '_1', 'id': ''} + ] + }, + { + 'uid': {'type': '_1', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'resource': {'type': 'sWqslWkgqaWMlqYdc', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ae2c67d1713bca35a2ef40518399e6d3af5f342b': { + 'name': 'ae2c67d1713bca35a2ef40518399e6d3af5f342b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true && (([Action::"action", Bxm0000000000000::"", principal, principal, principal, principal, principal] in principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '94c0be79f2fdbf7665d653e48e8c770bed3d74df': { + 'name': '94c0be79f2fdbf7665d653e48e8c770bed3d74df', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'k'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ad60db88a7f37324e6c885200699a54b47768294': { + 'name': 'ad60db88a7f37324e6c885200699a54b47768294', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && ("" in "")) && 0\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0c504a6e9b059221d5f7cadc7c33b075f40fa27c': { + 'name': '0c504a6e9b059221d5f7cadc7c33b075f40fa27c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action,\n resource in a::""\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c5aac7e6da4d23ff344137eebfa4ca251676b6cd': { + 'name': 'c5aac7e6da4d23ff344137eebfa4ca251676b6cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"",Action::""],\n resource\n) when {\n (true && "~") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00b'}, + 'resource': {'type': 'a', 'id': '\x00b'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6195b927cbadeb03eb8cbe5df983957b08b8eaae': { + 'name': '6195b927cbadeb03eb8cbe5df983957b08b8eaae', + 'schema_json': { + 'zow0ssssss': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'zow0ssssss::a', 'id': '70'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'zow0ssssss::a', 'id': '70'}, + 'resource': {'type': 'zow0ssssss::a', 'id': '70'}, + 'action': {'type': 'zow0ssssss::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9191cdaa82bc60fc9960379614d5fa0d5da113f2': { + 'name': '9191cdaa82bc60fc9960379614d5fa0d5da113f2', + 'schema_json': { + 'r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::G', 'id': '::::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::r', 'id': ''}, + {'type': 'r::r::n', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::r::G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::n', 'id': ''}, + {'type': 'r::r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::r::n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::G', 'id': '::::'}, + 'resource': {'type': 'r::r::G', 'id': '::::'}, + 'action': {'type': 'r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '59c2e62a63ec7159ac56cccc6f6ea6a218cff77b': { + 'name': '59c2e62a63ec7159ac56cccc6f6ea6a218cff77b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'RH': { + 'memberOfTypes': ['R'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'R': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['RH'], + 'principalTypes': ['R'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'RH', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'R', 'id': ''} + ] + }, + { + 'uid': {'type': 'RH', 'id': 'c'}, + 'attrs': {}, + 'parents': [ + {'type': 'R', 'id': ''} + ] + }, + { + 'uid': {'type': 'R', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R', 'id': ''}, + 'resource': {'type': 'RH', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd5dccca1808c2ca94e0a53914637692a5f70c677': { + 'name': 'd5dccca1808c2ca94e0a53914637692a5f70c677', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n true && "b"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ad2cc9597f44c1ec8b139752fc4292ebe66ce710': { + 'name': 'ad2cc9597f44c1ec8b139752fc4292ebe66ce710', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"&",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ac81cb6993afdd6f64d424ea051c57c3990a0077': { + 'name': 'ac81cb6993afdd6f64d424ea051c57c3990a0077', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02c'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b96248c91d47d68ac560a81aebfd0ede344ad285': { + 'name': 'b96248c91d47d68ac560a81aebfd0ede344ad285', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': ['K'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'yKJJ000': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'K': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r', 'K'], + 'principalTypes': ['r', 'K'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {'yKJJ000': 0}, + 'parents': [ + {'type': 'K', 'id': ''} + ] + }, + { + 'uid': {'type': 'K', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '297a9fa0fb81c1ea84f2c745faa7437e42b691b5': { + 'name': '297a9fa0fb81c1ea84f2c745faa7437e42b691b5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{2}>si0",\n action in [Action::"",Action::"",Action::""],\n resource in a::"\\u{2}>si0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02>si0'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02>si0'}, + 'resource': {'type': 'a', 'id': '\x02>si0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '55dec050f175508c8f798ba60af64e2b1e4242f8': { + 'name': '55dec050f175508c8f798ba60af64e2b1e4242f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "\\0") && Action::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2e8149e2e167a7b8c67c06a68578c86e24971a67': { + 'name': '2e8149e2e167a7b8c67c06a68578c86e24971a67', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}c\\u{2}\\u{2}\\u{2}\\u{2}",\n action in [Action::"action"],\n resource == a::"\\u{2}c\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': '\x02c\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '261149a4a8004219a52422f61df14589c83382ec': { + 'name': '261149a4a8004219a52422f61df14589c83382ec', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [Action::"action"],\n resource in a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f9f3ca4ef08b3ff39c1e2f4ce34a55ab243cf31b': { + 'name': 'f9f3ca4ef08b3ff39c1e2f4ce34a55ab243cf31b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("l")\nforbid(\n principal == a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c741d4289e152b51cb11aa164cd6bf24920fe4b2': { + 'name': 'c741d4289e152b51cb11aa164cd6bf24920fe4b2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"d",\n action == Action::"action",\n resource\n) when {\n true && (true == "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'd'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'd'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4968fad648bcffd3a08423cb89c1886b668ed9ed': { + 'name': '4968fad648bcffd3a08423cb89c1886b668ed9ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource in a::"2"\n) when {\n true && (!(false || ""))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '2'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '2'}, + 'resource': {'type': 'a', 'id': '2'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ed0a039227f28a92c320b1302316cf67fc28c00f': { + 'name': 'ed0a039227f28a92c320b1302316cf67fc28c00f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Ahh': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Ahh': 3314649325744685056}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {'Ahh': 3314649325744685056}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x13.\x000\x13'}, + 'attrs': {'Ahh': 3314649325744685056}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '42ed75aa47e6ff8463496a8af28b64f280165056': { + 'name': '42ed75aa47e6ff8463496a8af28b64f280165056', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8568db717e8ce5d5c2eae1f530d4f2bc3de2eef6': { + 'name': '8568db717e8ce5d5c2eae1f530d4f2bc3de2eef6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Gjxxxxjjj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Gjxxxxjjj'], + 'principalTypes': ['Gjxxxxjjj'], + 'context': { + 'type': 'Record', + 'attributes': { + 'WjxiG777x7A33xx0': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gjxxxxjjj', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gjxxxxjjj', 'id': ''}, + 'resource': {'type': 'Gjxxxxjjj', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'WjxiG777x7A33xx0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7fc5b0951ef5748665395b4d678c76faa1724d17': { + 'name': '7fc5b0951ef5748665395b4d678c76faa1724d17', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'O': { + 'memberOfTypes': ['q', 'A', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'q': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O', 'q', 'A', 'r'], + 'principalTypes': ['O', 'q', 'A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A::A', 'id': ''}, + {'type': 'A::q', 'id': ''}, + {'type': 'A::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'A::r', 'id': ''}, + 'attrs': {'A': false}, + 'parents': [] + }, + { + 'uid': {'type': 'A::q', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::O', 'id': ''}, + 'resource': {'type': 'A::O', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '79e20304effab67d62ee64404284039250203aa5': { + 'name': '79e20304effab67d62ee64404284039250203aa5', + 'schema_json': { + 'm::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == m::r::a::"",\n action,\n resource in m::r::a::""\n) when {\n ((true && (m::r::a::"" like "**")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'm::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm::r::a', 'id': ''}, + 'resource': {'type': 'm::r::a', 'id': ''}, + 'action': {'type': 'm::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '77a7f54975c9f3359639b96c27b9927dd628da05': { + 'name': '77a7f54975c9f3359639b96c27b9927dd628da05', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'v': {'type': 'Entity', 'name': 'a', 'required': false}, + 'vRRRRRcwwRRR': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'vRRRRRcwwRRR': false, + 'v': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e2000abaad107d213c8ca19cb289745b6781ae4f': { + 'name': 'e2000abaad107d213c8ca19cb289745b6781ae4f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vhhhhhhkkkkkkkkkk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vhhhhhhkkkkkkkkkk'], + 'principalTypes': ['Vhhhhhhkkkkkkkkkk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkkk', 'id': '\x13\x00\x00.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fdffaf881b658a19fb59cc82cbd942a12747a9dc': { + 'name': 'fdffaf881b658a19fb59cc82cbd942a12747a9dc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'resource': {'type': 'a', 'id': 'FFFFFFFFFF&\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4398fb79db64ae19a222a5b4473fd1573a0f4c45': { + 'name': '4398fb79db64ae19a222a5b4473fd1573a0f4c45', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@v1("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00v'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ebd9baf0cf40cd6b817574bf8256f59cf572d692': { + 'name': 'ebd9baf0cf40cd6b817574bf8256f59cf572d692', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f5d577088881435fd9bf94779cae429dcd9def19': { + 'name': 'f5d577088881435fd9bf94779cae429dcd9def19', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'm000000': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'JaWM': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'is': { + 'appliesTo': { + 'resourceTypes': ['m000000'], + 'principalTypes': ['m000000'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0000000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '_re': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm000000', 'id': ''}, + 'attrs': {'JaWM': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm000000', 'id': ''}, + 'resource': {'type': 'm000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'is'}, + 'context': {'A0000000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ce29db8c629bdec52719f2c8d30dd323fbb2ba2e': { + 'name': 'ce29db8c629bdec52719f2c8d30dd323fbb2ba2e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"?",\n action in [Action::"action"],\n resource == a::"?"\n) when {\n (true && (if (principal like "\\*\\0\\0\\0") then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '?'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '4a56e5dfaf0885bd803a65751e7d6e4df70b5428': { + 'name': '4a56e5dfaf0885bd803a65751e7d6e4df70b5428', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + ':': {'type': 'Entity', 'name': 'a', 'required': true} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::\x00\x00:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': { + ':': { + '__entity': {'id': '::\x00\x00:', 'type': 'a'} + } + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::\x00\x00:'}, + 'resource': {'type': 'a', 'id': '::\x00\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '998e5a35bee62922f12dbacd1a07dd34007dddb7': { + 'name': '998e5a35bee62922f12dbacd1a07dd34007dddb7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{12}\\u{2}\\u{2}\\u{2}"\n) when {\n ((true && ((principal has "") == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'resource': { + 'type': 'a', + 'id': '\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x12\x02\x02\x02' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1571103f55b41633bd2465963f25a783b98d46ac': { + 'name': '1571103f55b41633bd2465963f25a783b98d46ac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{6}\\u{6}\\u{6}\\u{6}\\0",\n action,\n resource == a::"\\u{6}\\u{6}\\u{6}\\u{6}\\0"\n) when {\n true && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '060ad2040eed9fcf9c742a76d0cdba45c413e4ed': { + 'name': '060ad2040eed9fcf9c742a76d0cdba45c413e4ed', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::"035"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '755f2966b4141044d5f3a1b1737132c905d07ac4': { + 'name': '755f2966b4141044d5f3a1b1737132c905d07ac4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "\\u{f}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '65c5f63b53b6783dbf4d4bb4e97b8a95b4c2b7ac': { + 'name': '65c5f63b53b6783dbf4d4bb4e97b8a95b4c2b7ac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Ruwa1u': { + 'memberOfTypes': ['w'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Ruwa1u', 'w'], + 'principalTypes': ['Ruwa1u', 'w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in w::"",\n action in [Action::"action"],\n resource\n) when {\n ((true && principal) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'w', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Ruwa1u', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'w', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Ruwa1u', 'id': ''}, + 'resource': {'type': 'Ruwa1u', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b9c02a049395e0a0f5861308d63cf968a6dfe177': { + 'name': 'b9c02a049395e0a0f5861308d63cf968a6dfe177', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'resource': {'type': 'a', 'id': '\x00\x00@\x00\x00RRRRR\fR'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca4af84c84f851f8ad08f0d1c165ac756ff361f5': { + 'name': 'ca4af84c84f851f8ad08f0d1c165ac756ff361f5', + 'schema_json': { + 'g::r::A::Q': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == g::r::A::Q::a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'g::r::A::Q::a', 'id': 'i'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'g::r::A::Q::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'g::r::A::Q::a', 'id': ''}, + 'resource': {'type': 'g::r::A::Q::a', 'id': ''}, + 'action': {'type': 'g::r::A::Q::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '828631470611911cad0aef42e5761d7dc69c64ad': { + 'name': '828631470611911cad0aef42e5761d7dc69c64ad', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"&",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9fdb5ebfe43720d72298b5a5bc00dba586d0f996': { + 'name': '9fdb5ebfe43720d72298b5a5bc00dba586d0f996', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"?",\n action in [Action::"action"],\n resource == a::"?"\n) when {\n (true && (if ((if principal then principal else principal) like "\\*\\0\\0\\0") then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '?'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '?'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e4e2126159e441e829d39600f12fcbfedca19715': { + 'name': 'e4e2126159e441e829d39600f12fcbfedca19715', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'B': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'O': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'q': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['q', 'A', 'B', 'r'], + 'principalTypes': ['O', 'q', 'A', 'B', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'q', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'A', 'id': ''}, + {'type': 'B', 'id': ''} + ] + }, + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'B', 'id': ''} + ] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'q', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d708a846df604daa636403c267203ff2284d091': { + 'name': '9d708a846df604daa636403c267203ff2284d091', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n ((true && ((a::"".containsAll(principal)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6289324e3c80fbd138d1b75acff1aa1c53ef4e2e': { + 'name': '6289324e3c80fbd138d1b75acff1aa1c53ef4e2e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6a7418396e090ede0881c9cd4144898403c3ebbc': { + 'name': '6a7418396e090ede0881c9cd4144898403c3ebbc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A2': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::""\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': true}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {'A2': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '49ba0880e8c4d426ccde9f64911d1dfbaa51fe9e': { + 'name': '49ba0880e8c4d426ccde9f64911d1dfbaa51fe9e', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::a::"",\n action == A::Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x00\x072'}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c9ce04d4744930aa5c288e89dbd296ae9a51ab27': { + 'name': 'c9ce04d4744930aa5c288e89dbd296ae9a51ab27', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Kk20("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '󅅈\x05\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ed50cb715d57475bc9dacda0ba0dd77c589832e8': { + 'name': 'ed50cb715d57475bc9dacda0ba0dd77c589832e8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && ("c".greaterThanOrEqual(a::""))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c589f1386d9a37a56828e2f7adcde859ff2e7573': { + 'name': 'c589f1386d9a37a56828e2f7adcde859ff2e7573', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && principal) && Action::"action") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3916d8b81ea7add70c41de29fa49a7eae2992fc1': { + 'name': '3916d8b81ea7add70c41de29fa49a7eae2992fc1', + 'schema_json': { + 'A000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'dafnyȹun': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'A000::Action', 'id': 'dafnyȹun'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '51ce1fc223eb6743cb0d58410c4ccf00063b83ca': { + 'name': '51ce1fc223eb6743cb0d58410c4ccf00063b83ca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::""\n) when {\n ((true && [(a::"%" == principal) == principal, principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '%'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '920c746e731c3ace559a77d13f72dd3215c2611e': { + 'name': '920c746e731c3ace559a77d13f72dd3215c2611e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::"j\\0"\n) when {\n ((true && (((context.containsAll(a::"j\\0")).containsAll(false)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '38814b2226b344165e2b0bfddda558ad08183d84': { + 'name': '38814b2226b344165e2b0bfddda558ad08183d84', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'T': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false}, + 'vh92223': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'T': '', 'vh92223': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '77d60e4b0629689724e27ae7261b0fd2f7d1dfd9': { + 'name': '77d60e4b0629689724e27ae7261b0fd2f7d1dfd9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@Qx87("")\n@byxxGx333("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '30ea78135f731d99845eb1db7002184213ff7a6c': { + 'name': '30ea78135f731d99845eb1db7002184213ff7a6c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && ((("" == "") == ("" == false)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3e086215db8ab6f898e05b2d9d42da7a189d69ea': { + 'name': '3e086215db8ab6f898e05b2d9d42da7a189d69ea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && [Action::"action", principal, principal == principal, principal]\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a48aaab8c65092eccb2f7549b8cf267a73e35a50': { + 'name': 'a48aaab8c65092eccb2f7549b8cf267a73e35a50', + 'schema_json': { + 'GXjxxjjjj': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Gxxjjjjej': {'type': 'String', 'required': false}, + 'Wjj00000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'resource': {'type': 'GXjxxjjjj::a', 'id': ''}, + 'action': {'type': 'GXjxxjjjj::Action', 'id': ''}, + 'context': {'Gxxjjjjej': '', 'Wjj00000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7f4b0c162ff3c41fd812d3e6fcd35a43160ab053': { + 'name': '7f4b0c162ff3c41fd812d3e6fcd35a43160ab053', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x07\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca6a97aeccaccf888e717ebcac44c4ee680705b1': { + 'name': 'ca6a97aeccaccf888e717ebcac44c4ee680705b1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true && (-(true))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b616f53e96b13c4e1daf4dbb82a0b65061c9ac99': { + 'name': 'b616f53e96b13c4e1daf4dbb82a0b65061c9ac99', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true && 7668159475125730666\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '516f7922d7f2575b6f30800f05f273038b1ada0b': { + 'name': '516f7922d7f2575b6f30800f05f273038b1ada0b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': { + 'type': 'a', + 'id': '+\x00\x00\x00\x00\x00\x00\x00\x00da\x05\x05' + }, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1e72151e17c381a5fa3d8934a5ba360339968f04': { + 'name': '1e72151e17c381a5fa3d8934a5ba360339968f04', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0i\\0",\n action in [Action::"action"],\n resource == a::"\\0i\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00i\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x00\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00i\x00'}, + 'resource': {'type': 'a', 'id': '\x00i\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '87202e9c047a7bda9986e7b09c06b23dd02dedbd': { + 'name': '87202e9c047a7bda9986e7b09c06b23dd02dedbd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r0z33000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 'A', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 'A', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dc518fc7ef5b82e44d498355e9f55192dc170914': { + 'name': 'dc518fc7ef5b82e44d498355e9f55192dc170914', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''}, + {'type': 'n', 'id': ':'}, + {'type': 'n', 'id': '::'}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': '::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '24a1025a6f4b8a759b0234cec2a64f21d7f31f4c': { + 'name': '24a1025a6f4b8a759b0234cec2a64f21d7f31f4c', + 'schema_json': { + 'L::r3ww3w33': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'resource': {'type': 'L::r3ww3w33::a', 'id': ''}, + 'action': {'type': 'L::r3ww3w33::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5a923b61d2d547463f4acc82290a4546c43a1f62': { + 'name': '5a923b61d2d547463f4acc82290a4546c43a1f62', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true && ([].contains(!(!false)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '71d4fe6ed6a265145c056d17295c0cc32006db90': { + 'name': '71d4fe6ed6a265145c056d17295c0cc32006db90', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"FF%%\\0\\0F\\u{2}\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"FF%%\\0\\0F\\u{2}\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00F\x02\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9da24d85bb124c72cb65fa6d849d057ea3e59436': { + 'name': '9da24d85bb124c72cb65fa6d849d057ea3e59436', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + 'aff\x06': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'String', 'required': false}, + 'f\x7F\x00\x04': { + 'type': 'String', + 'required': false + }, + 'n': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': {'F': '', 'f\x7F\x00\x04': '', 'n': ''} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a3505e1b24db821f7a9a7672918d58a4c6d7d532': { + 'name': 'a3505e1b24db821f7a9a7672918d58a4c6d7d532', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Ov': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Om': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Ov'], + 'principalTypes': ['Ov'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Ov', 'id': ''}, + 'attrs': {'Om': []}, + 'parents': [] + }, + { + 'uid': {'type': 'Ov', 'id': '\x03'}, + 'attrs': { + 'Om': ['', 'un/', ''] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Ov', 'id': ''}, + 'resource': {'type': 'Ov', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22779e33ffcbb24ecc0309855ce390a342c7cbb1': { + 'name': '22779e33ffcbb24ecc0309855ce390a342c7cbb1', + 'schema_json': { + 'r333::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'uH': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'R': {'type': 'String', 'required': false}, + 'rh': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['uH', 'r'], + 'principalTypes': ['uH'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r333::r::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r333::r::r::uH', 'id': ''}, + 'attrs': {'rh': false, 'R': ''}, + 'parents': [ + {'type': 'r333::r::r::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r333::r::r::uH', 'id': ''}, + 'resource': {'type': 'r333::r::r::uH', 'id': ''}, + 'action': {'type': 'r333::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '16d8dd8f9f3eb287902c3fb4936841d8a2415a58': { + 'name': '16d8dd8f9f3eb287902c3fb4936841d8a2415a58', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '~:'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fd4855a6b7c2e0189ede9509e242a8463c29e380': { + 'name': 'fd4855a6b7c2e0189ede9509e242a8463c29e380', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && (a::"".containsAll(principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c4e59c0c01de0263f75cfe881d291c300e921716': { + 'name': 'c4e59c0c01de0263f75cfe881d291c300e921716', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource in a::""\n) when {\n (true && ((("" < "") < "") || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8687a31c52c12c4059d6573bc0f3495392c496dd': { + 'name': '8687a31c52c12c4059d6573bc0f3495392c496dd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\r\r\r\r0000000466rrrr[79'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\r\r'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\r\r'}, + 'resource': {'type': 'a', 'id': '\r\r'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b3e498fe461062e23f64aa092d6f868d712fcc85': { + 'name': 'b3e498fe461062e23f64aa092d6f868d712fcc85', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"700\\u{17}",\n action,\n resource in a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '3'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '29eaecbeb520e625e4fb499d4020a6c66db79d3d': { + 'name': '29eaecbeb520e625e4fb499d4020a6c66db79d3d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"ff",\n action in [Action::"action"],\n resource == a::"ff"\n) when {\n ((true && (((a::"ff" == false) like "") like "")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff'}, + 'resource': {'type': 'a', 'id': 'ff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd9ed25901f66563e471830cc3992156b6cbd90e3': { + 'name': 'd9ed25901f66563e471830cc3992156b6cbd90e3', + 'schema_json': { + 'r::r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::G::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::G::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::G::r::r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::G::r::A', 'id': ''}, + 'resource': {'type': 'r::r::G::r::A', 'id': ''}, + 'action': {'type': 'r::r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dedcfd40a2187a7611e6f099db17ad4c61ab0e1e': { + 'name': 'dedcfd40a2187a7611e6f099db17ad4c61ab0e1e', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': '\x00un'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '\x00y'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': 'j\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': 'p'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '/ac'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': '\x06'}, + 'resource': {'type': 'A::a', 'id': '\x06'}, + 'action': {'type': 'A::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd069b0f4f26c6da3de746e83a900168433acaf04': { + 'name': 'd069b0f4f26c6da3de746e83a900168433acaf04', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': true + }, + 'stpgv': {'type': 'Boolean', 'required': false}, + 'vnw': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F': {}, 'vnw': {}, 'stpgv': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1302345b4a58a174e8bcc73f4426d04432a46493': { + 'name': '1302345b4a58a174e8bcc73f4426d04432a46493', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n ((true && (!(!(a::""["r"])))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f764b8185dcadd8106ba7ecf614bef990e574de6': { + 'name': 'f764b8185dcadd8106ba7ecf614bef990e574de6', + 'schema_json': { + 'mzzzzz::mzzzzz0zwwwwwz': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'resource': {'type': 'mzzzzz::mzzzzz0zwwwwwz::a', 'id': ''}, + 'action': {'type': 'mzzzzz::mzzzzz0zwwwwwz::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dba1be0e19ff7c90ca7f8272e5c246f818809428': { + 'name': 'dba1be0e19ff7c90ca7f8272e5c246f818809428', + 'schema_json': { + 'lUy6y788Fwww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'lUy6y788Fwww::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'resource': {'type': 'lUy6y788Fwww::a', 'id': 'l:i_ym\x00\x00\x00&'}, + 'action': {'type': 'lUy6y788Fwww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0ad7f53251425c9d8f3f0bcb9ececdfbe65fbaac': { + 'name': '0ad7f53251425c9d8f3f0bcb9ececdfbe65fbaac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && context) && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'eb549688b05eb58deaeb21ee99e7610f80eee8f6': { + 'name': 'eb549688b05eb58deaeb21ee99e7610f80eee8f6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '114e1eaad04a5af7eef1d9a6f9052cbb6cc0c438': { + 'name': '114e1eaad04a5af7eef1d9a6f9052cbb6cc0c438', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [ + [true, false], + [true, false, false, false, true], + [false, false, false, true, false], + [false, false], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3a09e8d2f341ac0ed163d93913263a19a622fce2': { + 'name': '3a09e8d2f341ac0ed163d93913263a19a622fce2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"v\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}",\n action in [],\n resource in a::"v\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01\x00'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'resource': {'type': 'a', 'id': 'v\x02\x02\x02\x02\x02\x02\x02\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ba86328a2ae4547692bb6a08f5ee2dc2ce4b25e9': { + 'name': 'ba86328a2ae4547692bb6a08f5ee2dc2ce4b25e9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '809c9748537ccf9230eaa8c70c538a16a0e54c86': { + 'name': '809c9748537ccf9230eaa8c70c538a16a0e54c86', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'VhBhKfhmkkk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['VhBhKfhmkkk'], + 'principalTypes': ['VhBhKfhmkkk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in VhBhKfhmkkk::"",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'resource': {'type': 'VhBhKfhmkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '22207785df28376a2976a62ec8185f2b73df5c07': { + 'name': '22207785df28376a2976a62ec8185f2b73df5c07', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '031b9ef9898f3e8cc9ea967e5a05677582eca81e': { + 'name': '031b9ef9898f3e8cc9ea967e5a05677582eca81e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'F0ca': {'type': 'String', 'required': false}, + 'K776': {'type': 'String', 'required': false}, + 'qkckmpv': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'K776': '', 'A': '', 'qkckmpv': '', 'F0ca': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '83ce2c0c18a235290b93acbf1640314f6218792e': { + 'name': '83ce2c0c18a235290b93acbf1640314f6218792e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + 'aff\x06': { + 'type': 'Record', + 'attributes': { + 'f\x7F\x00\x04/Fu': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '': '', + 'aff\x06': { + 'f\x7F\x00\x04/Fu': {'': ''} + } + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '051a1bcd7902c19b6eeb3d710d3dcc6d68618ce8': { + 'name': '051a1bcd7902c19b6eeb3d710d3dcc6d68618ce8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'O': { + 'memberOfTypes': ['q', 'A', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'B': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'q': { + 'memberOfTypes': ['A', 'B', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O', 'q', 'B', 'r'], + 'principalTypes': ['O', 'q', 'A', 'B', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'A', 'id': ''}, + {'type': 'q', 'id': ''}, + {'type': 'r', 'id': ''}, + {'type': 'B', 'id': ''} + ] + }, + { + 'uid': {'type': 'q', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'B', 'id': ''}, + {'type': 'A', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'B', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'B', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ff2bb115942c7257de5f24a3985fa4f2fdd49108': { + 'name': 'ff2bb115942c7257de5f24a3985fa4f2fdd49108', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && ((!true) like "rNativ")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ba96234b4693881a5e4ef898cd5b11a123ab4d13': { + 'name': 'ba96234b4693881a5e4ef898cd5b11a123ab4d13', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"ff",\n action in [Action::"action"],\n resource == a::"ff"\n) when {\n ((true && 2526451350) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ff'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c4b350c687fa4a5bace39a9e449eb98f3e5d829b': { + 'name': 'c4b350c687fa4a5bace39a9e449eb98f3e5d829b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '02a16a6d495ee188df2575a8539c351fe235ad58': { + 'name': '02a16a6d495ee188df2575a8539c351fe235ad58', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['n'], + 'principalTypes': ['n'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'A0': {'type': 'String', 'required': false}, + 'CbQw7u': {'type': 'String', 'required': false}, + 'Qm7uuupu': {'type': 'String', 'required': false}, + 's': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'n', 'id': ''}, + 'resource': {'type': 'n', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qm7uuupu': '', 'A0': '', 'A': '', 's': '', 'CbQw7u': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a3635f0fed60bfe960a1a01dd3bacb35531e2dbe': { + 'name': 'a3635f0fed60bfe960a1a01dd3bacb35531e2dbe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"1"\n) when {\n ((true && "\\0") && "\\0") && "\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '1'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a09b589b0d4e870cb47c3280f1de5ec2264829ca': { + 'name': 'a09b589b0d4e870cb47c3280f1de5ec2264829ca', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fa51f4b347bf4969490811f09fbb2fe495c09c4c': { + 'name': 'fa51f4b347bf4969490811f09fbb2fe495c09c4c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'I': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true && (principal has "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'I': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2d6dc2f9cc6324fe07bec72a98ac623cbdecfa12': { + 'name': '2d6dc2f9cc6324fe07bec72a98ac623cbdecfa12', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource in a::"\\0"\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ef55486f77e837ca67f88749434504a48760bbee': { + 'name': 'ef55486f77e837ca67f88749434504a48760bbee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action",Action::"action"],\n resource in a::"60"\n) when {\n true && (!(-(!true)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd778ca0053e915eb0aaf2034c5a18bcd8194605f': { + 'name': 'd778ca0053e915eb0aaf2034c5a18bcd8194605f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource == a::""\n) when {\n false && (((principal || principal) || principal) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3b5b1e469ee9944b3481a2a17500eff50f90fa8f': { + 'name': '3b5b1e469ee9944b3481a2a17500eff50f90fa8f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{6}\\u{6}",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{6}\\u{6}"\n) when {\n true && (!"z")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '222037b53e5039a2617c7dc68486cb12cc43e43e': { + 'name': '222037b53e5039a2617c7dc68486cb12cc43e43e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"i\\000000",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'i\x0000000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '8'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'i\x0000000'}, + 'resource': {'type': 'a', 'id': 'i\x0000000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '874bb70abee31a9fc92403d4e9d05ff5e9d216bb': { + 'name': '874bb70abee31a9fc92403d4e9d05ff5e9d216bb', + 'schema_json': { + 'r::r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'r3Y3333w3333': { + 'memberOfTypes': ['V'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'V': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r3Y3333w3333', 'V'], + 'principalTypes': ['V'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::V', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::r::r::r::V', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::V', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r3Y3333w3333', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c5ea476517cba574bfa6cec43675c0e83e2ff88e': { + 'name': 'c5ea476517cba574bfa6cec43675c0e83e2ff88e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['x'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'x': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'x'], + 'principalTypes': ['A', 'x'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'x', 'id': ''} + ] + }, + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ' '}, + 'attrs': {}, + 'parents': [ + {'type': 'x', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ' '}, + 'resource': {'type': 'A', 'id': ' '}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '633dda22e80e12625b773d7dde59e1dc894c53f0': { + 'name': '633dda22e80e12625b773d7dde59e1dc894c53f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bhh02': { + 'type': 'Set', + 'element': {'type': 'String'}, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '#\x00\x00A\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bhh02': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e707a4f91770c47e0c8a8ba6b52a37a816a5c93d': { + 'name': 'e707a4f91770c47e0c8a8ba6b52a37a816a5c93d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n ((true && a::"") && (principal == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'efef3d790d796bae052ac24ab93a8e4e8d9bba06': { + 'name': 'efef3d790d796bae052ac24ab93a8e4e8d9bba06', + 'schema_json': { + 'Wjjjxxxbjxjj11': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'resource': {'type': 'Wjjjxxxbjxjj11::a', 'id': ''}, + 'action': {'type': 'Wjjjxxxbjxjj11::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '773e994b3aed1e7755ea250064c70256e12d2f22': { + 'name': '773e994b3aed1e7755ea250064c70256e12d2f22', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{7}!",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{7}!"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02\x02\x07!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '62216c7d61a110e80e1bae89f57424161302dd67': { + 'name': '62216c7d61a110e80e1bae89f57424161302dd67', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{16}",\n action,\n resource\n) when {\n true && (!((!principal) == (!false)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x16'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x16'}, + 'resource': {'type': 'a', 'id': '\x16'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd874dce35c50c45ac609f378a680b7b8caaeba71': { + 'name': 'd874dce35c50c45ac609f378a680b7b8caaeba71', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && (if resource then (principal * 9851625970245738) else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bc106a3e13cd549e165c8bad694c59a6687e9424': { + 'name': 'bc106a3e13cd549e165c8bad694c59a6687e9424', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': { + 'F': [ + [false, false, false, false, false, false], + [false, false, false, false, false, false], + [], + [], + [], + [] + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd84e98a5b8a09ad280c6d382affcd06ec248aee': { + 'name': 'bd84e98a5b8a09ad280c6d382affcd06ec248aee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Fwwwywww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'FwwwEwwww': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Fwwwywww'], + 'principalTypes': ['Fwwwywww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwwywww', 'id': ''}, + 'attrs': {'FwwwEwwww': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwwywww', 'id': ''}, + 'resource': {'type': 'Fwwwywww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5b9577df7eb687cac8e595257a72cd5d1fd670f1': { + 'name': '5b9577df7eb687cac8e595257a72cd5d1fd670f1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource == a::"R"\n) when {\n (true && (((false == principal) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'RRRR'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '7600b8d3728a0b54b7d8ad5e18adecfe9f71c3f8': { + 'name': '7600b8d3728a0b54b7d8ad5e18adecfe9f71c3f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"R\\u{1}",\n action == Action::"action",\n resource == a::"R\\u{1}"\n) when {\n true && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'R\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'R\x01'}, + 'resource': {'type': 'a', 'id': 'R\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e4d7bbe9c13bf9cc55f5d27f31b86dede7e8c750': { + 'name': 'e4d7bbe9c13bf9cc55f5d27f31b86dede7e8c750', + 'schema_json': { + 'A0': { + 'commonTypes': {}, + 'entityTypes': { + 'l': { + 'memberOfTypes': ['Fwww'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'Fwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['l', 'Fwww'], + 'principalTypes': ['Fwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0::l', 'id': ''}, + 'attrs': {'r': false}, + 'parents': [ + {'type': 'A0::Fwww', 'id': ''} + ] + }, + { + 'uid': {'type': 'A0::Fwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0::Fwww', 'id': ''}, + 'resource': {'type': 'A0::l', 'id': ''}, + 'action': {'type': 'A0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f85c41d098b3fec1b79630508e98797b78438e7b': { + 'name': 'f85c41d098b3fec1b79630508e98797b78438e7b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"`",\n action == Action::"action",\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': '`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd96f63399d160023562bcf5317506bf049959ef6': { + 'name': 'd96f63399d160023562bcf5317506bf049959ef6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'wgldmlAlA': { + 'type': 'Record', + 'attributes': { + '': {'type': 'String', 'required': false}, + '\n': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'wgldmlAlA': {'': '', '\n': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '676f9f38dc6c2d2e17c7b8055a0f46d9f05bab57': { + 'name': '676f9f38dc6c2d2e17c7b8055a0f46d9f05bab57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource in a::""\n) when {\n (true && ((("RR" == false).lessThanOrEqual(false)) || principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cf8e0b821a33183bb1b27c5204c767cf73046ff2': { + 'name': 'cf8e0b821a33183bb1b27c5204c767cf73046ff2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"V"\n) when {\n true && (((true * 11945) * 0) * 0)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'V'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e11632e1f05db154fc98307f5d892a24885d5c82': { + 'name': 'e11632e1f05db154fc98307f5d892a24885d5c82', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@K66666000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '󅅈\x05\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\x06'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9693f3116d0a2863b0014b2760b84ae20555f640': { + 'name': '9693f3116d0a2863b0014b2760b84ae20555f640', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F5540z': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'F5540z': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e13beaca1968a7be4d266e384804a132493e8399': { + 'name': 'e13beaca1968a7be4d266e384804a132493e8399', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'DlqsllgqrY': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllgqrY': false, 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7f596b214a3c4a30c80dee1999b81cda0214d3e5': { + 'name': '7f596b214a3c4a30c80dee1999b81cda0214d3e5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0ee271720a5368c8cf8d56e70243f821ea755c58': { + 'name': '0ee271720a5368c8cf8d56e70243f821ea755c58', + 'schema_json': { + 'v::Qx::OMRR': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false}, + 'fpvc5xxxx00000': {'type': 'String', 'required': false}, + 'v': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'resource': {'type': 'v::Qx::OMRR::a', 'id': ''}, + 'action': {'type': 'v::Qx::OMRR::Action', 'id': 'action'}, + 'context': {'fpvc5xxxx00000': '', 'v': '', 'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '424d557b4f611937f98306c623d4ec7e75ca652a': { + 'name': '424d557b4f611937f98306c623d4ec7e75ca652a', + 'schema_json': { + 'r::r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x06\x06': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::a', 'id': ''}, + 'action': {'type': 'r::r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dc26baf46d0a36f2dfeab8c192cc2d2f05b60593': { + 'name': 'dc26baf46d0a36f2dfeab8c192cc2d2f05b60593', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'J': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x06\x06\x04': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null}, + 'f\x06': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'J'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33587e74bf62f23c5d247dea697977b23720cc3c': { + 'name': '33587e74bf62f23c5d247dea697977b23720cc3c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'x': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Long'} + } + } + }, + 'required': true + }, + 'xd010dd00': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Long'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'x': [], 'xd010dd00': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a79fb528d34791d0da895a0bbfb9f4a30c9da306': { + 'name': 'a79fb528d34791d0da895a0bbfb9f4a30c9da306', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n true && (a::"00" == true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '823354d2421280e40716e95fb84bbcd4d0d20f99': { + 'name': '823354d2421280e40716e95fb84bbcd4d0d20f99', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n (true && (!(("" == false) == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f'}, + 'resource': {'type': 'a', 'id': 'f'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e7b2898f743f1bd17d68147dd28df8525bef20cd': { + 'name': 'e7b2898f743f1bd17d68147dd28df8525bef20cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f~'}, + 'attrs': { + 'x': { + '__entity': {'id': 'ffgf`f\x00', 'type': 'a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'attrs': { + 'x': { + '__entity': {'id': 'ffgf`f\x00', 'type': 'a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00f\x00f'}, + 'attrs': { + 'x': { + '__entity': {'id': 'ffgf`f\x00', 'type': 'a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'x': { + '__entity': {'id': 'ffgf`f\x00', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'resource': {'type': 'a', 'id': 'ffgf`f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8cbb4935a849167455195de3b9d6cababc61c05b': { + 'name': '8cbb4935a849167455195de3b9d6cababc61c05b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00:::::::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '96645b568adfcefb4b35e422bad25902d71b49f9': { + 'name': '96645b568adfcefb4b35e422bad25902d71b49f9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + ':': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::":",Action::""],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ded15c53e94ef93c32b41c2d869961f2cff2f85a': { + 'name': 'ded15c53e94ef93c32b41c2d869961f2cff2f85a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"1",\n action == Action::"action",\n resource == a::"1"\n) when {\n (true && ((false == false) == false)) && (((principal == principal) == principal) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '1'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '1'}, + 'resource': {'type': 'a', 'id': '1'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c87b23324533d74351af9d1d3287815fb80f4daa': { + 'name': 'c87b23324533d74351af9d1d3287815fb80f4daa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'g': { + 'memberOfTypes': ['dJ', 'Z4MM'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Z4MM': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'dJ': { + 'memberOfTypes': ['Z4MM'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Z4MM'], + 'principalTypes': ['g', 'dJ', 'Z4MM'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Z4MM', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'dJ', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Z4MM', 'id': ''} + ] + }, + { + 'uid': {'type': 'g', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'dJ', 'id': ''}, + {'type': 'Z4MM', 'id': ''} + ] + }, + { + 'uid': {'type': 'g', 'id': 'RR'}, + 'attrs': {}, + 'parents': [ + {'type': 'Z4MM', 'id': ''}, + {'type': 'dJ', 'id': ''} + ] + }, + { + 'uid': {'type': 'g', 'id': '\x00R'}, + 'attrs': {}, + 'parents': [ + {'type': 'dJ', 'id': ''}, + {'type': 'Z4MM', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'g', 'id': '\x00R'}, + 'resource': {'type': 'Z4MM', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ee0e4d2430b6cdb096fbd181a965b7946bf45eea': { + 'name': 'ee0e4d2430b6cdb096fbd181a965b7946bf45eea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"60",\n action in [Action::"action"],\n resource == a::"60"\n) when {\n (true && (-(!(zoof::"" in principal)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3221dffdd3a1ea802e024b5dff4991ac868a2602': { + 'name': '3221dffdd3a1ea802e024b5dff4991ac868a2602', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '82a73100920bd4652f5fa8618bc0253ead9ef34f': { + 'name': '82a73100920bd4652f5fa8618bc0253ead9ef34f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'J': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + }, + 'o': {'type': 'Entity', 'name': 'a', 'required': true}, + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '*'}, + 'attrs': { + 'r': false, + 'J': [false, false], + 'o': { + '__entity': {'id': '*', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '*'}, + 'resource': {'type': 'a', 'id': '*'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '826e05f48f8fb596cdcd7bfcfe99f995c4a4012e': { + 'name': '826e05f48f8fb596cdcd7bfcfe99f995c4a4012e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'WhfhhhhhhkkkkZ': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['WhfhhhhhhkkkkZ'], + 'principalTypes': ['WhfhhhhhhkkkkZ'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'resource': {'type': 'WhfhhhhhhkkkkZ', 'id': '\x13\x00\x00\x02.....'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4c6237f576091e1bee1fe087fe515a0f9299cea6': { + 'name': '4c6237f576091e1bee1fe087fe515a0f9299cea6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action == Action::"action",\n resource\n) when {\n true && (!(principal == (if principal then principal else principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9c21d76e68dfe77e5d919f373e1ca270092f0b14': { + 'name': '9c21d76e68dfe77e5d919f373e1ca270092f0b14', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'j': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource in a::" \\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ' \x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ' \x00\x00'}, + 'resource': {'type': 'a', 'id': ' \x00\x00'}, + 'action': {'type': 'Action', 'id': 'j'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ' \x00\x00'}, + 'resource': {'type': 'a', 'id': ' \x00\x00'}, + 'action': {'type': 'Action', 'id': 'j'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ' \x00\x00'}, + 'resource': {'type': 'a', 'id': ' \x00\x00'}, + 'action': {'type': 'Action', 'id': 'j'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ' \x00\x00'}, + 'resource': {'type': 'a', 'id': ' \x00\x00'}, + 'action': {'type': 'Action', 'id': 'j'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6af53a1267dedc8cca5e2bcf8053e0004bbe90c7': { + 'name': '6af53a1267dedc8cca5e2bcf8053e0004bbe90c7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'J0000000': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['J0000000'], + 'principalTypes': ['J0000000'], + 'context': { + 'type': 'Record', + 'attributes': { + 'FYkdqhY0000000': {'type': 'String', 'required': false}, + 'Famklwww': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'J0000000', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'J0000000', 'id': ''}, + 'resource': {'type': 'J0000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Famklwww': '', 'FYkdqhY0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '74fc6528dec498d8409c8a72a7f24be4f27e1888': { + 'name': '74fc6528dec498d8409c8a72a7f24be4f27e1888', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::";;;\\u{7f}\\0\\0",\n action in [Action::"action"],\n resource == a::";;;\\u{7f}\\0\\0"\n) when {\n ((true && (resource == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'g'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'resource': {'type': 'a', 'id': ';;;\x7F\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ec1d94aec00ec1a3d5cd078475d0dc3a76510011': { + 'name': 'ec1d94aec00ec1a3d5cd078475d0dc3a76510011', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::"yyyyy"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'yyyyy'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'yyyyy'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'yyyyy'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'yyyyy'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e7458302450d25b602e878ab27e3e460a03ce21d': { + 'name': 'e7458302450d25b602e878ab27e3e460a03ce21d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && A::"") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3208960eba87a93d580d9f308e89b94716cb1c4d': { + 'name': '3208960eba87a93d580d9f308e89b94716cb1c4d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'I': {'type': 'Boolean', 'required': false}, + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': false, 'I': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1e92f99bd2bca10ab16f9f78768fdd849c1f930a': { + 'name': '1e92f99bd2bca10ab16f9f78768fdd849c1f930a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::""\n) when {\n true && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0199370f4834c9c70ceb5837b847673e05b4d111': { + 'name': '0199370f4834c9c70ceb5837b847673e05b4d111', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['Vhhhhhhkkkkkkkkki'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Vhhhhhhkkkkkkkkki': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vhhhhhhkkkkkkkkki'], + 'principalTypes': ['Vhhhhhhkkkkkkkkki'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '542c42d5e27ea598981872d3dea68f2cc892fe2a': { + 'name': '542c42d5e27ea598981872d3dea68f2cc892fe2a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '587a433cf9916b10d67701bc8d26db33fcd7e178': { + 'name': '587a433cf9916b10d67701bc8d26db33fcd7e178', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '77860eec88dc6c6ebe6d152e2f31aecfef2c8ef0': { + 'name': '77860eec88dc6c6ebe6d152e2f31aecfef2c8ef0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':\n::'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::A'}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::A'}, + 'resource': {'type': 'a', 'id': ':::A'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dfd37ed0bcf4cef38164ef8af5886926a08151ac': { + 'name': 'dfd37ed0bcf4cef38164ef8af5886926a08151ac', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00#\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c62cb36b5454c8f63855d5c424ff8232c048da87': { + 'name': 'c62cb36b5454c8f63855d5c424ff8232c048da87', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"I\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'I\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'I\x00'}, + 'resource': {'type': 'a', 'id': 'I\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'I\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9868018f65ba67ab04238d0cd84e657bcfd2e4c2': { + 'name': '9868018f65ba67ab04238d0cd84e657bcfd2e4c2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource == a::""\n) when {\n false && (!principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'cb4b59edfc9f9d6201f583176e0a6cf4445aafe4': { + 'name': 'cb4b59edfc9f9d6201f583176e0a6cf4445aafe4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && (if (if (if principal then principal else principal) then principal else principal) then principal else principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ee1fa449052339701d1c55068e63f92c7db896b8': { + 'name': 'ee1fa449052339701d1c55068e63f92c7db896b8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n (true && Action::"action") && (!Action::"action")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8d633bca2c9c6d3ba3b0094c47a6e64372d84f59': { + 'name': '8d633bca2c9c6d3ba3b0094c47a6e64372d84f59', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0\\0",\n action,\n resource\n) when {\n ((true && context) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '16cfd4b64989cfb9967626b279b90ef46cf8fe5d': { + 'name': '16cfd4b64989cfb9967626b279b90ef46cf8fe5d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bsmm': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Bsmm': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9121208cfdb1a32bc3faea9856ccdee0de923e7f': { + 'name': '9121208cfdb1a32bc3faea9856ccdee0de923e7f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (false <= (!(!context)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a90bb06aa3fe36f3f82b8ab373d3a9eeba170538': { + 'name': 'a90bb06aa3fe36f3f82b8ab373d3a9eeba170538', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\0",\n action,\n resource == a::"\\0"\n) when {\n true && a::"zK\\0\\0\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f4b03c556b4f95cb09e10aacf145e4d2e8c15bcd': { + 'name': 'f4b03c556b4f95cb09e10aacf145e4d2e8c15bcd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource == a::""\n) when {\n (true && "") && "\\r\\u{5}\\u{5}"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '56aaf321d34a8330373a5a4c21c140bd6e330cd2': { + 'name': '56aaf321d34a8330373a5a4c21c140bd6e330cd2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action"],\n resource == a::"00"\n) when {\n true && ((!(!principal)) == (!(!principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f207e038d0f3cb47d1d6a287417251c61f5ccd43': { + 'name': 'f207e038d0f3cb47d1d6a287417251c61f5ccd43', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::""\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0a451e320de150e9a7bcfbaa0b1c3256e4025cec': { + 'name': '0a451e320de150e9a7bcfbaa0b1c3256e4025cec', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + }, + 't': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'resource': {'type': 'a', 'id': 'd\x00\x00\x00\x00\x000\x00\x00\x03'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'t': false, 'r': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b948b6c95baeb0f32fff0171c4032ae9a99a585c': { + 'name': 'b948b6c95baeb0f32fff0171c4032ae9a99a585c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action == Action::"action",\n resource == a::"\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'Й'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'F/'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0ff6d747c763a5a1c6266cb4a4e7ae80cc8d6234': { + 'name': '0ff6d747c763a5a1c6266cb4a4e7ae80cc8d6234', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n (true && (principal in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '6'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e2936934f407e850db2cd8ac2673cf9b5ff22edb': { + 'name': 'e2936934f407e850db2cd8ac2673cf9b5ff22edb', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'V'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'V'}, + 'resource': {'type': 'a', 'id': 'V'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ec4254b1a4ee88e6658d26a5e0ff9e9da959177f': { + 'name': 'ec4254b1a4ee88e6658d26a5e0ff9e9da959177f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (((principal == principal) || principal) || principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '69ca4af315a692202dd173f97a2332896d49e692': { + 'name': '69ca4af315a692202dd173f97a2332896d49e692', + 'schema_json': { + 'r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in r::a::"",\n action == r::Action::"action",\n resource in r::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::a', 'id': ''}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::a', 'id': ''}, + 'resource': {'type': 'r::a', 'id': ''}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::a', 'id': ''}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::a', 'id': '\x00'}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::a', 'id': '\x00'}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::a', 'id': '\x00'}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::a', 'id': '\x00'}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::a', 'id': '\x00'}, + 'resource': {'type': 'r::a', 'id': '\x00'}, + 'action': {'type': 'r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3ad80e815e9862d1c3e514155ac87ae740a19216': { + 'name': '3ad80e815e9862d1c3e514155ac87ae740a19216', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"::\\0\\0\\u{1}\\0\\0C",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'resource': {'type': 'a', 'id': '::\x00\x00\x01\x00\x00C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '608d5552565e6c5dd6d1263ae298a28d7ac6b76d': { + 'name': '608d5552565e6c5dd6d1263ae298a28d7ac6b76d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}\\u{2}\\u{2}\\u{2}com/fast,er",\n action == Action::"action",\n resource == a::"\\u{2}\\u{2}\\u{2}\\u{2}com/fast,er"\n) when {\n (true && (((principal == principal) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'resource': {'type': 'a', 'id': '\x02\x02\x02\x02com/fast,er'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '731d19cc28b9abfb181b66e4ad631dfcdda2790c': { + 'name': '731d19cc28b9abfb181b66e4ad631dfcdda2790c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'resource': {'type': 'a', 'id': 'FF\x06\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '88dfaaec78187b7e68e9ddd7ba4772e5786c89bd': { + 'name': '88dfaaec78187b7e68e9ddd7ba4772e5786c89bd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && resource) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3c0a85d7813bf5e4eda9f5d796c838025e1e3695': { + 'name': '3c0a85d7813bf5e4eda9f5d796c838025e1e3695', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '811009a9dc094ed3d54cade9ae525f147f457dd2': { + 'name': '811009a9dc094ed3d54cade9ae525f147f457dd2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'm8wwwwwwwww': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['m8wwwwwwwww'], + 'principalTypes': ['m8wwwwwwwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm8wwwwwwwww', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm8wwwwwwwww', 'id': ''}, + 'resource': {'type': 'm8wwwwwwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eca483a27ff569d3800dbb3800d017cc1cd22fec': { + 'name': 'eca483a27ff569d3800dbb3800d017cc1cd22fec', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::"035043\$\\0\\0"\n) when {\n (false && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd3da33d57bbf524986b5ad8e9c77e862b1c60394': { + 'name': 'd3da33d57bbf524986b5ad8e9c77e862b1c60394', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::"ꗗ"\n) when {\n ((true && "") && ((principal like "") == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'eaac8c3e94a8abdf6d8ddcae599dfe50a51b2cd4': { + 'name': 'eaac8c3e94a8abdf6d8ddcae599dfe50a51b2cd4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bf5e387dee17b1c906a9b53c95f4752441d5f4e9': { + 'name': 'bf5e387dee17b1c906a9b53c95f4752441d5f4e9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'resource': {'type': 'a', 'id': 'ffffffff*fffffffffffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '352f0318003a5f7405d9be4285bcad0e73234cff': { + 'name': '352f0318003a5f7405d9be4285bcad0e73234cff', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhhh'], + 'principalTypes': ['Kfhhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': { + 'ukkkkJ002kkkk': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'ukkkkJ002kkkk': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '595d053969ab751cfa9df38e096805ffcafb1e2d': { + 'name': '595d053969ab751cfa9df38e096805ffcafb1e2d', + 'schema_json': { + 'KAxx0xn': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\tzzz~z2zzz': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\t\t\t\t\t\t\t\t\t\t': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'KAxx0xn::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'KAxx0xn::a', 'id': ''}, + 'resource': {'type': 'KAxx0xn::a', 'id': ''}, + 'action': {'type': 'KAxx0xn::Action', 'id': '\tzzz~z2zzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c846886fb46344cb1ed2440eb7d9159e714fd488': { + 'name': 'c846886fb46344cb1ed2440eb7d9159e714fd488', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00', 'type': 'a'} + }, + { + '__entity': {'id': 'f\x03\x00\x00\x00', 'type': 'a'} + } + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'f\x03\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fcc4ead5e89eb1f4cc6a1e756cbb4c377fe8f573': { + 'name': 'fcc4ead5e89eb1f4cc6a1e756cbb4c377fe8f573', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'dyyUIKldYqrc': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'l/ja': {'appliesTo': null, 'memberOf': null}, + 'ks': { + 'appliesTo': { + 'resourceTypes': ['dyyUIKldYqrc'], + 'principalTypes': ['dyyUIKldYqrc'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'dyyUIKldYqrc', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': 'l/ja'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0a7286518e9d6c03de240d7e672e4412411473f8': { + 'name': '0a7286518e9d6c03de240d7e672e4412411473f8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ea66114dfde4a1054167ad3842044654009871f0': { + 'name': 'ea66114dfde4a1054167ad3842044654009871f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'WjjX': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'WjjX': [20319465336092214, 28823050459807744] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'cb37f1c7f23871d56b18153d9f46612f39189a65': { + 'name': 'cb37f1c7f23871d56b18153d9f46612f39189a65', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06`'}, + 'resource': {'type': 'a', 'id': '\x06`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8070f300740c1204c67346b23b10d4c86ccb744e': { + 'name': '8070f300740c1204c67346b23b10d4c86ccb744e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false}, + 'w': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '', 'w': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '17668072f20aabadd9a184797bf67efb9c07ad98': { + 'name': '17668072f20aabadd9a184797bf67efb9c07ad98', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n ((true && ((a::"".contains(principal)) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5746644b95d1d90914158aae1f95a3df07def303': { + 'name': '5746644b95d1d90914158aae1f95a3df07def303', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '33a0d4d7f76a06f43f5fd89a323855b98dd33630': { + 'name': '33a0d4d7f76a06f43f5fd89a323855b98dd33630', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\n\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\n\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\n\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0869650f3af53764ac1783c8e7e6d57b54114ec5': { + 'name': '0869650f3af53764ac1783c8e7e6d57b54114ec5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': { + 'type': 'a', + 'id': '\x00\x00\x00\x00fffffF\x00\x00\x00\x00\x00\x00ffffff\x00\x00' + }, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '73693c4e67eec37a551e7aab906e26bdaf479475': { + 'name': '73693c4e67eec37a551e7aab906e26bdaf479475', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + '\x02\x00\x00:': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': {}}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {'A': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '06e93ed14b5d21cc49f2e9e5ec072467bb247284': { + 'name': '06e93ed14b5d21cc49f2e9e5ec072467bb247284', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x04'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1e5a9bd1fc711d24a412baf0ab811a2052bb4e9b': { + 'name': '1e5a9bd1fc711d24a412baf0ab811a2052bb4e9b', + 'schema_json': { + 'm': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'm::a', 'id': 'l/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm::a', 'id': 'l/'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'm::a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'm::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c3a88a8bb1f154853a4c0b04e2cd2443f650d71f': { + 'name': 'c3a88a8bb1f154853a4c0b04e2cd2443f650d71f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'nO8888hI': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['nO8888hI'], + 'principalTypes': ['nO8888hI'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Fwwwwwwq': {'type': 'String', 'required': false}, + 'i': {'type': 'String', 'required': false}, + 'o': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'nO8888hI', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'nO8888hI', 'id': ''}, + 'resource': {'type': 'nO8888hI', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwwq': '', 'i': '', 'o': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f41321feed22551dbe7cc85bb128b3b103968a1c': { + 'name': 'f41321feed22551dbe7cc85bb128b3b103968a1c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && (true == 0)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd49b906de5b1bb46479ccc6d660b3a56205d46e2': { + 'name': 'd49b906de5b1bb46479ccc6d660b3a56205d46e2', + 'schema_json': { + 'R::B::AJ1f': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'x': { + 'type': 'Entity', + 'name': 'R::B::AJ1f::a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'attrs': { + 'x': { + '__entity': {'id': 'f', 'type': 'R::B::AJ1f::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'R::B::AJ1f::a', 'id': ''}, + 'attrs': { + 'x': { + '__entity': {'id': 'f', 'type': 'R::B::AJ1f::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'resource': {'type': 'R::B::AJ1f::a', 'id': 'f'}, + 'action': {'type': 'R::B::AJ1f::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a792445aa92865caed7a3bfd0f1daed35d6c28cd': { + 'name': 'a792445aa92865caed7a3bfd0f1daed35d6c28cd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"R",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'RRRR'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RRRR'}, + 'resource': {'type': 'a', 'id': 'RRRR'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c741999c22aeadc0ebf9ec3ba1f3fc2a8c0089ee': { + 'name': 'c741999c22aeadc0ebf9ec3ba1f3fc2a8c0089ee', + 'schema_json': { + 'vt::A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'xdddRRRSd': { + 'type': 'Entity', + 'name': 'vt::A::a', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'vt::A::a', 'id': 'fF'}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fF', 'type': 'vt::A::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'vt::A::a', 'id': 'ff\x00'}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fF', 'type': 'vt::A::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'vt::A::a', 'id': 'f'}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fF', 'type': 'vt::A::a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'vt::A::a', 'id': ''}, + 'attrs': { + 'xdddRRRSd': { + '__entity': {'id': 'fF', 'type': 'vt::A::a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'vt::A::a', 'id': 'fF'}, + 'resource': {'type': 'vt::A::a', 'id': 'fF'}, + 'action': {'type': 'vt::A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0a6e9d198c15f603144afd42693151c4f63c4f15': { + 'name': '0a6e9d198c15f603144afd42693151c4f63c4f15', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '620f1df31b84511fd971e742e30ca6a7154d3fce': { + 'name': '620f1df31b84511fd971e742e30ca6a7154d3fce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@G6000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'resource': {'type': 'a', 'id': '\n\x06\n\x06󅅈\x05\x06@\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5e75403e4dd3959be0326292d1070386da5a1e37': { + 'name': '5e75403e4dd3959be0326292d1070386da5a1e37', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{2}s\\0\\0\\0",\n action == Action::"action",\n resource == a::"\\u{2}s\\0\\0\\0"\n) when {\n true && ((principal == principal).lessThan(principal, principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02s\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'dbd6a16ed5b85032a68658f06177c34f6df00014': { + 'name': 'dbd6a16ed5b85032a68658f06177c34f6df00014', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'zjj': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Wjjjjjjjjukkkk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['zjj'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['Wjjjjjjjjukkkk', 'zjj'], + 'principalTypes': ['r', 'zjj'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'zjj', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'zjj', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'Wjjjjjjjjukkkk', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc0fd67ace59edf84c2d95fce4f8836571d6ac18': { + 'name': 'bc0fd67ace59edf84c2d95fce4f8836571d6ac18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (true && "q") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ac51e0917f706a71e24ebaacd4689e15b0c9b6bf': { + 'name': 'ac51e0917f706a71e24ebaacd4689e15b0c9b6bf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Fwwwwwww': {'type': 'String', 'required': false}, + 'G0b000wwhhhhhh': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fwwwwwww': '', 'G0b000wwhhhhhh': {}}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8b6ca5e1fd6e3a0e977cddc8421b6566261e8147': { + 'name': '8b6ca5e1fd6e3a0e977cddc8421b6566261e8147', + 'schema_json': { + 'nww_ww00000': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@f("")\nforbid(\n principal in nww_ww00000::a::"",\n action,\n resource in nww_ww00000::a::""\n) when {\n (true && (!principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'nww_ww00000::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'nww_ww00000::a', 'id': ''}, + 'resource': {'type': 'nww_ww00000::a', 'id': ''}, + 'action': {'type': 'nww_ww00000::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '22b12bec5e1fe2fbc923f91bf85875f7f8a4ddc4': { + 'name': '22b12bec5e1fe2fbc923f91bf85875f7f8a4ddc4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && "") && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '155fc431b6957914aa4b850fb121510f470d316f': { + 'name': '155fc431b6957914aa4b850fb121510f470d316f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00%\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eff2557e80c650481f9850bc32dbd8a483ef8077': { + 'name': 'eff2557e80c650481f9850bc32dbd8a483ef8077', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (true.isInRange(principal, principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ba4d87ce7c6c3bca381073a32ddf47de29f6c23a': { + 'name': 'ba4d87ce7c6c3bca381073a32ddf47de29f6c23a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource == a::"\\u{2}1"\n) when {\n (true && ((false == (false == false)) == ((false == principal) == principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3f61d3cf86466ac28b1895e4661050b46903c7a8': { + 'name': '3f61d3cf86466ac28b1895e4661050b46903c7a8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"00",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': "\x00W\x00@jj'\x00"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8b020ba7898af3bc24d8367ad128ab0fa1f2459b': { + 'name': '8b020ba7898af3bc24d8367ad128ab0fa1f2459b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\n@xG700000000000000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\x00\x00F'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6fa62d99a95be2f5acd33b1d6072299cfab24505': { + 'name': '6fa62d99a95be2f5acd33b1d6072299cfab24505', + 'schema_json': { + 'r::W::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::W::r::a::"",\n action in [r::W::r::Action::"action"],\n resource == r::W::r::a::""\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'r::W::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::W::r::a', 'id': ''}, + 'resource': {'type': 'r::W::r::a', 'id': ''}, + 'action': {'type': 'r::W::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e00736daebe04bcfd20e6c0fd965104fd55ef5c0': { + 'name': 'e00736daebe04bcfd20e6c0fd965104fd55ef5c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"%"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '%'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '%'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '%'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '%'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2a970a29a476251738d85165757de0a961c68f7b': { + 'name': '2a970a29a476251738d85165757de0a961c68f7b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'resource': {'type': 'a', 'id': ' \x00\x00\x1Bffgff00000066791035\$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '419f064ced0e79f8e26a9d482d1201c68c3b8dfa': { + 'name': '419f064ced0e79f8e26a9d482d1201c68c3b8dfa', + 'schema_json': { + 'A0ww': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Entity', 'name': 'A0ww::a', 'required': true}, + 'FwZwwwwammk': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A0ww::a', 'id': ''}, + 'attrs': { + 'F': { + '__entity': {'id': '', 'type': 'A0ww::a'} + }, + 'FwZwwwwammk': false + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A0ww::a', 'id': ''}, + 'resource': {'type': 'A0ww::a', 'id': ''}, + 'action': {'type': 'A0ww::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5957f6406f64415729cbdfb64df1aed9e55091aa': { + 'name': '5957f6406f64415729cbdfb64df1aed9e55091aa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"(0",\n action in [Action::"action",Action::"action"],\n resource == a::"(0"\n) when {\n true && (!((!false) in a::"(0"))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '(0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '(0'}, + 'resource': {'type': 'a', 'id': '(0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e394f695a1aa025b2d33cd869402a81812088afd': { + 'name': 'e394f695a1aa025b2d33cd869402a81812088afd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"",\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '+'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '+'}, + 'resource': {'type': 'a', 'id': '+'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '2239b21f34c47ce718869777f6bec7341de7e0b8': { + 'name': '2239b21f34c47ce718869777f6bec7341de7e0b8', + 'schema_json': { + 'r::Fwww::r': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'qiw8www1': { + 'memberOfTypes': ['A'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['qiw8www1', 'A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::Fwww::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::Fwww::r::A', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::Fwww::r::A', 'id': ''}, + 'resource': {'type': 'r::Fwww::r::qiw8www1', 'id': ''}, + 'action': {'type': 'r::Fwww::r::Action', 'id': 'action'}, + 'context': {'E': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '44f3f0390a09debab2c1b5cddb98335b930d4ec1': { + 'name': '44f3f0390a09debab2c1b5cddb98335b930d4ec1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '18143877edec804d9108a7f1030dd6bf625d2f96': { + 'name': '18143877edec804d9108a7f1030dd6bf625d2f96', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'A': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'attrs': {'A': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00\x00sun/ni'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a84c37ed3ee621ef38fd0620cda673cc3c76ba93': { + 'name': 'a84c37ed3ee621ef38fd0620cda673cc3c76ba93', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'resource': {'type': 'a', 'id': 'F\x00RR\x00R'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '05e9688d1657ab7c11fe5e9cab8cd3bdeabf40a7': { + 'name': '05e9688d1657ab7c11fe5e9cab8cd3bdeabf40a7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vhhhh8hhkkkkkkkkk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Vhhhh8hhkkkkkkkkk'], + 'principalTypes': ['Vhhhh8hhkkkkkkkkk'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'resource': {'type': 'Vhhhh8hhkkkkkkkkk', 'id': '.'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '01a2a267879d14f88be8deb00f1ad2c8bc504daf': { + 'name': '01a2a267879d14f88be8deb00f1ad2c8bc504daf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action",Action::"action"],\n resource == a::"\\0"\n) when {\n true && (("\\u{1}j".contains(a::"\\0")) in (principal.containsAll(principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '41ffe03150bfedb110650a025dfc3cbf1026144c': { + 'name': '41ffe03150bfedb110650a025dfc3cbf1026144c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource in a::"j\\u{1}\\0\\0\\0r"\n) when {\n true && (principal.lessThan(principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j\x01\x00\x00\x00r'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'd07bc0de4ce3765c0db88eaa29075e491c9924d1': { + 'name': 'd07bc0de4ce3765c0db88eaa29075e491c9924d1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'om/f': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'saik0': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'sterxm\x02\x02\x02\x02\x02comu/': { + 'appliesTo': null, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'om/f'}, + 'context': {'saik0': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8862544c9190cd90ebfc98eeee8fc0482628730f': { + 'name': '8862544c9190cd90ebfc98eeee8fc0482628730f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"j",\n action in [Action::"action"],\n resource in a::"j"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7284584f3d64e4a462729a2952f283b5a6bfe3ea': { + 'name': '7284584f3d64e4a462729a2952f283b5a6bfe3ea', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (Action::"action".isMulticast())) && a::"") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '91f9c787d43b0c5facb2f8ec16ce02056fde8bc9': { + 'name': '91f9c787d43b0c5facb2f8ec16ce02056fde8bc9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'zzzz': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"zzzz",\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'zzzz'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e7e490b93e58425f8e95e6aee6d923326c465b36': { + 'name': 'e7e490b93e58425f8e95e6aee6d923326c465b36', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f9038335a4482bba1a886183685e4de56fd62a10': { + 'name': 'f9038335a4482bba1a886183685e4de56fd62a10', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (if (if (234 in principal) then principal else principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5a5458bd79d848abfeaaf047832375983b281840': { + 'name': '5a5458bd79d848abfeaaf047832375983b281840', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '', 'type': 'a'} + } + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '\x03\x00\x00n/', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + } + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'resource': {'type': 'a', 'id': '\x03\x00\x00n/'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ebd1f29e70f34ab27a95201a43d2a72cd392b266': { + 'name': 'ebd1f29e70f34ab27a95201a43d2a72cd392b266', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@P("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FF'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '169db4c31a471e0e6e4fa5eab01e3edf73aeb2af': { + 'name': '169db4c31a471e0e6e4fa5eab01e3edf73aeb2af', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@b("")\n@m("")\n@q("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '39c55e64c93a32d13ae513181176d1769f7c9a61': { + 'name': '39c55e64c93a32d13ae513181176d1769f7c9a61', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'nF000000': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['nF000000'], + 'principalTypes': ['nF000000'], + 'context': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'String', 'required': false}, + 'M': {'type': 'String', 'required': false}, + 'M24xwwwwwwwwn00': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'nF000000', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'nF000000', 'id': ''}, + 'resource': {'type': 'nF000000', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'M': '', 'M24xwwwwwwwwn00': '', 'r': '', 'F': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca6bf4ceb4c21f136ef5564dc649eaabe796d2af': { + 'name': 'ca6bf4ceb4c21f136ef5564dc649eaabe796d2af', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && "") && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x04'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x04'}, + 'resource': {'type': 'a', 'id': '\x04'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2b4f5976ba2de3e7a4113188816841635e7ce9ef': { + 'name': '2b4f5976ba2de3e7a4113188816841635e7ce9ef', + 'schema_json': { + 'r::l77::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == r::l77::r::a::"",\n action in [r::l77::r::Action::"action",r::l77::r::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::l77::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::l77::r::a', 'id': ''}, + 'resource': {'type': 'r::l77::r::a', 'id': ''}, + 'action': {'type': 'r::l77::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ecadbd80f49ec54cc7231bc5bdf865903407c506': { + 'name': 'ecadbd80f49ec54cc7231bc5bdf865903407c506', + 'schema_json': { + 'r::r::r::r::r33::r::r::V::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'resource': {'type': 'r::r::r::r::r33::r::r::V::r::a', 'id': ''}, + 'action': { + 'type': 'r::r::r::r::r33::r::r::V::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e233918b812003894eaadf8eb48360bcbe08e55f': { + 'name': 'e233918b812003894eaadf8eb48360bcbe08e55f', + 'schema_json': { + 'r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'w': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['w'], + 'principalTypes': ['w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '\x06\x06': { + 'appliesTo': { + 'resourceTypes': ['w'], + 'principalTypes': ['w'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::w', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::w', 'id': ''}, + 'resource': {'type': 'r::r::r::w', 'id': ''}, + 'action': {'type': 'r::r::r::Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '97848837a6cfe6fcf5837958fb701bc558be2db9': { + 'name': '97848837a6cfe6fcf5837958fb701bc558be2db9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '..': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + ')': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'J': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '..'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '812182cd4ad1e94be57a6309c88dd2d69d5fffaf': { + 'name': '812182cd4ad1e94be57a6309c88dd2d69d5fffaf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n (true && (context || 0)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '39a6b7a23a22c49ff6d3b49e0ef9c41840c07441': { + 'name': '39a6b7a23a22c49ff6d3b49e0ef9c41840c07441', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::"00"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f7a661059947830ab159b0ed8f0093f339a49d7d': { + 'name': 'f7a661059947830ab159b0ed8f0093f339a49d7d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && (principal in 822148866)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '15ed02adbd72854bf697fbfac04efd194b01775f': { + 'name': '15ed02adbd72854bf697fbfac04efd194b01775f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{2}\\"0",\n action in [Action::"",Action::"",Action::""],\n resource == a::"\\u{2}\\"0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02"0'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02"0'}, + 'resource': {'type': 'a', 'id': '\x02"0'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '960d3e9de3aa8f15b17f855ffd831ac8c1b9632f': { + 'name': '960d3e9de3aa8f15b17f855ffd831ac8c1b9632f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && (principal.contains(Action::"action"))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '03bd38f3357bc4079ecf1dc9fff65f6c695727fd': { + 'name': '03bd38f3357bc4079ecf1dc9fff65f6c695727fd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && (if context then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7d64278cfdc6c47035c40e414192bf0eef7028ad': { + 'name': '7d64278cfdc6c47035c40e414192bf0eef7028ad', + 'schema_json': { + 's': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == s::a::"\\0\\0\\0\\0\\0\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 's::a', 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 's::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': {'type': 's::a', 'id': ''}, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'resource': { + 'type': 's::a', + 'id': '\x00\x00\x00\x00\x00\x00\x00\x00\x00' + }, + 'action': {'type': 's::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5ca000e7f1540ba4c90f6a110288612212e12707': { + 'name': '5ca000e7f1540ba4c90f6a110288612212e12707', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::""\n) when {\n ((true && (((if a::"" then a::"" else principal) && principal) && principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b16e13e2dfb0404e1fc0caa0e0abede544de5cbd': { + 'name': 'b16e13e2dfb0404e1fc0caa0e0abede544de5cbd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3dfc706ec30800296e59c197bc0b57cca67e690a': { + 'name': '3dfc706ec30800296e59c197bc0b57cca67e690a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::"`"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '`'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '`'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f707e8530a96bd2a58b8de7b480670ffdbd34902': { + 'name': 'f707e8530a96bd2a58b8de7b480670ffdbd34902', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n ((true && (((-("")) == (-(false))) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e8740bccf611aacef35d92682b472b951ccdb86e': { + 'name': 'e8740bccf611aacef35d92682b472b951ccdb86e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n (true && Action::"action") && (!a::"")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '8a64bf3f47fc1c97d27efe16e9cf12d469ab65e3': { + 'name': '8a64bf3f47fc1c97d27efe16e9cf12d469ab65e3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'OllJJJJJw': {'type': 'Boolean', 'required': false}, + 'w': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'OllJJJJJw': false, + 'w': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'R'}, + 'attrs': { + 'OllJJJJJw': false, + 'w': { + '__entity': {'id': '', 'type': 'a'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1755a63e1055ea02e36e593a0c57620b26341c5f': { + 'name': '1755a63e1055ea02e36e593a0c57620b26341c5f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '351318d1185cadb972352f0fd6df3a6801b6df44': { + 'name': '351318d1185cadb972352f0fd6df3a6801b6df44', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'W': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['W'], + 'principalTypes': ['W'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in W::"\\0\\0",\n action in [Action::"action"],\n resource\n) when {\n ((true && (!(!(!lbwwwQw00000000::"")))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'W', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W', 'id': '\x00\x00'}, + 'resource': {'type': 'W', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '78e6dc287b333b74145e3812acca38315b888cd5': { + 'name': '78e6dc287b333b74145e3812acca38315b888cd5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true && (a::"00" == (!(!principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '39825f1656b5b6b58d6ab231ac5592c55781c0ba': { + 'name': '39825f1656b5b6b58d6ab231ac5592c55781c0ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n true && (!(!false))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '79ff59936ed79973c005e36c9ef55c5326d9ce66': { + 'name': '79ff59936ed79973c005e36c9ef55c5326d9ce66', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'F_wxwwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Cw_wxwww': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '7': { + 'appliesTo': { + 'resourceTypes': ['F_wxwwww'], + 'principalTypes': ['F_wxwwww'], + 'context': { + 'type': 'Record', + 'attributes': { + 'vh00000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'F_wxwwww', 'id': ''}, + 'attrs': {'Cw_wxwww': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'F_wxwwww', 'id': ''}, + 'resource': {'type': 'F_wxwwww', 'id': ''}, + 'action': {'type': 'Action', 'id': '7'}, + 'context': {'vh00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2315fa6f8a865d109cc7e2da855040ee80099c9b': { + 'name': '2315fa6f8a865d109cc7e2da855040ee80099c9b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'D': {'type': 'Boolean', 'required': false}, + 'oAK': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'D': false, 'A': false, 'oAK': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::::::'}, + 'attrs': {'D': false, 'oAK': false, 'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::::::'}, + 'resource': {'type': 'a', 'id': '::::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc1c8b6f90bf849e3adc20f2b2e24ccd1c128465': { + 'name': 'bc1c8b6f90bf849e3adc20f2b2e24ccd1c128465', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'C': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x02': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'c': { + 'appliesTo': { + 'resourceTypes': null, + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'C': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '564c7b55a6b59d2d4cdffbc67edae64efe5ac1f7': { + 'name': '564c7b55a6b59d2d4cdffbc67edae64efe5ac1f7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && "") && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '30ecdc4abf5662a82a7f8503418b11e737369800': { + 'name': '30ecdc4abf5662a82a7f8503418b11e737369800', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'Fk9': {'type': 'String', 'required': false}, + 'r': {'type': 'Boolean', 'required': false}, + 'r3310': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Fk9': '', 'A': '', 'r3310': false, 'r': false}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '423fe689c6591ef101c51473492bd596e3d5ffce': { + 'name': '423fe689c6591ef101c51473492bd596e3d5ffce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource == a::"C"\n) when {\n (true && ("" < "")) && (!false)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'C'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'C'}, + 'resource': {'type': 'a', 'id': 'C'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '47f7c26628392440b88712bd642da9881e829fd1': { + 'name': '47f7c26628392440b88712bd642da9881e829fd1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A(":*")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::'}, + 'resource': {'type': 'a', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b24ab34a4e77453be45d5743cce301254b9d4f70': { + 'name': 'b24ab34a4e77453be45d5743cce301254b9d4f70', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n ((true && a::"") && (principal.isInRange(principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '119060b4ffba618daf4f70e4a718653493f1b3d9': { + 'name': '119060b4ffba618daf4f70e4a718653493f1b3d9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@C("")\n@p("\\u{1}\\0\\0H\\u{7f}")\npermit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '3b0cae408ac4ec7cf82e19f801891541c54f8e44': { + 'name': '3b0cae408ac4ec7cf82e19f801891541c54f8e44', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A0': [{}, {}, {}, {}] + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A0': []}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '54d561c25c3da949ee5e512f2ccd85af57ba9502': { + 'name': '54d561c25c3da949ee5e512f2ccd85af57ba9502', + 'schema_json': { + 'Gxxxxx100': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Gxxxxx100::Action::"action",Gxxxxx100::Action::"action",Gxxxxx100::Action::"action"],\n resource in Gxxxxx100::a::";"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Gxxxxx100::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'resource': {'type': 'Gxxxxx100::a', 'id': ';'}, + 'action': {'type': 'Gxxxxx100::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd86e4a3e117b0768333fa1cfb9511ef928b61e45': { + 'name': 'd86e4a3e117b0768333fa1cfb9511ef928b61e45', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource in a::"\\u{2}1"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '˴'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '94d1ab0699264fbb5eafc162905fb5200072fe87': { + 'name': '94d1ab0699264fbb5eafc162905fb5200072fe87', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"z",\n action in [Action::"action"],\n resource == a::"z"\n) when {\n (true && (!((Ahhmm::"".contains(a::"z")).contains(principal)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z'}, + 'resource': {'type': 'a', 'id': 'z'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'd360682a39bf8b9563147f3e620f51b03a765bd6': { + 'name': 'd360682a39bf8b9563147f3e620f51b03a765bd6', + 'schema_json': { + 'wttt': { + 'commonTypes': {}, + 'entityTypes': { + 'Bmii5h': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'RLjj0': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Bmii5h'], + 'principalTypes': ['RLjj0'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'wttt::RLjj0', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'wttt::Bmii5h', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'wttt::RLjj0', 'id': ''}, + 'resource': {'type': 'wttt::Bmii5h', 'id': '\x00'}, + 'action': {'type': 'wttt::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ceb5a1ff1b0982afc158333c77c32248f432b958': { + 'name': 'ceb5a1ff1b0982afc158333c77c32248f432b958', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::""\n) when {\n true && (!principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'af02ff4c4f1361b328a242db69959e408a494694': { + 'name': 'af02ff4c4f1361b328a242db69959e408a494694', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Bstvnnnmmustun_': {'type': 'String', 'required': false}, + 'C00000000000000': {'type': 'String', 'required': false}, + 'xmmXuscmstv': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'C00000000000000': '', + 'Bstvnnnmmustun_': '', + 'xmmXuscmstv': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7c942a6198f4194ccc81cf6be143dd118bc2fd29': { + 'name': '7c942a6198f4194ccc81cf6be143dd118bc2fd29', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false}, + 'Qxxx0': {'type': 'String', 'required': false}, + 'wrEajYqq': {'type': 'String', 'required': false}, + 'ylmkelbYdlwl5': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'Qxxx0': '', 'wrEajYqq': '', 'E': '', 'ylmkelbYdlwl5': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '2f5bd936f79ec4730edf3ff478298079d0f1c774': { + 'name': '2f5bd936f79ec4730edf3ff478298079d0f1c774', + 'schema_json': { + 'C22': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'C22::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C22::a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'C22::a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': '\x00\x00'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'C22::a', 'id': '\x00\x00'}, + 'resource': {'type': 'C22::a', 'id': '\x00\x00'}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'C22::a', 'id': ''}, + 'resource': {'type': 'C22::a', 'id': ''}, + 'action': {'type': 'C22::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c58bd14e00106a71304c6235f5086baf3967b3c0': { + 'name': 'c58bd14e00106a71304c6235f5086baf3967b3c0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{10}0",\n action in [Action::"action",Action::"action"],\n resource == a::"\\u{10}0"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x100'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x100'}, + 'resource': {'type': 'a', 'id': '\x100'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'c1884023c6fee7b6a8d8b93dd10119065e46edfd': { + 'name': 'c1884023c6fee7b6a8d8b93dd10119065e46edfd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\u{15}&",\n action == Action::"action",\n resource\n) when {\n ((true && (!(!(!Action::"action")))) && [(false == true) == principal, principal, principal, principal, principal, principal, principal]) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x15&'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x15&'}, + 'resource': {'type': 'a', 'id': '\x15&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0e16a8756b45ab3f6d4b50050ef4e20452dcf49f': { + 'name': '0e16a8756b45ab3f6d4b50050ef4e20452dcf49f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + }, + 'ukkko00Wjjjjj': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'r': {}, 'ukkko00Wjjjjj': {}}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd805f68cb4896eb79d0581c2d210692d1f2a3b2a': { + 'name': 'd805f68cb4896eb79d0581c2d210692d1f2a3b2a', + 'schema_json': { + 'A3': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == A3::a::"",\n action in [A3::Action::""],\n resource in A3::a::""\n) when {\n (true && (if (principal has "") then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A3::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A3::a', 'id': ''}, + 'resource': {'type': 'A3::a', 'id': ''}, + 'action': {'type': 'A3::Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '5fd8bf1ea231406e6a57dfbf898c91e5887b9e2a': { + 'name': '5fd8bf1ea231406e6a57dfbf898c91e5887b9e2a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '022a72e766e49cbee2a3142b67d97e199dcec2ce': { + 'name': '022a72e766e49cbee2a3142b67d97e199dcec2ce', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': { + 'F': [ + [false, false, false, false, false, false], + [false, false], + [false, false], + [], + [], + [] + ] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c46bb5bece5ee9a65e9cf7f2095446fc2b37677e': { + 'name': 'c46bb5bece5ee9a65e9cf7f2095446fc2b37677e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource in a::""\n) when {\n true && {}\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'rzjjj'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'f1218de44cefa25cec4475be3b7b4e3a8226fb37': { + 'name': 'f1218de44cefa25cec4475be3b7b4e3a8226fb37', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action,\n resource in a::""\n) when {\n (true && x::"0") && (!(!(!Eonp0::"")))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '054ed0f7d7a47846d5c8d26f0a33e25d33c14b64': { + 'name': '054ed0f7d7a47846d5c8d26f0a33e25d33c14b64', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00"\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '588a7f8910cea29398561f2d32e50317cdd7cfb5': { + 'name': '588a7f8910cea29398561f2d32e50317cdd7cfb5', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A'], + 'principalTypes': ['A'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal in A::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': '\x00\x00\x00\x00\x03\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '365807e196ad66c1db5196b3a30992ada55b6d22': { + 'name': '365807e196ad66c1db5196b3a30992ada55b6d22', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bc1eb67eb0bd87437d450690c1cb44032123b3dd': { + 'name': 'bc1eb67eb0bd87437d450690c1cb44032123b3dd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && action) && action\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'cc4b17e6930e959806dc8dfd9a31c36831009e86': { + 'name': 'cc4b17e6930e959806dc8dfd9a31c36831009e86', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'l/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'l/'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'l/'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00CCC\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a2ab8e58a33c17557a7a5ca81a40528b91f12127': { + 'name': 'a2ab8e58a33c17557a7a5ca81a40528b91f12127', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'LfhhhhKx': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\t': { + 'appliesTo': { + 'resourceTypes': ['LfhhhhKx'], + 'principalTypes': ['LfhhhhKx'], + 'context': { + 'type': 'Record', + 'attributes': { + 'ukkkJ002J002kk000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'LfhhhhKx', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'LfhhhhKx', 'id': ''}, + 'resource': {'type': 'LfhhhhKx', 'id': ''}, + 'action': {'type': 'Action', 'id': '\t'}, + 'context': {'ukkkJ002J002kk000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd3d751f8974775fad771c94efabf90348ff5c0c8': { + 'name': 'd3d751f8974775fad771c94efabf90348ff5c0c8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"RR\\0\\0",\n action == Action::"action",\n resource == a::"RR\\0\\0"\n) when {\n (true && ((("" has "") == (if principal then principal else principal)) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'RR\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'RR\x00\x00'}, + 'resource': {'type': 'a', 'id': 'RR\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '356c33ba490261b421556236cbdf3c8a78b02709': { + 'name': '356c33ba490261b421556236cbdf3c8a78b02709', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '󅅈'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': "\n'\x06"}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': "\n'\x06"}, + 'resource': {'type': 'a', 'id': "\n'\x06"}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '06d021d379ba0cc92ffbb243a9024b20a9dac326': { + 'name': '06d021d379ba0cc92ffbb243a9024b20a9dac326', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (Action::"action" in context)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '?'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6e49c3e38920168a198b70b6d04c853866146440': { + 'name': '6e49c3e38920168a198b70b6d04c853866146440', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource == a::""\n) when {\n ((true && ((principal <= Action::"action") == (principal <= principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '021d24aa9ce1072ccc65dddfcd8b1a7e375787a6': { + 'name': '021d24aa9ce1072ccc65dddfcd8b1a7e375787a6', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && (false.contains(context))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ebde68fb4f2bfaa027510c8ff74d6c727432f550': { + 'name': 'ebde68fb4f2bfaa027510c8ff74d6c727432f550', + 'schema_json': { + 'KChfhh': { + 'commonTypes': {}, + 'entityTypes': { + 'KhkkkkkkBhhhXghhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['KhkkkkkkBhhhXghhh'], + 'principalTypes': ['KhkkkkkkBhhhXghhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'resource': {'type': 'KChfhh::KhkkkkkkBhhhXghhh', 'id': ''}, + 'action': {'type': 'KChfhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '06f152a71ffade6c368d2ac46d9eb3782373911d': { + 'name': '06f152a71ffade6c368d2ac46d9eb3782373911d', + 'schema_json': { + 'cd::v': { + 'commonTypes': {}, + 'entityTypes': { + 'K': { + 'memberOfTypes': ['Qx', 'QC'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Qx': { + 'memberOfTypes': ['v'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'QC': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'v': { + 'memberOfTypes': ['QC'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['K', 'v'], + 'principalTypes': ['K', 'Qx', 'v', 'QC'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cd::v::Qx', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cd::v::QC', 'id': ''}, + {'type': 'cd::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cd::v::K', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cd::v::Qx', 'id': ''}, + {'type': 'cd::v::QC', 'id': ''}, + {'type': 'cd::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cd::v::QC', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'cd::v::v', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cd::v::QC', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cd::v::K', 'id': ''}, + 'resource': {'type': 'cd::v::K', 'id': ''}, + 'action': {'type': 'cd::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '60651d7140cea972984d740f037e2ff585b033f7': { + 'name': '60651d7140cea972984d740f037e2ff585b033f7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action"],\n resource in a::"60"\n) when {\n true && (!(true in (principal + principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '390204acdefac94867af9dd006a51a4773709753': { + 'name': '390204acdefac94867af9dd006a51a4773709753', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"0350\\u{8}\\0\\0",\n action == Action::"action",\n resource in a::"\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '05626f78ef331236ebc0b35ddddd77765e90c719': { + 'name': '05626f78ef331236ebc0b35ddddd77765e90c719', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true && (-(principal <= (false == principal)))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':q'}, + 'resource': {'type': 'a', 'id': ':q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'c4af8d81aaa78ecbd1a7548fb809518d851d4153': { + 'name': 'c4af8d81aaa78ecbd1a7548fb809518d851d4153', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwFHLDww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwFHLDww'], + 'principalTypes': ['FwFHLDww'], + 'context': { + 'type': 'Record', + 'attributes': { + 'DlodYqrcpw': { + 'type': 'Record', + 'attributes': { + 'j': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwFHLDww', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwFHLDww', 'id': ''}, + 'resource': {'type': 'FwFHLDww', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'DlodYqrcpw': {'j': ''} + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'a1ea88b1403530e6065abbeb59bbe1b3ca879fcf': { + 'name': 'a1ea88b1403530e6065abbeb59bbe1b3ca879fcf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'VhhhhhhkkkkkkkkDk': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['VhhhhhhkkkkkkkkDk'], + 'principalTypes': ['VhhhhhhkkkkkkkkDk'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'String', 'required': false}, + 'u': {'type': 'Long', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'resource': {'type': 'VhhhhhhkkkkkkkkDk', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': '', 'u': 0}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e4f01b42bb1f1e0433944ec6fec137eec4826d27': { + 'name': 'e4f01b42bb1f1e0433944ec6fec137eec4826d27', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource in a::"\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9ea64672e3bdac32c20bff3b3a0bfa8da2d9e8ba': { + 'name': '9ea64672e3bdac32c20bff3b3a0bfa8da2d9e8ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'resource': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'resource': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '170466057a2b0d393044c1cb000aea4a624cb320': { + 'name': '170466057a2b0d393044c1cb000aea4a624cb320', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource in a::""\n) when {\n true && (principal like "\\0\\0")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'fb15bae9c1989b7521bb52f5c61f7e3bc9eef686': { + 'name': 'fb15bae9c1989b7521bb52f5c61f7e3bc9eef686', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'mzzzz655R55Fz': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': false, 'mzzzz655R55Fz': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'eb94687cfe8e7a96150ffd9eb9601dc1eda7c66e': { + 'name': 'eb94687cfe8e7a96150ffd9eb9601dc1eda7c66e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n true && a::"ff\\0"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ff\x00'}, + 'resource': {'type': 'a', 'id': 'ff\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'ad12605abdad67cc856398795a680266f794494f': { + 'name': 'ad12605abdad67cc856398795a680266f794494f', + 'schema_json': { + 'Gxt833777': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in Gxt833777::a::"",\n action in [Gxt833777::Action::"action"],\n resource in Gxt833777::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxt833777::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxt833777::a', 'id': ''}, + 'resource': {'type': 'Gxt833777::a', 'id': ''}, + 'action': {'type': 'Gxt833777::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f8a2d5d79f2b1f3dc2eacb01d5716b50e3fed11a': { + 'name': 'f8a2d5d79f2b1f3dc2eacb01d5716b50e3fed11a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (((8907498.isInRange(principal)) == principal) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e755e45783716ddd668030b3bbcd09ab314184cf': { + 'name': 'e755e45783716ddd668030b3bbcd09ab314184cf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'mzzzz655R5500': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'mzzzz655R5500': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '94c7107a5e0ad11e0193f726ad3ba85db64beac0': { + 'name': '94c7107a5e0ad11e0193f726ad3ba85db64beac0', + 'schema_json': { + 'Khhkkhk': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in Khhkkhk::a::"\\r",\n action in [Khhkkhk::Action::"action",Khhkkhk::Action::"action",Khhkkhk::Action::"action"],\n resource == Khhkkhk::a::"\\r"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhkkhk::a', 'id': '.'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'resource': {'type': 'Khhkkhk::a', 'id': '\r'}, + 'action': {'type': 'Khhkkhk::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd84a7265aa02ddd517afbe801504d45528c6473b': { + 'name': 'd84a7265aa02ddd517afbe801504d45528c6473b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'zQYgop2': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '\x02': {'appliesTo': null, 'memberOf': null}, + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'C2x': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + 'c': { + 'appliesTo': { + 'resourceTypes': [], + 'principalTypes': [], + 'context': { + 'type': 'Record', + 'attributes': { + 'A0000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'zQYgop2': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': '\x02'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4ae3a45bcbd02ed275d6a4f9a1a7e3e59ad7b84f': { + 'name': '4ae3a45bcbd02ed275d6a4f9a1a7e3e59ad7b84f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{1}\\0\\0Lff\\u{10}\\u{18}",\n action == Action::"action",\n resource == a::"\\u{1}\\0\\0Lff\\u{10}\\u{18}"\n) when {\n (true && (((a::"\\u{1}\\0\\0Lff\\u{10}\\u{18}" == principal) == principal) == principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'resource': {'type': 'a', 'id': '\x01\x00\x00Lff\x10\x18'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0c0777cdd6151d7e1f444ff3ac045d45e99de86f': { + 'name': '0c0777cdd6151d7e1f444ff3ac045d45e99de86f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource\n) when {\n true && (a::"" like "")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '64ce02bf4082650dccc079322f436d4b6331fe88': { + 'name': '64ce02bf4082650dccc079322f436d4b6331fe88', + 'schema_json': { + 'r0': { + 'commonTypes': {}, + 'entityTypes': { + 'l': { + 'memberOfTypes': ['FyUw'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'FyUw': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FyUw'], + 'principalTypes': ['l', 'FyUw'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r0::l', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r0::FyUw', 'id': ''}, + {'type': 'r0::FyUw', 'id': 'j'}, + {'type': 'r0::FyUw', 'id': ':'} + ] + }, + { + 'uid': {'type': 'r0::FyUw', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r0::l', 'id': '::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r0::FyUw', 'id': ':'}, + {'type': 'r0::FyUw', 'id': 'j'}, + {'type': 'r0::FyUw', 'id': ''} + ] + }, + { + 'uid': {'type': 'r0::l', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r0::FyUw', 'id': ''}, + {'type': 'r0::FyUw', 'id': 'j'}, + {'type': 'r0::FyUw', 'id': ':'} + ] + }, + { + 'uid': {'type': 'r0::FyUw', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r0::FyUw', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r0::l', 'id': '::'}, + 'resource': {'type': 'r0::FyUw', 'id': ''}, + 'action': {'type': 'r0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1744b70eb7f065316e50f3a750afbbf6e9c242ee': { + 'name': '1744b70eb7f065316e50f3a750afbbf6e9c242ee', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"00",\n action == Action::"action",\n resource == a::"00"\n) when {\n ((true && (!principal)) && ((!principal) + principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a6f0ab11593571ef6c4ac31dff8bb1e6919548c7': { + 'name': 'a6f0ab11593571ef6c4ac31dff8bb1e6919548c7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::""],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ';'}, + 'resource': {'type': 'a', 'id': ';'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b4a367629c47a7bf4856cf0658f53e8ef6bd4012': { + 'name': 'b4a367629c47a7bf4856cf0658f53e8ef6bd4012', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Entity', 'name': 'a', 'required': true}, + 'C3vv7': {'type': 'String', 'required': false}, + 'wx': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzzzz'}, + 'attrs': { + 'A': { + '__entity': {'id': 'zzzzz', 'type': 'a'} + }, + 'C3vv7': '', + 'wx': false + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzzzz'}, + 'resource': {'type': 'a', 'id': 'zzzzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3bed68b4af7ad00f858003e793a209c2755563e6': { + 'name': '3bed68b4af7ad00f858003e793a209c2755563e6', + 'schema_json': { + 'Kxx0xnx': { + 'commonTypes': {}, + 'entityTypes': { + 'LYY': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Qm0': { + 'memberOfTypes': ['LYY'], + 'shape': { + 'type': 'Record', + 'attributes': { + 'pdml': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Qm0', 'LYY'], + 'principalTypes': ['Qm0', 'LYY'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kxx0xnx::LYY', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'attrs': {'pdml': false}, + 'parents': [ + {'type': 'Kxx0xnx::LYY', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Qm0', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '337815d620753bfc48df590b1e7e157ffd86932b': { + 'name': '337815d620753bfc48df590b1e7e157ffd86932b', + 'schema_json': { + 'r::n::r::r::r::r::r::r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'r::n::r::r::r::r::r::r::r::r::a', 'id': ''}, + 'action': { + 'type': 'r::n::r::r::r::r::r::r::r::r::Action', + 'id': 'action' + }, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b459c25a7f3d95ad0453a77d9b202e6200d675d8': { + 'name': 'b459c25a7f3d95ad0453a77d9b202e6200d675d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@n("")\n@r("")\n@v("")\n@w("")\n@y("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7af6dce0ed8937af4f3341e8d78ebb9de967563b': { + 'name': '7af6dce0ed8937af4f3341e8d78ebb9de967563b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource == a::"&"\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '&'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '&'}, + 'resource': {'type': 'a', 'id': '&'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '92fcaf60cd9ab6f3fd571755cb2c619d601bc8a1': { + 'name': '92fcaf60cd9ab6f3fd571755cb2c619d601bc8a1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n (false && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'resource': {'type': 'a', 'id': '\x00\x00FFFFFFFI'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '6b4764209b7d9aa251bf79f721ac35c9cbbd3eae': { + 'name': '6b4764209b7d9aa251bf79f721ac35c9cbbd3eae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02c'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02c'}, + 'resource': {'type': 'a', 'id': '\x02c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c6a7fb3b8b37d643ee901083e797a4b99fad0724': { + 'name': 'c6a7fb3b8b37d643ee901083e797a4b99fad0724', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\t\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '65790b525026bfd4dfe73b0657fa6c0347dd74a1': { + 'name': '65790b525026bfd4dfe73b0657fa6c0347dd74a1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\n@rY3ddddd00000000("")\n@x("fff")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f:'}, + 'resource': {'type': 'a', 'id': 'f:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3da7d9c089f2d548fbe1dc274b9ea5a81a1bd482': { + 'name': '3da7d9c089f2d548fbe1dc274b9ea5a81a1bd482', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::::'}, + 'attrs': {'F': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '>:::::'}, + 'attrs': {'F': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::\n:::'}, + 'attrs': {'F': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '>:::::'}, + 'resource': {'type': 'a', 'id': '>:::::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3304305f34656526ad76d538ca92a30f8dd7f787': { + 'name': '3304305f34656526ad76d538ca92a30f8dd7f787', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action"],\n resource in a::""\n) when {\n ((true && (principal == A000000000000000::"")) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '652a5bef11cc63fab1662853de28b7c1a3e9c1b1': { + 'name': '652a5bef11cc63fab1662853de28b7c1a3e9c1b1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"`\\0\\0\\u{7f}\\u{1}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '`\x00\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f277b9b99c1468e78466752bf5cd17b68bd2c94e': { + 'name': 'f277b9b99c1468e78466752bf5cd17b68bd2c94e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action in [],\n resource == a::"00"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '689dc32722e37c0a57f23149549981d951f5ea29': { + 'name': '689dc32722e37c0a57f23149549981d951f5ea29', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'm': { + 'memberOfTypes': ['F', 'F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F': { + 'memberOfTypes': ['F333'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'F333': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['m', 'F', 'F333'], + 'principalTypes': ['m', 'F', 'F333'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'm', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'm', 'id': ':::'}, + 'attrs': {}, + 'parents': [ + {'type': 'F', 'id': ''}, + {'type': 'F333', 'id': ''} + ] + }, + { + 'uid': {'type': 'F333', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'F', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'F333', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'm', 'id': ':::'}, + 'resource': {'type': 'm', 'id': ':::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '0302fe2400dc489f2e65e374b47c55ca6bce99b7': { + 'name': '0302fe2400dc489f2e65e374b47c55ca6bce99b7', + 'schema_json': { + 'Gxtxxxxxj': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == Gxtxxxxxj::a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'resource': {'type': 'Gxtxxxxxj::a', 'id': ''}, + 'action': {'type': 'Gxtxxxxxj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b0c3e7c0d07b08c6b94c5330ee508aa02b976d79': { + 'name': 'b0c3e7c0d07b08c6b94c5330ee508aa02b976d79', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r33': { + 'memberOfTypes': ['r', '_'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + '_': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['_'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r33', 'r', '_'], + 'principalTypes': ['r33', 'r', '_'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r33', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': '_', 'id': ''} + ] + }, + { + 'uid': {'type': '_', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': '_', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r33', 'id': ''}, + 'resource': {'type': 'r33', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '046c5a37b575d3dbabeaae9997b2f94c42061491': { + 'name': '046c5a37b575d3dbabeaae9997b2f94c42061491', + 'schema_json': { + 'A::D': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in A::D::a::"",\n action in [A::D::Action::"action",A::D::Action::"action",A::D::Action::"action"],\n resource\n) when {\n (true && (!A::D::Action::"action")) && (principal && principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'A::D::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::D::a', 'id': ''}, + 'resource': {'type': 'A::D::a', 'id': ''}, + 'action': {'type': 'A::D::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'acb3ed70ecdb5f18671b256d118caacb1cf1244c': { + 'name': 'acb3ed70ecdb5f18671b256d118caacb1cf1244c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\00",\n action in [Action::"action"],\n resource == a::"\\00"\n) when {\n true && (!context)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x000'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x000'}, + 'resource': {'type': 'a', 'id': '\x000'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '2fac6819d3964bdcc8380be582566d314be29903': { + 'name': '2fac6819d3964bdcc8380be582566d314be29903', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x03'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06'}, + 'resource': {'type': 'a', 'id': '\x06\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4de777c4c35da461f76ed7df317c337149dce7cf': { + 'name': '4de777c4c35da461f76ed7df317c337149dce7cf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0\\0\\0\\0+\\0",\n action == Action::"action",\n resource in a::"\\0\\0\\0\\0+\\0"\n) when {\n ((true && (([Action::"action"] like "") == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00+\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6f45f0b3fe354bafdcc5e920c4331321fa57780d': { + 'name': '6f45f0b3fe354bafdcc5e920c4331321fa57780d', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9d64c8d70fd82c5552208d45ae72c69f11f598d8': { + 'name': '9d64c8d70fd82c5552208d45ae72c69f11f598d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwwSw7': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['FwwSw7'], + 'principalTypes': ['FwwSw7'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwwSw7', 'id': '/f'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwwSw7', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwwSw7', 'id': ':::b::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwwSw7', 'id': ':com'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwwSw7', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwwSw7', 'id': ':::b::'}, + 'resource': {'type': 'FwwSw7', 'id': ':::b::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '638c0271cd069748ed419e5ab693efec6f5f4a01': { + 'name': '638c0271cd069748ed419e5ab693efec6f5f4a01', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{6}\\u{7f}\\u{1}",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x06\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ac7972afc0145471ebb54468d69e5ee27e3d8542': { + 'name': 'ac7972afc0145471ebb54468d69e5ee27e3d8542', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Vhhhhhhkkkkkkkkki': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'Vhhhhhhkkkkkkkkki'], + 'principalTypes': ['Vhhhhhhkkkkkkkkki'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Vhhhhhhkkkkkkkkki', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '51038eccb32802ba26926de91c3c01098fb1f5e7': { + 'name': '51038eccb32802ba26926de91c3c01098fb1f5e7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource in a::"\\u{2}1"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f874395b1712892f51078b30ab8509f92e151ac9': { + 'name': 'f874395b1712892f51078b30ab8509f92e151ac9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': false}, + 'C': {'type': 'Boolean', 'required': false}, + 'o': {'type': 'Boolean', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'o': false, 'A': false, 'C': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'ny'}, + 'attrs': {'A': false, 'o': false, 'C': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '/F'}, + 'attrs': {'A': false, 'C': false, 'o': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'daf'}, + 'attrs': {'o': false, 'C': false, 'A': false}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'P`'}, + 'attrs': {'C': false, 'A': false, 'o': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'P`'}, + 'resource': {'type': 'a', 'id': 'P`'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f26f21041f1571b342799b4ecc81b7f874cfe2f1': { + 'name': 'f26f21041f1571b342799b4ecc81b7f874cfe2f1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '....': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Ukl0200000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + '': {'appliesTo': null, 'memberOf': null}, + ')': {'appliesTo': null, 'memberOf': null}, + 'J': {'appliesTo': null, 'memberOf': null} + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': '....'}, + 'context': {'Ukl0200000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '84f41f5ea0f77e2b817e38052fd58b2593c09f9f': { + 'name': '84f41f5ea0f77e2b817e38052fd58b2593c09f9f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n ((true && [(a::"" < a::"") * 0, principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'b26b72b174aded01b6b866bbeb34751b7297733b': { + 'name': 'b26b72b174aded01b6b866bbeb34751b7297733b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && action) && a::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '16124eb0d0d15e8d7322eaaa3eff361b4dbe506a': { + 'name': '16124eb0d0d15e8d7322eaaa3eff361b4dbe506a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': {'type': 'Boolean', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action == Action::"action",\n resource in a::""\n) when {\n (true && "") && (principal.isLoopback())\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'A': false}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '7d62dbe121e6b9f46e46c164b14c997bde13304b': { + 'name': '7d62dbe121e6b9f46e46c164b14c997bde13304b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n (true && (if (if (if principal then principal else principal) then principal else principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e31f633399d05fce053acfac28313be326a1cc33': { + 'name': 'e31f633399d05fce053acfac28313be326a1cc33', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action == Action::"action",\n resource in a::"\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'e929316ac78f1b94eb94eaf5f265ebff767daa5f': { + 'name': 'e929316ac78f1b94eb94eaf5f265ebff767daa5f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'G': {'type': 'Entity', 'name': 'a', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'resource': {'type': 'a', 'id': ':::com/:::::::::\x00:'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'G': { + '__entity': {'id': ':::com/:::::::::\x00:', 'type': 'a'} + } + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9261206b02b916d38f5e063947e24c57363a865b': { + 'name': '9261206b02b916d38f5e063947e24c57363a865b', + 'schema_json': { + 'K::n::p::r::r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'resource': {'type': 'K::n::p::r::r::r::r::a', 'id': ''}, + 'action': {'type': 'K::n::p::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '71c8f2589f53af052906ae69136a7479ba446ec1': { + 'name': '71c8f2589f53af052906ae69136a7479ba446ec1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '07df51dc66ab2eaaa92c7afafc54bdf533d386a2': { + 'name': '07df51dc66ab2eaaa92c7afafc54bdf533d386a2', + 'schema_json': { + 'A': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == A::a::"\\0",\n action in [A::Action::"action",A::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'A::a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A::a', 'id': '\x00'}, + 'resource': {'type': 'A::a', 'id': '\x00'}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A::a', 'id': ''}, + 'resource': {'type': 'A::a', 'id': ''}, + 'action': {'type': 'A::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '1ecbef5a05ccc64ef430dc86f6dc9a6254170eaf': { + 'name': '1ecbef5a05ccc64ef430dc86f6dc9a6254170eaf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'A': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'RRRRRRRVRR': { + 'appliesTo': { + 'resourceTypes': ['A', 'r'], + 'principalTypes': ['A', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'A', 'id': ''}, + 'resource': {'type': 'A', 'id': ''}, + 'action': {'type': 'Action', 'id': 'RRRRRRRVRR'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6c3775c309f54696e29118db9d532a48f35f79ae': { + 'name': '6c3775c309f54696e29118db9d532a48f35f79ae', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'u': {'type': 'String', 'required': true}, + 'vdYZhC0h': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'av'}, + 'attrs': {'u': '', 'vdYZhC0h': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01\x00j'}, + 'attrs': {'vdYZhC0h': '', 'u': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j\x00'}, + 'attrs': {'u': '', 'vdYZhC0h': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'u': '', 'vdYZhC0h': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '5ee70d8b04c1d3e79596b827b8e74a3313c202af': { + 'name': '5ee70d8b04c1d3e79596b827b8e74a3313c202af', + 'schema_json': { + 'U::Gxxxx0033': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'U::Gxxxx0033::a', 'id': ';\x00\x00\x00\x00\x00'}, + 'action': {'type': 'U::Gxxxx0033::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bab94d26d2fcf63c2c0bf4c0b1d783f53ea4e52f': { + 'name': 'bab94d26d2fcf63c2c0bf4c0b1d783f53ea4e52f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::""],\n resource == a::""\n) when {\n true && Action::""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00(\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00(\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00(\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '6054dabdf25d37e442d77c727145271fb9edeae3': { + 'name': '6054dabdf25d37e442d77c727145271fb9edeae3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffffff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x03\x00ff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffffff'}, + 'resource': {'type': 'a', 'id': 'ffffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '81e612257aa8b074982ab4cdd68dd44f94c71a7f': { + 'name': '81e612257aa8b074982ab4cdd68dd44f94c71a7f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"s\\0\\0\\0",\n action in [],\n resource in a::"s\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 's\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f0d1dd1ab53ca29e9659a020a649f96cdf3c4818': { + 'name': 'f0d1dd1ab53ca29e9659a020a649f96cdf3c4818', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'k': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'n': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['k', 'n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'k', 'n', 'r'], + 'principalTypes': ['G', 'k', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'k', 'id': ''}, + {'type': 'n', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'k', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ''}, + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9187dae0065e5a38cf03ed93e366f8e7de0f9393': { + 'name': '9187dae0065e5a38cf03ed93e366f8e7de0f9393', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Khhhhhf': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Khhhhhf'], + 'principalTypes': ['Khhhhhf'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in Khhhhhf::"\$"\n) when {\n false && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'Khhhhhf', 'id': r'$'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khhhhhf', 'id': r'$'}, + 'resource': {'type': 'Khhhhhf', 'id': r'$'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4d87471123d5d2fcc845ad62f0a378747d1a8a3b': { + 'name': '4d87471123d5d2fcc845ad62f0a378747d1a8a3b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action in [Action::"action"],\n resource == a::"\\u{2}1"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': "'"}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '08efa6486228632965012d5656e4af0bbd08b4fa': { + 'name': '08efa6486228632965012d5656e4af0bbd08b4fa', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x05X!'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x05X!'}, + 'resource': {'type': 'a', 'id': '\x05X!'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e49482b861320f86dfe48c43eb2076af102273ad': { + 'name': 'e49482b861320f86dfe48c43eb2076af102273ad', + 'schema_json': { + 'W0N00::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in W0N00::v::a::"",\n action,\n resource in W0N00::v::a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'W0N00::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W0N00::v::a', 'id': ''}, + 'resource': {'type': 'W0N00::v::a', 'id': ''}, + 'action': {'type': 'W0N00::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '39ebe7f7f0cf48c209b352eb056595af84119c3a': { + 'name': '39ebe7f7f0cf48c209b352eb056595af84119c3a', + 'schema_json': { + 'Gxxxxxkjj': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'resource': {'type': 'Gxxxxxkjj::a', 'id': ''}, + 'action': {'type': 'Gxxxxxkjj::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '42e29f7ee3baccbd111596405523cd365fd7a332': { + 'name': '42e29f7ee3baccbd111596405523cd365fd7a332', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\x06\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\x06\x00'}, + 'resource': {'type': 'a', 'id': '\x06\x06\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'bd4aea79dc2fd325bef3fa0df4b811a6f746ef34': { + 'name': 'bd4aea79dc2fd325bef3fa0df4b811a6f746ef34', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'WjjX': { + 'type': 'Set', + 'element': {'type': 'Long'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'r0П)0'}, + 'attrs': { + 'WjjX': [8588196755608449204, 151, 0, 0, 0, 0, 0] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {'WjjX': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'r0П)0'}, + 'resource': {'type': 'a', 'id': 'r0П)0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3bb34a1db124f10d7f5cc0a12156f7d4de1545ab': { + 'name': '3bb34a1db124f10d7f5cc0a12156f7d4de1545ab', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"j",\n action in [Action::"action"],\n resource in a::"j"\n) when {\n true && context\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j'}, + 'resource': {'type': 'a', 'id': 'j'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e5e6199a3ae1e1ac97512ce3fa10eec795b71302': { + 'name': 'e5e6199a3ae1e1ac97512ce3fa10eec795b71302', + 'schema_json': { + 'W::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == W::v::a::"",\n action in [W::v::Action::"action"],\n resource == W::v::a::""\n) when {\n ((true && ((if (principal has "") then principal else principal) == principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'W::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'W::v::a', 'id': ''}, + 'resource': {'type': 'W::v::a', 'id': ''}, + 'action': {'type': 'W::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a77b6b9fe492bdd0c3e41e011921a5960d92bd06': { + 'name': 'a77b6b9fe492bdd0c3e41e011921a5960d92bd06', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"200",\n action == Action::"action",\n resource == a::"200"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '200'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '200'}, + 'resource': {'type': 'a', 'id': '200'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '778c0d33302970609091b9cbf36e8f5983e9ed57': { + 'name': '778c0d33302970609091b9cbf36e8f5983e9ed57', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource in a::"j\\0\\0\\"\\0"\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'resource': {'type': 'a', 'id': 'j\x00\x00"\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'faa2a6fa10c7e7030f995f2bc077e6ccecbeee4f': { + 'name': 'faa2a6fa10c7e7030f995f2bc077e6ccecbeee4f', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ff23be3f809396eeaf59bfb08c9a9f4b034b8fd7': { + 'name': 'ff23be3f809396eeaf59bfb08c9a9f4b034b8fd7', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Fw("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'F': [true] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::::::\x02'}, + 'attrs': { + 'F': [true] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::::::\x02'}, + 'resource': {'type': 'a', 'id': '::::::\x02'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '16c049e91f396ebf938fb47fd7f0432b4db1e2b0': { + 'name': '16c049e91f396ebf938fb47fd7f0432b4db1e2b0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0",\n action in [Action::"action"],\n resource == a::"\\0"\n) when {\n true && (Action::"action" <= principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bfa8dfbfa938aa71e4877cf59d50a66fa4bade4d': { + 'name': 'bfa8dfbfa938aa71e4877cf59d50a66fa4bade4d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\n\x05\x05ت\x00\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '99a86fcf921d0ab33f03b7f1e0f2d5c383cde36c': { + 'name': '99a86fcf921d0ab33f03b7f1e0f2d5c383cde36c', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n (true && 140737488421120) && 140737488421120\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'a\x05\x05'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'a\x05\x05'}, + 'resource': {'type': 'a', 'id': 'a\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '0b9ca9afefa830d3be46d7e7cf1017e5b4ac3d08': { + 'name': '0b9ca9afefa830d3be46d7e7cf1017e5b4ac3d08', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Fwww0100': {'type': 'String', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'Fwww0100': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'FFFFFF'}, + 'attrs': {'Fwww0100': ''}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'F'}, + 'attrs': {'Fwww0100': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FFFFFF'}, + 'resource': {'type': 'a', 'id': 'FFFFFF'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '745512c893ab675ebce92d613df4c15f820334fd': { + 'name': '745512c893ab675ebce92d613df4c15f820334fd', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action in [Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '785cb406a2478ad3cab821f05de51194d858110e': { + 'name': '785cb406a2478ad3cab821f05de51194d858110e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"60",\n action in [Action::"action"],\n resource in a::"60"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '60'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '91p'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '60'}, + 'resource': {'type': 'a', 'id': '60'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3a881612f6960c26ed5052ea9d78db86b326bb7b': { + 'name': '3a881612f6960c26ed5052ea9d78db86b326bb7b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'Js': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + }, + r',$': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': null, + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"..",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '-'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '..'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '..'}, + 'resource': {'type': 'a', 'id': '..'}, + 'action': {'type': 'Action', 'id': 'Js'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8049272e63b684cbd301222ad09ab1223599b534': { + 'name': '8049272e63b684cbd301222ad09ab1223599b534', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'DWQwQwWj': {'type': 'String', 'required': false}, + '_wgwkCA0': {'type': 'String', 'required': false}, + 'dw': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DWQwQwWj': '', '_wgwkCA0': '', 'dw': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '10df7c4afef4ace6a940adb20431810eb5925195': { + 'name': '10df7c4afef4ace6a940adb20431810eb5925195', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '1f4f3648c4747c20ca5a99a1859e68a8feac3c1a': { + 'name': '1f4f3648c4747c20ca5a99a1859e68a8feac3c1a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (true && ("" like "")) && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x022'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '879f4020c41510daceeb3111f98ec1393c2a4106': { + 'name': '879f4020c41510daceeb3111f98ec1393c2a4106', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f8eaa8981889c8d7b2e901659369586259411160': { + 'name': 'f8eaa8981889c8d7b2e901659369586259411160', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource in a::"7#\\0\\0\\0\\0\\0\\0\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '7#\x00\x00\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '60824929f43da456cf0bf9901cc6756667bb4741': { + 'name': '60824929f43da456cf0bf9901cc6756667bb4741', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'FwEwwwww': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'ű::::::::': { + 'appliesTo': { + 'resourceTypes': ['FwEwwwww'], + 'principalTypes': ['FwEwwwww'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'FwEwwwww', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FwEwwwww', 'id': '::'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'FwEwwwww', 'id': '::'}, + 'resource': {'type': 'FwEwwwww', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'ű::::::::'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '615247402d75283f835fbfa50d8f2fd08b230a18': { + 'name': '615247402d75283f835fbfa50d8f2fd08b230a18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'nRRw': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"00",\n action in [],\n resource == a::""\n) when {\n true && ([false, principal, principal] == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'nRRw': ''}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0366cff06b0efb65d458965ce9095ec86f759608': { + 'name': '0366cff06b0efb65d458965ce9095ec86f759608', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00"\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f8f11ba9c5793bb2f21903cf80dd7401b8a737c1': { + 'name': 'f8f11ba9c5793bb2f21903cf80dd7401b8a737c1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"66",\n action in [Action::"action"],\n resource in a::"66"\n) when {\n true && ((!(zoon::"" in principal)) == principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f5f7588b66978d1dd2254338fbb68ed6ee64a2f0': { + 'name': 'f5f7588b66978d1dd2254338fbb68ed6ee64a2f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource == a::"f\\0"\n) when {\n (true && (!((a::"f\\0" like "*\\0") like "\\0"))) && ((!principal) like "\\0")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'f\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'f\x00'}, + 'resource': {'type': 'a', 'id': 'f\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1122b4b025e0ef19724f6d8589d0786227300bb0': { + 'name': '1122b4b025e0ef19724f6d8589d0786227300bb0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::""\n) when {\n (true && (!"")) && (principal.containsAll(principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ec546c129260fbb2bea5debe948cb5cffe53e8d4': { + 'name': 'ec546c129260fbb2bea5debe948cb5cffe53e8d4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [],\n resource\n) when {\n false && (!(!false))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '5e5c448e178db343b9ac195ae32a98c65ab61592': { + 'name': '5e5c448e178db343b9ac195ae32a98c65ab61592', + 'schema_json': { + 'cP::v': { + 'commonTypes': {}, + 'entityTypes': { + 'v': { + 'memberOfTypes': ['a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Qx': { + 'memberOfTypes': ['v', 'a'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['v', 'a'], + 'principalTypes': ['Qx', 'v', 'a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'cP::v::v', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::Qx', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::v', 'id': 'z'}, + {'type': 'cP::v::a', 'id': ''}, + {'type': 'cP::v::v', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::v', 'id': 'z'}, + 'attrs': {}, + 'parents': [ + {'type': 'cP::v::a', 'id': ''} + ] + }, + { + 'uid': {'type': 'cP::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'cP::v::Qx', 'id': ''}, + 'resource': {'type': 'cP::v::v', 'id': ''}, + 'action': {'type': 'cP::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'f300936215f36b4eebfa2e90b98af6e80a373f50': { + 'name': 'f300936215f36b4eebfa2e90b98af6e80a373f50', + 'schema_json': { + 'vkYlYeckc::mKlq': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'mz0000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'attrs': {'mz0000': ''}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'resource': {'type': 'vkYlYeckc::mKlq::a', 'id': ''}, + 'action': {'type': 'vkYlYeckc::mKlq::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7d02ec581db89c9402aa5dc621dd9cab1c5c2aad': { + 'name': '7d02ec581db89c9402aa5dc621dd9cab1c5c2aad', + 'schema_json': { + 'Kxx0xnx': { + 'commonTypes': {}, + 'entityTypes': { + 'Qml': { + 'memberOfTypes': ['LYY'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'Edml': { + 'memberOfTypes': ['Qml', 'LYY'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'LYY': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Edml', 'Qml', 'LYY'], + 'principalTypes': ['Edml', 'Qml', 'LYY'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Kxx0xnx::Qml', 'id': ''}, + {'type': 'Kxx0xnx::LYY', 'id': ''} + ] + }, + { + 'uid': {'type': 'Kxx0xnx::LYY', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kxx0xnx::Qml', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'Kxx0xnx::LYY', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'resource': {'type': 'Kxx0xnx::Edml', 'id': ''}, + 'action': {'type': 'Kxx0xnx::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '09a68b2aeb2e68c3e39d7ef30236da0ceb720de0': { + 'name': '09a68b2aeb2e68c3e39d7ef30236da0ceb720de0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'r': '\x00a'}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd668bea882eaa5293763b6a7135c271ea4155505': { + 'name': 'd668bea882eaa5293763b6a7135c271ea4155505', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (!false)) && false) && (!true)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'f37d8acf6fd77d5db9734a06b52181ee35788d8e': { + 'name': 'f37d8acf6fd77d5db9734a06b52181ee35788d8e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'n', 'id': ':'}, + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': '\x1A:::'}, + {'type': 'n', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': '\x1A:::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'n', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ae1dfb197982f0811f33f0379c9a6353fd85edc3': { + 'name': 'ae1dfb197982f0811f33f0379c9a6353fd85edc3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\0\\0\\0\\0:::::::::",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00:::::::::'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7826cd6fef262b30541dcf601bb6b829a6147542': { + 'name': '7826cd6fef262b30541dcf601bb6b829a6147542', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0",\n action in [Action::"action"],\n resource in a::"\\0"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '82046ce1eaa9870071829c822ef11ec27470d5ba': { + 'name': '82046ce1eaa9870071829c822ef11ec27470d5ba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action"],\n resource == a::"\\0\\0"\n) when {\n false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '889a3dc86d3876f088f69277280cbad5283fd9d8': { + 'name': '889a3dc86d3876f088f69277280cbad5283fd9d8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'sWqs': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'vdYqrcpv': {'type': 'Long', 'required': true}, + 'vhYuu4W': {'type': 'Long', 'required': true} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['sWqs'], + 'principalTypes': ['sWqs'], + 'context': { + 'type': 'Record', + 'attributes': { + 'wqk00000000000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'sWqs', 'id': ''}, + 'attrs': {'vhYuu4W': 0, 'vdYqrcpv': 0}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'sWqs', 'id': ''}, + 'resource': {'type': 'sWqs', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'wqk00000000000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'ca06a51555f15300dd186e65a89306449da750f0': { + 'name': 'ca06a51555f15300dd186e65a89306449da750f0', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'resource': {'type': 'a', 'id': '\x00\x00jj#\b'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7ea9e66f0f9e3cd6d923fadea94a4d79f28bc13b': { + 'name': '7ea9e66f0f9e3cd6d923fadea94a4d79f28bc13b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action == Action::"action",\n resource\n) when {\n true && [a::"\\0", [false, principal, principal, principal], principal, principal]\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '59d4496d037a943c75c566696badf47230b3f99a': { + 'name': '59d4496d037a943c75c566696badf47230b3f99a', + 'schema_json': { + 'r::Fwwgww::r::FwgwwM_w::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'c38G0000000': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'resource': {'type': 'r::Fwwgww::r::FwgwwM_w::r::a', 'id': ''}, + 'action': {'type': 'r::Fwwgww::r::FwgwwM_w::r::Action', 'id': 'action'}, + 'context': {'c38G0000000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3c4c1d09710a15a2e915c4be60ec4c9755322cf1': { + 'name': '3c4c1d09710a15a2e915c4be60ec4c9755322cf1', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action,\n resource in a::""\n) when {\n true && (principal like "\\0\\0")\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'e2111cc0296021a6f030cdfb095950c06fae3f78': { + 'name': 'e2111cc0296021a6f030cdfb095950c06fae3f78', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@C("")\n@C00("")\n@C22("\\u{2}")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'c'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'c'}, + 'resource': {'type': 'a', 'id': 'c'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '68cb208b8f03e544f493056524148799476874dc': { + 'name': '68cb208b8f03e544f493056524148799476874dc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@A("")\n@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'be3efdc8162eb23ea015be57b9d18094521b1551': { + 'name': 'be3efdc8162eb23ea015be57b9d18094521b1551', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource == a::""\n) when {\n (true && Action::"action") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': '\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '56d4d9311bcdf16e69d505374f59e457440a8aa2': { + 'name': '56d4d9311bcdf16e69d505374f59e457440a8aa2', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"",\n action in [Action::""],\n resource\n) when {\n (true && (A0000::""[""])) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '254cda004d780b9da54d3d3740f66bb8d2773875': { + 'name': '254cda004d780b9da54d3d3740f66bb8d2773875', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'j#'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00v'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'j#'}, + 'resource': {'type': 'a', 'id': 'j#'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b7c122bef1ed48427641aa2ba120554dedf15bba': { + 'name': 'b7c122bef1ed48427641aa2ba120554dedf15bba', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && (a::"".isInRange(principal, principal, principal))) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '1e380dedb574067e8fe1339c0f36c2c31fe2930e': { + 'name': '1e380dedb574067e8fe1339c0f36c2c31fe2930e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': [ + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + }, + { + '__entity': {'id': '', 'type': 'a'} + } + ] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4edd395d1c89ddc20bb893a2cb1736e00ecbc574': { + 'name': '4edd395d1c89ddc20bb893a2cb1736e00ecbc574', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'x': { + 'memberOfTypes': ['FKww3wwwwdd33', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'FKww3wwwwdd33': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['x', 'FKww3wwwwdd33', 'r'], + 'principalTypes': ['x', 'FKww3wwwwdd33', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'x', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'FKww3wwwwdd33', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'FKww3wwwwdd33', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x', 'id': ''}, + 'resource': {'type': 'x', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9345bcfd444e81d0a54b9f46dac2a5b7cc2f3ded': { + 'name': '9345bcfd444e81d0a54b9f46dac2a5b7cc2f3ded', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'O': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'l': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['O'], + 'principalTypes': ['O'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@Qmlcgljmlz0000("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'O', 'id': ''}, + 'attrs': { + 'l': [{}, {}] + }, + 'parents': [] + }, + { + 'uid': {'type': 'O', 'id': 'F'}, + 'attrs': { + 'l': [{}, {}] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'O', 'id': ''}, + 'resource': {'type': 'O', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '03e7827b0c8f44d3f517ac0c52409b0a80996b39': { + 'name': '03e7827b0c8f44d3f517ac0c52409b0a80996b39', + 'schema_json': { + 'r::G::r': { + 'commonTypes': {}, + 'entityTypes': { + 'E': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'A': { + 'memberOfTypes': ['r', 'E'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': ['E'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['A', 'r', 'E'], + 'principalTypes': ['r', 'E'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::G::r::r', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::G::r::E', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::G::r::A', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r::G::r::E', 'id': ''}, + {'type': 'r::G::r::r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r::G::r::E', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::G::r::r', 'id': ''}, + 'resource': {'type': 'r::G::r::A', 'id': ''}, + 'action': {'type': 'r::G::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'b69bf509a757aaf3abc19937f723c7914545bc61': { + 'name': 'b69bf509a757aaf3abc19937f723c7914545bc61', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['r'], + 'principalTypes': ['r'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A000': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r', 'id': ''}, + 'resource': {'type': 'r', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A000': '', 'r': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c25e11d829036d6e027f4a4227fa9c8a9f0cff08': { + 'name': 'c25e11d829036d6e027f4a4227fa9c8a9f0cff08', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'Bsss': { + 'type': 'Extension', + 'name': 'ipaddr', + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '66\x00\$'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '66'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '66'}, + 'resource': {'type': 'a', 'id': '66'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7f57d33658a504a738b57487d367015a07bb96b3': { + 'name': '7f57d33658a504a738b57487d367015a07bb96b3', + 'schema_json': { + 'r::r::r::r::r': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@r("")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r::r::r::r::r::a', 'id': 'of'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::r::r::a', 'id': '/mc'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r::r::r::r::r::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'resource': {'type': 'r::r::r::r::r::a', 'id': '::'}, + 'action': {'type': 'r::r::r::r::r::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'fb0e459d20b27044895c2bb1250c349fa89ace1a': { + 'name': 'fb0e459d20b27044895c2bb1250c349fa89ace1a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"zzz",\n action in [],\n resource in a::"zzz"\n) when {\n (true && (!(action == (0 == principal)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'zzz'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'zzz'}, + 'resource': {'type': 'a', 'id': 'zzz'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '8a7f968982f6d5392e68021134740c39e0c45396': { + 'name': '8a7f968982f6d5392e68021134740c39e0c45396', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"\\u{2}\\0",\n action == Action::"action",\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x02\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd6c65d3dfbb960c519f29e3906307d611ffaae15': { + 'name': 'd6c65d3dfbb960c519f29e3906307d611ffaae15', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0\\0\\rRPR80",\n action in [Action::"action"],\n resource == a::"\\0\\0\\0\\0\\0\\rRPR80"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00\x00\rRPR80'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'dbc9f37ef3073f9d001be9f58064951fcd50ac40': { + 'name': 'dbc9f37ef3073f9d001be9f58064951fcd50ac40', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Record', + 'attributes': { + 'u\x00\x00:': { + 'type': 'Set', + 'element': {'type': 'Entity', 'name': 'a'}, + 'required': false + } + }, + 'additionalAttributes': false, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'sudfff'}, + 'attrs': { + 'A': {'u\x00\x00:': []} + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '772762b782fd4f6c322d1ec3c9dc8b4a2bfa8909': { + 'name': '772762b782fd4f6c322d1ec3c9dc8b4a2bfa8909', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '/mo'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'cfaster'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '/mo'}, + 'resource': {'type': 'a', 'id': '/mo'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '36a8b7ca6f5196693fd24c6f3cdbb627d8a2cfa7': { + 'name': '36a8b7ca6f5196693fd24c6f3cdbb627d8a2cfa7', + 'schema_json': { + 'x': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + '@v("")\n@x("")\npermit(\n principal == x::a::"",\n action in [x::Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'x::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'x::a', 'id': ''}, + 'resource': {'type': 'x::a', 'id': ''}, + 'action': {'type': 'x::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8c3f6fc9d56cfe86b9834fcb950ceaea54a1aa18': { + 'name': '8c3f6fc9d56cfe86b9834fcb950ceaea54a1aa18', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + ':': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::::comʙ'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ':'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '9f1c21662ae11397c3676997c668326235093b42': { + 'name': '9f1c21662ae11397c3676997c668326235093b42', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (context == (false in principal))\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ca2a5665590dadaa410ae37be42cf8c38ebf5228': { + 'name': 'ca2a5665590dadaa410ae37be42cf8c38ebf5228', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action in [Action::"action",Action::"action"],\n resource == a::""\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': '::'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '11e9832d6fe60145fb72dd1421e11f29c6b8b666': { + 'name': '11e9832d6fe60145fb72dd1421e11f29c6b8b666', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n (false && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x02\x00\x00\x00\x00\\\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '03349e575600a4072cf52de8a144d1c88ec8ad91': { + 'name': '03349e575600a4072cf52de8a144d1c88ec8ad91', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + '\x06F': {'appliesTo': null, 'memberOf': null}, + 'R=': {'appliesTo': null, 'memberOf': null}, + 'R=====': {'appliesTo': null, 'memberOf': null}, + '=F': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'j5550000': {'type': 'String', 'required': false}, + 'lzz': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '61da7807095991392a5f67e06f9a894bcee81fbc': { + 'name': '61da7807095991392a5f67e06f9a894bcee81fbc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': "z'"}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02com'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'sN'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'fast\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'co'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x02\x02'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'm/'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x02com'}, + 'resource': {'type': 'a', 'id': '\x02com'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '7b8a0adcf9a94ba713b2b01a3e63f16cdc5a6463': { + 'name': '7b8a0adcf9a94ba713b2b01a3e63f16cdc5a6463', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::".0",\n action in [Action::"action"],\n resource == a::".0"\n) when {\n (true && ({} in (if principal then principal else principal))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '.0'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '.0'}, + 'resource': {'type': 'a', 'id': '.0'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '77e6019f6506e218ba90c883acb9d9eeadee19f5': { + 'name': '77e6019f6506e218ba90c883acb9d9eeadee19f5', + 'schema_json': { + 'Khdhhhh': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Khdhhhh::a', 'id': '......'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Khdhhhh::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Khdhhhh::a', 'id': '......'}, + 'resource': {'type': 'Khdhhhh::a', 'id': '......'}, + 'action': {'type': 'Khdhhhh::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9f80e2d1ff1ec2f341027f22fe929ac8d1bbf1bf': { + 'name': '9f80e2d1ff1ec2f341027f22fe929ac8d1bbf1bf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"",\n action in [],\n resource\n) when {\n true\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'ffff'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'ffff'}, + 'resource': {'type': 'a', 'id': 'ffff'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '97e5ea8110fd942a8aff42be1e4b8d1f7ad9e98b': { + 'name': '97e5ea8110fd942a8aff42be1e4b8d1f7ad9e98b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true && (if (if ("" || 60138) then principal else principal) then principal else principal)\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '08500c1c65e96341b3eef33c68658af8078fd824': { + 'name': '08500c1c65e96341b3eef33c68658af8078fd824', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Kfhhhhh': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Kfhhhhh'], + 'principalTypes': ['Kfhhhhh'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource in Kfhhhhh::""\n) when {\n (true && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'Kfhhhhh', 'id': '.'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Kfhhhhh', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Kfhhhhh', 'id': ''}, + 'resource': {'type': 'Kfhhhhh', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '3b168243eb643d9339793f4bc155ac2828ab860d': { + 'name': '3b168243eb643d9339793f4bc155ac2828ab860d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'A': { + 'type': 'Set', + 'element': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + }, + 'required': false + } + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"da",\n action in [Action::"action",Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x06'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'da'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'da'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'A': [{}, {}] + }, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06'}, + 'resource': {'type': 'a', 'id': '\x06'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'A': []}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + 'b441a53ba07e60e2feb4257d374d179818c0e1a7': { + 'name': 'b441a53ba07e60e2feb4257d374d179818c0e1a7', + 'schema_json': { + 'R77': { + 'commonTypes': {}, + 'entityTypes': { + 'Rx': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'a77': {'type': 'Entity', 'name': 'R77::Rx', 'required': false} + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Rx'], + 'principalTypes': ['Rx'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'R77::Rx', 'id': 'F'}, + 'attrs': { + 'a77': { + '__entity': {'id': 'FFFFFFF', 'type': 'R77::Rx'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'attrs': { + 'a77': { + '__entity': {'id': 'FFFFFFF', 'type': 'R77::Rx'} + } + }, + 'parents': [] + }, + { + 'uid': {'type': 'R77::Rx', 'id': ''}, + 'attrs': { + 'a77': { + '__entity': {'id': 'FFFFFFF', 'type': 'R77::Rx'} + } + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'resource': {'type': 'R77::Rx', 'id': 'FFFFFFF'}, + 'action': {'type': 'R77::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '15a5e61ef680e881f21af3c89ace6b019ec4f78b': { + 'name': '15a5e61ef680e881f21af3c89ace6b019ec4f78b', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action in [Action::"action"],\n resource == a::"\\0\\u{7f}\\u{1}"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'resource': {'type': 'a', 'id': '\x00\x7F\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '496919dff0ea2935085baf1d32dfac599df26619': { + 'name': '496919dff0ea2935085baf1d32dfac599df26619', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'F': { + 'type': 'Set', + 'element': { + 'type': 'Set', + 'element': {'type': 'Boolean'} + }, + 'required': true + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':::::C:'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '::4'}, + 'attrs': {'F': []}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\n:::'}, + 'attrs': {'F': []}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '::4'}, + 'resource': {'type': 'a', 'id': '::4'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '75f7bec7370822f1887e7ccadf05ffd1e24921f3': { + 'name': '75f7bec7370822f1887e7ccadf05ffd1e24921f3', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n (true && (if ((if 60138 then principal else principal) || principal) then principal else principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '99ce7b14b784766a659aab7a7a49ac3ca2dfdf54': { + 'name': '99ce7b14b784766a659aab7a7a49ac3ca2dfdf54', + 'schema_json': { + 'Gtxxx10g0': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Gtxxx10g0::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ''}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'resource': {'type': 'Gtxxx10g0::a', 'id': ';'}, + 'action': {'type': 'Gtxxx10g0::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '37dde9c2116b0f8e994c76ed68805f489f24046d': { + 'name': '37dde9c2116b0f8e994c76ed68805f489f24046d', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '000000000\x04##'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '000000000\x04##'}, + 'resource': {'type': 'a', 'id': '000000000\x04##'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'e30bdae252646a9315f7fc3c5014eb07821d7094': { + 'name': 'e30bdae252646a9315f7fc3c5014eb07821d7094', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource\n) when {\n (true && context) && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'bd52aeabb79ad9249ef0960923b730c571327ffe': { + 'name': 'bd52aeabb79ad9249ef0960923b730c571327ffe', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"b5",\n action in [Action::"action"],\n resource == a::"b5"\n) when {\n (true && a::"b5") && false\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'b5'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'b5'}, + 'resource': {'type': 'a', 'id': 'b5'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '26abefc0cdc3ca369e50d8ad8e7e02fdd1ada405': { + 'name': '26abefc0cdc3ca369e50d8ad8e7e02fdd1ada405', + 'schema_json': { + 'Fwwww9': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Fwwww9::a', 'id': 'er'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwww9::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwww9::a', 'id': 'I'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Fwwww9::a', 'id': 'awt'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'resource': {'type': 'Fwwww9::a', 'id': '\x00:om/'}, + 'action': {'type': 'Fwwww9::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '9a7d899ba65717065b83bce346b0c53e57fdc164': { + 'name': '9a7d899ba65717065b83bce346b0c53e57fdc164', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': { + 'r': { + 'type': 'Set', + 'element': {'type': 'Boolean'}, + 'required': false + } + }, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'K'}, + 'attrs': { + 'r': [false, false] + }, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': { + 'r': [false, false] + }, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'K'}, + 'resource': {'type': 'a', 'id': 'K'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '047a21c759ff09b3dae102ad967195f336889551': { + 'name': '047a21c759ff09b3dae102ad967195f336889551', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'E': {'type': 'String', 'required': false}, + 'Rslargm0000000': {'type': 'String', 'required': false}, + 'r': {'type': 'String', 'required': false}, + 'sJRd3': {'type': 'String', 'required': false}, + 'v': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': { + 'sJRd3': '', + 'E': '', + 'v': '', + 'r': '', + 'Rslargm0000000': '' + }, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '764a4880f4e99a191e53a03ef16da22fb02bc397': { + 'name': '764a4880f4e99a191e53a03ef16da22fb02bc397', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"\\0\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"\\0\\0\\0\\0"\n) when {\n (true && (!(!(!4131130)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': '\x00\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9a40d7aee36713f1a63f2b91c444e013949f1cf0': { + 'name': '9a40d7aee36713f1a63f2b91c444e013949f1cf0', + 'schema_json': { + 'r333AJJJNJ': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'r333AJJJNJ::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'resource': {'type': 'r333AJJJNJ::a', 'id': 'R'}, + 'action': {'type': 'r333AJJJNJ::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '72a46e5f8a98d5e4828b68a428f9e537251c830e': { + 'name': '72a46e5f8a98d5e4828b68a428f9e537251c830e', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'resource': {'type': 'a', 'id': '\x06\v\x05\x05\x05\x05'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '81891b78bbb688f3635982e54913d2a8f32a3e92': { + 'name': '81891b78bbb688f3635982e54913d2a8f32a3e92', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true && (!(!(!false)))\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ':'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ':'}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ':'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '34a990f481360f9792cfb7c7c7feca7291cbc310': { + 'name': '34a990f481360f9792cfb7c7c7feca7291cbc310', + 'schema_json': { + 'v::xd::x::v': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'v::xd::x::v::a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'v::xd::x::v::a', 'id': 'r\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'resource': {'type': 'v::xd::x::v::a', 'id': 'f~\x00ff\x00'}, + 'action': {'type': 'v::xd::x::v::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '4960126cc1c3cb0023a576d6f726f19f667b4144': { + 'name': '4960126cc1c3cb0023a576d6f726f19f667b4144', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action,\n resource\n) when {\n ((true && ("" && true)) && false) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'B'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '93e58b7017a37b573f8a205f08b7077d6587c640': { + 'name': '93e58b7017a37b573f8a205f08b7077d6587c640', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"q",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': 'q'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'q'}, + 'resource': {'type': 'a', 'id': 'q'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '72ba9b2b2a3db0cf42997827f581619cb12acfd6': { + 'name': '72ba9b2b2a3db0cf42997827f581619cb12acfd6', + 'schema_json': { + 'uSJJlg1lU::Q80xxu_YYXW': { + 'commonTypes': {}, + 'entityTypes': { + 'Mxxwxx': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Mxxwxx'], + 'principalTypes': ['Mxxwxx'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'resource': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Mxxwxx', 'id': ''}, + 'action': {'type': 'uSJJlg1lU::Q80xxu_YYXW::Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c6e8fbb855e21cdb1c869dfe918d50f54c5a75b9': { + 'name': 'c6e8fbb855e21cdb1c869dfe918d50f54c5a75b9', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal == a::"",\n action,\n resource == a::"\\0"\n) when {\n (true && "") && ""\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '0f6bd61ae5a54f7abc1890148c6f5b9c389afef8': { + 'name': '0f6bd61ae5a54f7abc1890148c6f5b9c389afef8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal,\n action == Action::"action",\n resource\n) when {\n (true && "f") && Action::"action"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '.1'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '19923ce573215d221a260ab089a3eade7736dccf': { + 'name': '19923ce573215d221a260ab089a3eade7736dccf', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'Bcss': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['Bcss'], + 'principalTypes': ['Bcss'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'Bcss', 'id': '0700'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Bcss', 'id': '00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Bcss', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Bcss', 'id': '679)'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'Bcss', 'id': '8678'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'Bcss', 'id': '00'}, + 'resource': {'type': 'Bcss', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'c61ef4bc690f842dab4e57f05e83ba0331adc190': { + 'name': 'c61ef4bc690f842dab4e57f05e83ba0331adc190', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action == Action::"action",\n resource in a::""\n) when {\n (true && ((-(2709170810 <= action)) in principal)) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '9a4ddcb2e4023e402af8cfe7ca253b756bccffa4': { + 'name': '9a4ddcb2e4023e402af8cfe7ca253b756bccffa4', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': { + 'Dclrl000zzzzzz000': {'type': 'String', 'required': false}, + 'DlqsllkYlY': {'type': 'String', 'required': false} + }, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {'DlqsllkYlY': '', 'Dclrl000zzzzzz000': ''}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '6e57104bd2645f6d8da6fb3b46cac26ec681221a': { + 'name': '6e57104bd2645f6d8da6fb3b46cac26ec681221a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"00",\n action == Action::"action",\n resource in a::"00"\n) when {\n (true && a::"00") && a::"00"\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '00'}, + 'resource': {'type': 'a', 'id': '00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'ece10c9b5baef38c334a1c310679e457562b8081': { + 'name': 'ece10c9b5baef38c334a1c310679e457562b8081', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'n': { + 'memberOfTypes': ['r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'G': { + 'memberOfTypes': ['n', 'r'], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'r': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['G', 'n', 'r'], + 'principalTypes': ['G', 'n', 'r'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'n', 'id': ':'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'r', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'G', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''}, + {'type': 'n', 'id': '::'}, + {'type': 'n', 'id': ''}, + {'type': 'n', 'id': ':'} + ] + }, + { + 'uid': {'type': 'n', 'id': ''}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + }, + { + 'uid': {'type': 'n', 'id': '::'}, + 'attrs': {}, + 'parents': [ + {'type': 'r', 'id': ''} + ] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'G', 'id': ''}, + 'resource': {'type': 'G', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '8a4ff6d3e6a73a76952bb1fc2d3a599de9d94594': { + 'name': '8a4ff6d3e6a73a76952bb1fc2d3a599de9d94594', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + '': {'appliesTo': null, 'memberOf': null}, + 'j': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ' \x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ' \x00\x00'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'j'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'action': {'type': 'Action', 'id': ''}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '10fcd998b35b276ab130e82d0b618ed9ee17c343': { + 'name': '10fcd998b35b276ab130e82d0b618ed9ee17c343', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action in [Action::"action"],\n resource == a::"%"\n) when {\n true && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '%'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '%'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '%'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '13c95d614c44c554c6f335fd59c6e95cbd0ad9cc': { + 'name': '13c95d614c44c554c6f335fd59c6e95cbd0ad9cc', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"\\u{2}1",\n action == Action::"action",\n resource == a::"\\u{2}1"\n) when {\n (true && ((false == false) == (false == (if principal then principal else principal)))) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '\x021'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x021'}, + 'resource': {'type': 'a', 'id': '\x021'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + '938ccf0f7d6daab0a55e3d8f7931e70abed0556a': { + 'name': '938ccf0f7d6daab0a55e3d8f7931e70abed0556a', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action,\n resource\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': '@'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '@'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '@'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + '3d7cf966b39a2e156d00c3d1bf96af90c89c0ee8': { + 'name': '3d7cf966b39a2e156d00c3d1bf96af90c89c0ee8', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal,\n action,\n resource\n) when {\n ((true && ((if "" then principal else principal) in principal)) && principal) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x01'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x01'}, + 'resource': {'type': 'a', 'id': '\x01'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': ['policy0'] + } + ] + }, + 'a87b03bd9ed4c18a4d9346098593027c12180c97': { + 'name': 'a87b03bd9ed4c18a4d9346098593027c12180c97', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal in a::"z~",\n action in [Action::"action"],\n resource in a::"z~"\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'z~'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': '?'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'z~'}, + 'resource': {'type': 'a', 'id': 'z~'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Allow', + 'reasons': ['policy0'], + 'errors': [] + } + ] + }, + 'd021608663ac1df71c7a9a3508941597a8b87570': { + 'name': 'd021608663ac1df71c7a9a3508941597a8b87570', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'permit(\n principal == a::"FF%%\\0\\0FF\\0\\0\\0",\n action in [Action::"action"],\n resource in a::"FF%%\\0\\0FF\\0\\0\\0"\n) when {\n (true && (principal has "")) && principal\n};\n', + 'should_validate': false, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'resource': {'type': 'a', 'id': 'FF%%\x00\x00FF\x00\x00\x00'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + }, + '4e03b96a72686f4c773c52b125184ff2b31fa6ec': { + 'name': '4e03b96a72686f4c773c52b125184ff2b31fa6ec', + 'schema_json': { + '': { + 'commonTypes': {}, + 'entityTypes': { + 'a': { + 'memberOfTypes': [], + 'shape': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + } + }, + 'actions': { + 'action': { + 'appliesTo': { + 'resourceTypes': ['a'], + 'principalTypes': ['a'], + 'context': { + 'type': 'Record', + 'attributes': {}, + 'additionalAttributes': false + } + }, + 'memberOf': null + } + } + } + }, + 'policies_cedar': + 'forbid(\n principal in a::"",\n action in [Action::"action",Action::"action",Action::"action"],\n resource in a::""\n) when {\n true\n};\n', + 'should_validate': true, + 'entities_json': [ + { + 'uid': {'type': 'a', 'id': ''}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\r\x15\x00'}, + 'attrs': {}, + 'parents': [] + }, + { + 'uid': {'type': 'a', 'id': '\x15'}, + 'attrs': {}, + 'parents': [] + } + ], + 'queries': [ + { + 'desc': 'Query 0', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': ''}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': ['policy0'], + 'errors': [] + }, + { + 'desc': 'Query 1', + 'principal': {'type': 'a', 'id': ''}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 2', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 3', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 4', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 5', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 6', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + }, + { + 'desc': 'Query 7', + 'principal': {'type': 'a', 'id': '\x15'}, + 'resource': {'type': 'a', 'id': '\x15'}, + 'action': {'type': 'Action', 'id': 'action'}, + 'context': {}, + 'decision': 'Deny', + 'reasons': [], + 'errors': [] + } + ] + } +}; diff --git a/packages/cedar_ffi/lib/src/testing/corpus.json b/packages/cedar_ffi/lib/src/testing/corpus.json new file mode 100644 index 00000000..8bf940a2 --- /dev/null +++ b/packages/cedar_ffi/lib/src/testing/corpus.json @@ -0,0 +1 @@ +{"f51cc525b644fab293a5ec8c23a5cbb7684e0c49":{"name":"f51cc525b644fab293a5ec8c23a5cbb7684e0c49","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"56f0369e64a8aea495d82b7cf5fe68532611c57f":{"name":"56f0369e64a8aea495d82b7cf5fe68532611c57f","schema_json":{"Gxxxxxjju":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == Gxxxxxjju::a::\"\",\n action in [Gxxxxxjju::Action::\"action\"],\n resource in Gxxxxxjju::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxxxxxjju::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxxxjju::a","id":"="},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"819b5df4fdd4474a32e5d6080e82c1e2a461a125":{"name":"819b5df4fdd4474a32e5d6080e82c1e2a461a125","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\f\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"740d091a7026855d819c74f94ad2c1b3aecb7f82":{"name":"740d091a7026855d819c74f94ad2c1b3aecb7f82","schema_json":{"":{"commonTypes":{},"entityTypes":{"RH":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"j":{"memberOfTypes":["RH"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["j","RH"],"principalTypes":["RH"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"RH","id":":c"},"attrs":{},"parents":[]},{"uid":{"type":"j","id":")"},"attrs":{},"parents":[{"type":"RH","id":""},{"type":"RH","id":":c"}]},{"uid":{"type":"j","id":""},"attrs":{},"parents":[{"type":"RH","id":""},{"type":"RH","id":":c"}]},{"uid":{"type":"RH","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"RH","id":":c"},"resource":{"type":"j","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c473ec0a248a595b1dde9b9a357404233b05583":{"name":"1c473ec0a248a595b1dde9b9a357404233b05583","schema_json":{"A000::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == A000::r::a::\"\",\n action == A000::r::Action::\"action\",\n resource\n) when {\n ((true && (principal == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A000::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A000::r::a","id":""},"resource":{"type":"A000::r::a","id":""},"action":{"type":"A000::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a15e7c71d9a369baeeae438e37491867ebe8f706":{"name":"a15e7c71d9a369baeeae438e37491867ebe8f706","schema_json":{"":{"commonTypes":{},"entityTypes":{"u":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["G"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["u","r"],"principalTypes":["r","G"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"u","id":":"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"G","id":""}]},{"uid":{"type":"u","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"G","id":""}]},{"uid":{"type":"u","id":":B::"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"G","id":""}]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"G","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":""},"resource":{"type":"u","id":":B::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"12ea8d3f2768e2d6b9418905be71bb2b90b893db":{"name":"12ea8d3f2768e2d6b9418905be71bb2b90b893db","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{1}\\u{1e}7\\u{1}*\\0\\0\\0\\0\\0\\0\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\u{1}\\u{1e}7\\u{1}*\\0\\0\\0\\0\\0\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0001\u001e7\u0001*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ed697643b8137f84bcb4b30eb65c756a25e3174e":{"name":"ed697643b8137f84bcb4b30eb65c756a25e3174e","schema_json":{"z":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"z::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"z::a","id":"86"},"attrs":{},"parents":[]},{"uid":{"type":"z::a","id":"8FFFF17910701\u0018"},"attrs":{},"parents":[]},{"uid":{"type":"z::a","id":"6"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"z::a","id":"86"},"resource":{"type":"z::a","id":"86"},"action":{"type":"z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d6ebe39a0e8ca56b7f860c24d898a862ce7b1641":{"name":"d6ebe39a0e8ca56b7f860c24d898a862ce7b1641","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"is":{"appliesTo":null,"memberOf":null},"rf_re":{"appliesTo":null,"memberOf":null},"_P":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"is"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ad024f4b0007706d639f6b6214d5a2621963681b":{"name":"ad024f4b0007706d639f6b6214d5a2621963681b","schema_json":{"A::A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::A::a","id":"8"},"attrs":{},"parents":[]},{"uid":{"type":"A::A::a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"A::A::a","id":":::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::A::a","id":":"},"resource":{"type":"A::A::a","id":":"},"action":{"type":"A::A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"41b3249bc82e1922148ebe40da27638a1d8f3e45":{"name":"41b3249bc82e1922148ebe40da27638a1d8f3e45","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"fffffffffFf":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"I":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"fffffffffFf"},"context":{"I":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a15680bd683336a6602a2981a21b7d49bd4e9aae":{"name":"a15680bd683336a6602a2981a21b7d49bd4e9aae","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vh":{"memberOfTypes":["r33338330"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r33338330":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vh","r33338330"],"principalTypes":["r33338330"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r33338330","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r33338330","id":"...."},"attrs":{},"parents":[]},{"uid":{"type":"Vh","id":""},"attrs":{},"parents":[{"type":"r33338330","id":"...."},{"type":"r33338330","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r33338330","id":"...."},"resource":{"type":"Vh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2af3948403ce9144fb57f1df45e657229368e1bb":{"name":"2af3948403ce9144fb57f1df45e657229368e1bb","schema_json":{"r::rhBhLKKJJ033::r::i::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"resource":{"type":"r::rhBhLKKJJ033::r::i::r::a","id":""},"action":{"type":"r::rhBhLKKJJ033::r::i::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"64e70607451f1279c40d6731740912bcc8b7db42":{"name":"64e70607451f1279c40d6731740912bcc8b7db42","schema_json":{"":{"commonTypes":{},"entityTypes":{"x":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Extension","name":"ipaddr","required":false},"x":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["x"],"principalTypes":["x"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"x","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9643313cfd96e483bd43192c666fb381bc00b9b7":{"name":"9643313cfd96e483bd43192c666fb381bc00b9b7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"KLKKJJ0":{"type":"String","required":false},"r":{"type":"String","required":true},"z":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"KLKKJJ0":"","r":"","z":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"71bac38d9141511e7691466bdfde0c88f66090a5":{"name":"71bac38d9141511e7691466bdfde0c88f66090a5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"L\\0\\0\\0\\0\\0\\u{2}\\u{1}\\0\\0\\0\\0\\0\\0\\0\\0\\u{11}s\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011s"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"be49a30f3793be19e8fa9dfad276edc57705ac89":{"name":"be49a30f3793be19e8fa9dfad276edc57705ac89","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"D655Cz":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"D655Cz":[false,true,true,false]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"82fd390d362297d194d6680a9d0022be50071447":{"name":"82fd390d362297d194d6680a9d0022be50071447","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"Qx":{"memberOfTypes":["v","a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"v":{"memberOfTypes":["a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["v","a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::v","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""}]},{"uid":{"type":"cP::v::Qx","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""},{"type":"cP::v::v","id":""}]},{"uid":{"type":"cP::v::Qx","id":"z"},"attrs":{},"parents":[{"type":"cP::v::a","id":""},{"type":"cP::v::v","id":""}]},{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"969daad086b33aad22548eea44163eb2895861f6":{"name":"969daad086b33aad22548eea44163eb2895861f6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e9c321ef900eaf29831efa839cb8f0ba5e431852":{"name":"e9c321ef900eaf29831efa839cb8f0ba5e431852","schema_json":{"":{"commonTypes":{},"entityTypes":{"T3z0":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["T3z0"],"principalTypes":["T3z0"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"T3z0","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"T3z0","id":""},"resource":{"type":"T3z0","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"13080c2b5bf30ca368724495c797a520d073aa45":{"name":"13080c2b5bf30ca368724495c797a520d073aa45","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\0\",\n action,\n resource\n) when {\n true && (6596969039609.containsAll(principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b5b8ae9492a59923e7dee4d59d378648b4b8c272":{"name":"b5b8ae9492a59923e7dee4d59d378648b4b8c272","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\",\n action in [A::Action::\"action\",A::Action::\"action\"],\n resource == A::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":"\u0001"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0001"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bde9abe88143eac23364f5aa0e8bec52eb83b465":{"name":"bde9abe88143eac23364f5aa0e8bec52eb83b465","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"@\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"@"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e1556236f75c560e53317db95265b0e5f0f65480":{"name":"e1556236f75c560e53317db95265b0e5f0f65480","schema_json":{"KhdRhhh":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"KhdRhhh::a","id":"'."},"attrs":{},"parents":[]},{"uid":{"type":"KhdRhhh::a","id":".*.."},"attrs":{},"parents":[]},{"uid":{"type":"KhdRhhh::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"KhdRhhh::a","id":"'."},"resource":{"type":"KhdRhhh::a","id":"'."},"action":{"type":"KhdRhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1ba382ff356028e27023a3d08c87e642619f6fb6":{"name":"1ba382ff356028e27023a3d08c87e642619f6fb6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"4acd3e6ff1141d938a2b678f182bc560e7512938":{"name":"4acd3e6ff1141d938a2b678f182bc560e7512938","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\r"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\r"},"resource":{"type":"a","id":"\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"532d64fb783c8001157622299aaf07604b074261":{"name":"532d64fb783c8001157622299aaf07604b074261","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@m(\"\")\n@q(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f09fe818d8c4da7280302af3d2d73afcb4fa938a":{"name":"f09fe818d8c4da7280302af3d2d73afcb4fa938a","schema_json":{"":{"commonTypes":{},"entityTypes":{"mzzzZz0z0bYdl":{"memberOfTypes":["mzz"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"mzz":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["mzzzZz0z0bYdl","mzz"],"principalTypes":["mzzzZz0z0bYdl","mzz"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mzz","id":""},"attrs":{},"parents":[]},{"uid":{"type":"mzzzZz0z0bYdl","id":""},"attrs":{},"parents":[{"type":"mzz","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzZz0z0bYdl","id":""},"resource":{"type":"mzzzZz0z0bYdl","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ad3fbf26c2855d5aaf75f48b29b649bd05692a10":{"name":"ad3fbf26c2855d5aaf75f48b29b649bd05692a10","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action == Action::\"action\",\n resource\n) when {\n true && a::\"00\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1254cf8b49a82bad491ded018f8acb6aaa8005dc":{"name":"1254cf8b49a82bad491ded018f8acb6aaa8005dc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"Perf_registerNarf_registerNatives":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Perf_registerNarf_registerNatives"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"934d6737130d9efa9f8a803b797118cac84e6b73":{"name":"934d6737130d9efa9f8a803b797118cac84e6b73","schema_json":{"G::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in G::r::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"attrs":{},"parents":[]},{"uid":{"type":"G::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"resource":{"type":"G::r::a","id":"\u0002:\u001a:+&6"},"action":{"type":"G::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"18fee2407bdd9f8f63baa8d55a8044d5b0b60069":{"name":"18fee2407bdd9f8f63baa8d55a8044d5b0b60069","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\\0\",\n action == Action::\"action\",\n resource == a::\"\\0\\0\"\n) when {\n (true && (((8825501086240079994 == 0) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8755024362258be1b1485c414d7cb2d3a77bd3f4":{"name":"8755024362258be1b1485c414d7cb2d3a77bd3f4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000@"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4117e182dc897acdefc83bb0e8d17dad400d84b5":{"name":"4117e182dc897acdefc83bb0e8d17dad400d84b5","schema_json":{"K::n33333x::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K::n33333x::r::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"K::n33333x::r::a","id":"\u001a:"},"attrs":{},"parents":[]},{"uid":{"type":"K::n33333x::r::a","id":"\u00026"},"attrs":{},"parents":[]},{"uid":{"type":"K::n33333x::r::a","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"K::n33333x::r::a","id":"6:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"K::n33333x::r::a","id":"\u00026"},"resource":{"type":"K::n33333x::r::a","id":"\u00026"},"action":{"type":"K::n33333x::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"97ecdb5a989451af145fda48ed60b28661bf1130":{"name":"97ecdb5a989451af145fda48ed60b28661bf1130","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && (((a::\"\" - a::\"\\0\\0\\0\\0]\") - principal) - principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9b55589e73bf3330a31b529138b4a61a0a5918e0":{"name":"9b55589e73bf3330a31b529138b4a61a0a5918e0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000j"},"attrs":{"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000j"},"resource":{"type":"a","id":"\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1e303b58dcbee74c4827290d2f66cd4040b54e09":{"name":"1e303b58dcbee74c4827290d2f66cd4040b54e09","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"(ff":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"(ff"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7843f1ebab364d0464751c4e692049eebc7884b3":{"name":"7843f1ebab364d0464751c4e692049eebc7884b3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0003\u0000\u0000n/"},"attrs":{"A":[{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}},{"__entity":{"id":"","type":"a"}}]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":[{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}},{"__entity":{"id":"","type":"a"}}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc2a101c4a38cafd034acbf494600294eec9b1e6":{"name":"bc2a101c4a38cafd034acbf494600294eec9b1e6","schema_json":{"q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"f\u0006":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Record","attributes":{"ff\u0006":{"type":"Record","attributes":{"nsti\u00003\u0004nsti\u0000":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"q::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"f\u0006"},"context":{"G":{"ff\u0006":{"nsti\u00003\u0004nsti\u0000":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"95f3134308565c39162f625f739243a86608c8b0":{"name":"95f3134308565c39162f625f739243a86608c8b0","schema_json":{"r::n::r::r::r::r::j::u::u::u::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::j::u::u::u::r::a","id":""},"action":{"type":"r::n::r::r::r::r::j::u::u::u::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3af5c7c5f21236beb923bb3b497f21e215b05303":{"name":"3af5c7c5f21236beb923bb3b497f21e215b05303","schema_json":{"l777Ixxjj3::r::r::N8xt22337":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"K00000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"resource":{"type":"l777Ixxjj3::r::r::N8xt22337::a","id":""},"action":{"type":"l777Ixxjj3::r::r::N8xt22337::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"221b0697d387aa2a2b379ef1ed3c46c03dac89cb":{"name":"221b0697d387aa2a2b379ef1ed3c46c03dac89cb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"P":{"type":"Boolean","required":false},"r":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"P":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d4d0e75ce2a11931b27717f0628d176ba24ccb4f":{"name":"d4d0e75ce2a11931b27717f0628d176ba24ccb4f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && \"\") && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8422992aa599755d03ee771d9916fe0aa5bcd2ba":{"name":"8422992aa599755d03ee771d9916fe0aa5bcd2ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource\n) when {\n ((true && ((false - (principal in principal)) in principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"082b486148964f32e28607e08eb5d34c5c37c382":{"name":"082b486148964f32e28607e08eb5d34c5c37c382","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"1\u0002"},"resource":{"type":"a","id":"1\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e22554bbfd7bd35ff8ad7ff836fb4328fd0f5201":{"name":"e22554bbfd7bd35ff8ad7ff836fb4328fd0f5201","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"RRRR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3a23d32c802b205472c72110a5b81b20a505f7ef":{"name":"3a23d32c802b205472c72110a5b81b20a505f7ef","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"ʫ\\0\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && a::\"\") && (((principal <= principal) <= principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ʫ\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a631815a860cf73e32d9e348beae43039df1c2cd":{"name":"a631815a860cf73e32d9e348beae43039df1c2cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"un/":{"type":"Long","required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{"un/":0}},"parents":[]},{"uid":{"type":"a","id":"fff\u0000"},"attrs":{"A":{"un/":0}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b860fa2c05cf6d66862e0e63a375a12f6dca9d45":{"name":"b860fa2c05cf6d66862e0e63a375a12f6dca9d45","schema_json":{"wttt":{"commonTypes":{},"entityTypes":{"Bmii5h":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"VLjj0":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Bmii5h","VLjj0"],"principalTypes":["Bmii5h","VLjj0"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"wttt::VLjj0","id":""},"attrs":{},"parents":[]},{"uid":{"type":"wttt::Bmii5h","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"wttt::Bmii5h","id":"\u0000"},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"97d5107ff92205097024e3179e70162e2140609e":{"name":"97d5107ff92205097024e3179e70162e2140609e","schema_json":{"mx7dx77::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in mx7dx77::r::a::\"\",\n action in [mx7dx77::r::Action::\"action\"],\n resource in mx7dx77::r::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mx7dx77::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mx7dx77::r::a","id":""},"resource":{"type":"mx7dx77::r::a","id":""},"action":{"type":"mx7dx77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"0ef8dad0b5a647ae0a7c1dd48d2bfb403009d4eb":{"name":"0ef8dad0b5a647ae0a7c1dd48d2bfb403009d4eb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && principal) && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f2b88318e4e6b69694b1d6c16684f0fe0381683f":{"name":"f2b88318e4e6b69694b1d6c16684f0fe0381683f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"om"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0a90677b3f0180d3edc9e4e2b9247c20fe6667cd":{"name":"0a90677b3f0180d3edc9e4e2b9247c20fe6667cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"ff\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"901a02b422d65d6962af1bed755f5590ba94563b":{"name":"901a02b422d65d6962af1bed755f5590ba94563b","schema_json":{"K":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [K::Action::\"action\"],\n resource in K::a::\"\\0j\\0\\u{8}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"K::a","id":"\u0000j\u0000\b"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"K::a","id":"\u0000"},"resource":{"type":"K::a","id":"\u0000"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"K::a","id":"\u0000j\u0000\b"},"resource":{"type":"K::a","id":"\u0000j\u0000\b"},"action":{"type":"K::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bf589bae634b3e3a7f603883c65d4b1f99f417f3":{"name":"bf589bae634b3e3a7f603883c65d4b1f99f417f3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"z&\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u00020"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6cd716bec960cc0a84556d82e5f5475b59192344":{"name":"6cd716bec960cc0a84556d82e5f5475b59192344","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal == a::\"BBB\\0\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"BBB\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"BBB\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f9067aaf3870c7c6c5cd39c764667deffb775362":{"name":"f9067aaf3870c7c6c5cd39c764667deffb775362","schema_json":{"l3333333367y":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["ryU84Fw"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"ryU84Fw":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","ryU84Fw"],"principalTypes":["r","ryU84Fw"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l3333333367y::ryU84Fw","id":""},"attrs":{},"parents":[]},{"uid":{"type":"l3333333367y::r","id":""},"attrs":{},"parents":[{"type":"l3333333367y::ryU84Fw","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l3333333367y::r","id":""},"resource":{"type":"l3333333367y::r","id":""},"action":{"type":"l3333333367y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b03022745562f50975056c368a84a733ddba5319":{"name":"b03022745562f50975056c368a84a733ddba5319","schema_json":{"w::A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"xdddRRRSd":{"type":"Entity","name":"w::A::a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"w::A::a","id":"fFff"},"attrs":{"xdddRRRSd":{"__entity":{"id":"fFff","type":"w::A::a"}}},"parents":[]},{"uid":{"type":"w::A::a","id":""},"attrs":{"xdddRRRSd":{"__entity":{"id":"fFff","type":"w::A::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"w::A::a","id":"fFff"},"resource":{"type":"w::A::a","id":"fFff"},"action":{"type":"w::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"106c7942e09695b70e209e67e8df5655de990003":{"name":"106c7942e09695b70e209e67e8df5655de990003","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (((action == false) || (if principal then principal else principal)) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1a"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"1a"},"resource":{"type":"a","id":"1a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"167da68a1884c31cd8bfdd2e7a2ac5e9a3ddea7c":{"name":"167da68a1884c31cd8bfdd2e7a2ac5e9a3ddea7c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":["",""]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":["","","","","","",""]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"90ab10b8ca5fd556344310903fb0c83483339255":{"name":"90ab10b8ca5fd556344310903fb0c83483339255","schema_json":{"":{"commonTypes":{},"entityTypes":{"F_wwwwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F_wwwwww"],"principalTypes":["F_wwwwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F_wwwwww","id":"ml"},"attrs":{},"parents":[]},{"uid":{"type":"F_wwwwww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F_wwwwww","id":"ml"},"resource":{"type":"F_wwwwww","id":"ml"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"037991841bc058457fde347ac473efe52a2b0999":{"name":"037991841bc058457fde347ac473efe52a2b0999","schema_json":{"R::Wj::R":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [R::Wj::R::Action::\"action\"],\n resource == R::Wj::R::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::Wj::R::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"1eeb056842fdd78326d60a76db6c9ac2ca096d4a":{"name":"1eeb056842fdd78326d60a76db6c9ac2ca096d4a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (!(!(!false)))) && (!true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8f4a8dd71968997861794d08fc5a32d135f848ee":{"name":"8f4a8dd71968997861794d08fc5a32d135f848ee","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n ((true && principal) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0b7e0114ef0d24841bd57f41a5914cbc114184dc":{"name":"0b7e0114ef0d24841bd57f41a5914cbc114184dc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource in a::\"C\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"C"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"05e975dcdf0bf583ff3e5326f7cbeeb9359aa016":{"name":"05e975dcdf0bf583ff3e5326f7cbeeb9359aa016","schema_json":{"C::r":{"commonTypes":{},"entityTypes":{"C32":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C32":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["C32"],"principalTypes":["C32"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C::r::C32","id":""},"attrs":{"C32":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C::r::C32","id":""},"resource":{"type":"C::r::C32","id":""},"action":{"type":"C::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"563582cd5ea55ce28d1f6d2e6a096baac5cf10ab":{"name":"563582cd5ea55ce28d1f6d2e6a096baac5cf10ab","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A000000000000(\"\")\n@g(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b060c814a9da144f7c44fecc61aa19c899e14908":{"name":"b060c814a9da144f7c44fecc61aa19c899e14908","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && (!\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"2"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"388e55628e201183633520a571bee2ea8e44f70a":{"name":"388e55628e201183633520a571bee2ea8e44f70a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0005\u0005\u0005":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0005\u0005":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0005\u0005\u0005"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d9c579f9c3a81af0f81f4fc66fa8164ff39a0b6":{"name":"9d9c579f9c3a81af0f81f4fc66fa8164ff39a0b6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n ((true && (((false like \"05312\") in principal) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c9451af914da80278adceae4b34153a068f7d572":{"name":"c9451af914da80278adceae4b34153a068f7d572","schema_json":{"FwwwQwww::A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"AY00000000":{"type":"String","required":false},"DlcYqrwwww":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwwwQwww::A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwwwQwww::A::a","id":""},"resource":{"type":"FwwwQwww::A::a","id":""},"action":{"type":"FwwwQwww::A::Action","id":"action"},"context":{"AY00000000":"","DlcYqrwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"288e7853fae2ea13998c5bbff4380fa4736d05bd":{"name":"288e7853fae2ea13998c5bbff4380fa4736d05bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"O\\u{2}@\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}+\\0\\0\\0\\0\\0\",\n action == Action::\"action\",\n resource == a::\"O\\u{2}@\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}+\\0\\0\\0\\0\\0\"\n) when {\n (true && ((principal == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"O\u0002@\u0002\u0002\u0002\u0002\u0002\u0002+\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"cf04c3babc42128066c12b2e61fc3f1e4f361333":{"name":"cf04c3babc42128066c12b2e61fc3f1e4f361333","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"j\\u{10}::::ov\\0\\0\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"resource":{"type":"a","id":"j\u0010::::ov\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ce2e4c92116904b0fb6d9e3a5f5fbf168d05b7d9":{"name":"ce2e4c92116904b0fb6d9e3a5f5fbf168d05b7d9","schema_json":{"C2z":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == C2z::a::\"\",\n action in [C2z::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C2z::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"C2z::a","id":"\u0002\u0002\u0000\u0002\u0002\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C2z::a","id":"\u0002\u0002\u0000\u0002\u0002\u0000"},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C2z::a","id":""},"resource":{"type":"C2z::a","id":""},"action":{"type":"C2z::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2e1ce51bfdf8340949c83d5216899ead6d0cff7b":{"name":"2e1ce51bfdf8340949c83d5216899ead6d0cff7b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Ahh":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000&."},"attrs":{"Ahh":0},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{"Ahh":0},"parents":[]},{"uid":{"type":"a","id":"\u0013."},"attrs":{"Ahh":0},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"Ahh":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a92907a4bd628ee45bc5da47bfc4724281b772d7":{"name":"a92907a4bd628ee45bc5da47bfc4724281b772d7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Record","attributes":{"ff\u0006":{"type":"Record","attributes":{"fny/":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"ff\u0006":{"fny/":{"__entity":{"id":"","type":"a"}}}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fb09e70cc5feb386582051b75d829fc2efe22b65":{"name":"fb09e70cc5feb386582051b75d829fc2efe22b65","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\":::::\\0\",\n action,\n resource in a::\":::::\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::::\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"o"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::::\u0000"},"resource":{"type":"a","id":":::::\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0197f1506d505e1f9364e4379bbeeb8d8b38d482":{"name":"0197f1506d505e1f9364e4379bbeeb8d8b38d482","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\n\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"55d14b8867ce5ed85dd8f30e97a54cd834e77627":{"name":"55d14b8867ce5ed85dd8f30e97a54cd834e77627","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (if ((false == principal) <= (7378697629483877990 has \"\")) then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8f90c7fe8af50938e13e7bef3d60bf4bc236c773":{"name":"8f90c7fe8af50938e13e7bef3d60bf4bc236c773","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"vh":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7e5967a70a851c46c4de2ce306b3654d2dfc8be4":{"name":"7e5967a70a851c46c4de2ce306b3654d2dfc8be4","schema_json":{"":{"commonTypes":{},"entityTypes":{"lyyUIKldYqrc":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"l/jackst":{"appliesTo":{"resourceTypes":["lyyUIKldYqrc"],"principalTypes":["lyyUIKldYqrc"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"lyyUIKldYqrc","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"43aff70f1e13f9c08aa33ae1b7987b641816ffd0":{"name":"43aff70f1e13f9c08aa33ae1b7987b641816ffd0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A000":{"type":"String","required":false},"A333":{"type":"String","required":false},"C":{"type":"String","required":false},"QxH1":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C":"","QxH1":"","A000":"","A333":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"231aa19c98e274060191f11f908374c00596c59d":{"name":"231aa19c98e274060191f11f908374c00596c59d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\":A:\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":A:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":A:"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":A:"},"resource":{"type":"a","id":":A:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":A:"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"85e91c7c564be966dcd647fe9514670cc398150b":{"name":"85e91c7c564be966dcd647fe9514670cc398150b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j\u0000\u0000# \u0004\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j\u0000\u0000# \u0004\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f8006bb12f37cc2836361c259c0eec34c848dd2c":{"name":"f8006bb12f37cc2836361c259c0eec34c848dd2c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (2207646909058 && principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e982bc050bb9f03096c23f181f5580d3de9de43e":{"name":"e982bc050bb9f03096c23f181f5580d3de9de43e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":["u"]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":["","",""]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1d316f9503f9b1bfbca657dac937d7ff65e1c357":{"name":"1d316f9503f9b1bfbca657dac937d7ff65e1c357","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"0\",\n action == Action::\"action\",\n resource == a::\"0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"m\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c54edb50fe03f03ae8ff1b2c65d81471b079062":{"name":"1c54edb50fe03f03ae8ff1b2c65d81471b079062","schema_json":{"K::FwwwwGww::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K::FwwwwGww::r::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"K::FwwwwGww::r::a","id":":c"},"attrs":{},"parents":[]},{"uid":{"type":"K::FwwwwGww::r::a","id":":z:::"},"attrs":{},"parents":[]},{"uid":{"type":"K::FwwwwGww::r::a","id":"rx"},"attrs":{},"parents":[]},{"uid":{"type":"K::FwwwwGww::r::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"K::FwwwwGww::r::a","id":":z:::"},"resource":{"type":"K::FwwwwGww::r::a","id":":z:::"},"action":{"type":"K::FwwwwGww::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e3a072a600dd8a6a3b7b100427c15066f1f4abb6":{"name":"e3a072a600dd8a6a3b7b100427c15066f1f4abb6","schema_json":{"stYWqsx":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"rhhmmlq":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"l":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"stYWqsx::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"stYWqsx::a","id":""},"action":{"type":"stYWqsx::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"17c44f45cb8cddea6e0db0604a9ef71731a517cc":{"name":"17c44f45cb8cddea6e0db0604a9ef71731a517cc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"\\00rg\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"bafc7b19b6fb6e468a21d8fd17c07b3676f7e568":{"name":"bafc7b19b6fb6e468a21d8fd17c07b3676f7e568","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Reeedd000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"127182b2ecd666d9f19c637648c660463069f3b1":{"name":"127182b2ecd666d9f19c637648c660463069f3b1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a54477fd5e4b8306848f0e5733814928756cc9b4":{"name":"a54477fd5e4b8306848f0e5733814928756cc9b4","schema_json":{"A":{"commonTypes":{},"entityTypes":{"Khhkkk":{"memberOfTypes":["K"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Khhkkk","K"],"principalTypes":["Khhkkk","K"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::K","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A::Khhkkk","id":"."},"attrs":{},"parents":[{"type":"A::K","id":""}]},{"uid":{"type":"A::Khhkkk","id":""},"attrs":{},"parents":[{"type":"A::K","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::Khhkkk","id":"."},"resource":{"type":"A::Khhkkk","id":"."},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e7d5f6bfb9f8404d376c144399022396b497521c":{"name":"e7d5f6bfb9f8404d376c144399022396b497521c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e961f5f47e679e6c692e2b3b38d8d52534ff5a20":{"name":"e961f5f47e679e6c692e2b3b38d8d52534ff5a20","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"M":{"type":"String","required":false},"n":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false},"r":{"type":"String","required":false},"vgltmiclww00":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","r":"","vgltmiclww00":"","n":{}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e8f0cccf91fd4e442aee6bf2ab24d493b7dcb0d3":{"name":"e8f0cccf91fd4e442aee6bf2ab24d493b7dcb0d3","schema_json":{"bHHHHHHHHH::Kxxxnxx":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"cnpmx":{"type":"Entity","name":"bHHHHHHHHH::Kxxxnxx::a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"attrs":{"cnpmx":{"__entity":{"id":"","type":"bHHHHHHHHH::Kxxxnxx::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"resource":{"type":"bHHHHHHHHH::Kxxxnxx::a","id":""},"action":{"type":"bHHHHHHHHH::Kxxxnxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"acc5004eda3202c7270bbf092480ee6c4fb15ace":{"name":"acc5004eda3202c7270bbf092480ee6c4fb15ace","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"j":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"j":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1f041b1bc18a6b2b3f1ec00b9781f18a1dfe9dd3":{"name":"1f041b1bc18a6b2b3f1ec00b9781f18a1dfe9dd3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"resource":{"type":"a","id":"ff\u0000\u0000\u0000&\u0003\u0000\u0000\u0000\u0000r\u0000\u0000\u0003\u0000ff\u0000\u0000&(\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"819d534f87b8929fa9df96a378fa6ca599e0e149":{"name":"819d534f87b8929fa9df96a378fa6ca599e0e149","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false},"h":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":false},"k203kiJ0k":{"type":"String","required":false},"r3":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A00":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":"","h":[],"k203kiJ0k":"","r3":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8a8125be5758ac323d48e23f26efec75cceae6b8":{"name":"8a8125be5758ac323d48e23f26efec75cceae6b8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action,\n resource in a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"7356322h\u0000"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aae2794d09b22b46bd014d7a8c820d070ed730ea":{"name":"aae2794d09b22b46bd014d7a8c820d070ed730ea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"98e6e486d0a985498b74fb69703ff9dbe397e965":{"name":"98e6e486d0a985498b74fb69703ff9dbe397e965","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"/gqrcJ["},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b767b9745f8381d0b00264149e5683504bf463ce":{"name":"b767b9745f8381d0b00264149e5683504bf463ce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ZZ\n"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"0z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"zzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"zzzz!"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"z\nRzzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"zz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z\nRzzz"},"resource":{"type":"a","id":"z\nRzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"269a223b4f6b39933ab85bfd2f5412cda75d5580":{"name":"269a223b4f6b39933ab85bfd2f5412cda75d5580","schema_json":{"vlgmuw9ud::xw0g05":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in vlgmuw9ud::xw0g05::a::\"\",\n action in [vlgmuw9ud::xw0g05::Action::\"action\",vlgmuw9ud::xw0g05::Action::\"action\"],\n resource in vlgmuw9ud::xw0g05::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"vlgmuw9ud::xw0g05::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"vlgmuw9ud::xw0g05::a","id":""},"resource":{"type":"vlgmuw9ud::xw0g05::a","id":""},"action":{"type":"vlgmuw9ud::xw0g05::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"20d8b3c7fb59a601bc5818c21286e9e25742e0b5":{"name":"20d8b3c7fb59a601bc5818c21286e9e25742e0b5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\\0$%%\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000$%%\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a663996b98bd10c0501c4e6b1114a59c1df7ab42":{"name":"a663996b98bd10c0501c4e6b1114a59c1df7ab42","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A0000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"442b4554c995e3a939dfb9c9a8c6dbecb8fa5688":{"name":"442b4554c995e3a939dfb9c9a8c6dbecb8fa5688","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"lz6D5zxyzzzzz":{"type":"Record","attributes":{"1":{"type":"Record","attributes":{"":{"type":"String","required":false},"\u0014":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"lz6D5zxyzzzzz":{"1":{"":"","\u0014":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"016bc58b487d6a1ae58c2472ef0c51b282c17e65":{"name":"016bc58b487d6a1ae58c2472ef0c51b282c17e65","schema_json":{"_m0000w3qwwwwwg::Du2xxu":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"resource":{"type":"_m0000w3qwwwwwg::Du2xxu::a","id":""},"action":{"type":"_m0000w3qwwwwwg::Du2xxu::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3e80eb97896da06eadf20906b9e82cd670e0eb62":{"name":"3e80eb97896da06eadf20906b9e82cd670e0eb62","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"274f63c71d3849f3100d4100b20c3da8832edc98":{"name":"274f63c71d3849f3100d4100b20c3da8832edc98","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && r::\"z\\u{2}\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9e4215d3d845b1c2c2ed582e46dd53c55c74b1ec":{"name":"9e4215d3d845b1c2c2ed582e46dd53c55c74b1ec","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":"."},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"A","id":"k"},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":"."},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ae7ff96bdcaf6552d9f0763e382daa001b6cdb40":{"name":"ae7ff96bdcaf6552d9f0763e382daa001b6cdb40","schema_json":{"mzzzzzcYdlw7z::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mzzzzzcYdlw7z::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzzzcYdlw7z::r::a","id":""},"resource":{"type":"mzzzzzcYdlw7z::r::a","id":""},"action":{"type":"mzzzzzcYdlw7z::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"16271aaed3d2383487a702432cab7c1dab719c80":{"name":"16271aaed3d2383487a702432cab7c1dab719c80","schema_json":{"":{"commonTypes":{},"entityTypes":{"m8888G000m0":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["m8888G000m0"],"principalTypes":["m8888G000m0"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m8888G000m0","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"m8888G000m0","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"m8888G000m0","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m8888G000m0","id":":"},"resource":{"type":"m8888G000m0","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2092fbd08967045da86af33b2147cb4305f65ca2":{"name":"2092fbd08967045da86af33b2147cb4305f65ca2","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"resource":{"type":"Kfhhhhh","id":"\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7e650f77996e5262f09093185cb7a9ff74935036":{"name":"7e650f77996e5262f09093185cb7a9ff74935036","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n ((true && (!(false + (Bnm0000000000000::\"\" in principal)))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e89ff546eee4c6b8ce6214b1fb44a8ac0922e1a7":{"name":"e89ff546eee4c6b8ce6214b1fb44a8ac0922e1a7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"or"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"t"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"g\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001S"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"om"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"g/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c41c9469c2df291a3ad39308ebd42a2a7c41092":{"name":"1c41c9469c2df291a3ad39308ebd42a2a7c41092","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"j\",\n action in [Action::\"action\"],\n resource in a::\"j\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"db4a721afbe45d420d3ec127d35435c49e0813df":{"name":"db4a721afbe45d420d3ec127d35435c49e0813df","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\u{1a}s\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\\u{1a}s\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u001as"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u001as"},"resource":{"type":"a","id":"\u001as"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"89127cdc11bcd048f4ca03485eabd7f6dbf18cb9":{"name":"89127cdc11bcd048f4ca03485eabd7f6dbf18cb9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"C":{"type":"Boolean","required":false},"o":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"PTL::"},"attrs":{"C":false,"A":false,"o":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"C":false,"A":false,"o":false},"parents":[]},{"uid":{"type":"a","id":"*"},"attrs":{"C":false,"o":false,"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"PTL::"},"resource":{"type":"a","id":"PTL::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3b5c2e23156d25cb6edb89b64ac639cce1d65bb3":{"name":"3b5c2e23156d25cb6edb89b64ac639cce1d65bb3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (if (0.contains(principal)) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"caa9c09c494d1fe4e3afd20fe702cef632f492b0":{"name":"caa9c09c494d1fe4e3afd20fe702cef632f492b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (((\"\" == \"\") == (\"\" == \"\")) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7de7df399c3a3d595019128b600198bd0bb368ef":{"name":"7de7df399c3a3d595019128b600198bd0bb368ef","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"ff":{"appliesTo":null,"memberOf":null},"":{"appliesTo":null,"memberOf":null},"*":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"615239be881909941babb336171be8d781444b20":{"name":"615239be881909941babb336171be8d781444b20","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000&>>>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"74cb1c7bc7c5cd009274db3878641b5f68615989":{"name":"74cb1c7bc7c5cd009274db3878641b5f68615989","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n (true && (((principal <= principal) <= principal) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"211dc14823e42409dac2149cd417c42a96ad49e1":{"name":"211dc14823e42409dac2149cd417c42a96ad49e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0::*::\",\n action in [Action::\"action\"],\n resource in a::\"\\0\\0\\0::*::\"\n) when {\n (true && (!(!(!false)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000::*::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000::*::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::*::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d5eea9e4cbdd9d1bb0d1a310ea9722fa8aef6438":{"name":"d5eea9e4cbdd9d1bb0d1a310ea9722fa8aef6438","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"K":{"type":"String","required":false},"r":{"type":"Record","attributes":{"":{"type":"String","required":false},"\n":{"type":"Boolean","required":false},":":{"type":"Boolean","required":false},"::":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"","\n":false,":":false,"::":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"001da0d96e1d1296182b6818ba28cf8603a22ae3":{"name":"001da0d96e1d1296182b6818ba28cf8603a22ae3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true && 250084997690\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c8038441b7a3773023463c49719d465909d868d6":{"name":"c8038441b7a3773023463c49719d465909d868d6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u001f":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"action":{"type":"Action","id":"\u001f"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"action":{"type":"Action","id":"\u001f"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"28c81f40923f9bed77b1554dd71f0c13d0d0a08d":{"name":"28c81f40923f9bed77b1554dd71f0c13d0d0a08d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bff74d1463f86358c828c6b42b08169133d7a9e8":{"name":"bff74d1463f86358c828c6b42b08169133d7a9e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"Bhh00":{"type":"String","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":"","Bhh00":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c6f43b856eef1bb3d96c6dc51e54d4c46672842b":{"name":"c6f43b856eef1bb3d96c6dc51e54d4c46672842b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"89b555f9830641f8a81b973563f6a7a96ec9751f":{"name":"89b555f9830641f8a81b973563f6a7a96ec9751f","schema_json":{"v::OMRR":{"commonTypes":{},"entityTypes":{"Qx":{"memberOfTypes":["v"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"v":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Qx","v"],"principalTypes":["Qx","v"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::OMRR::v","id":""},"attrs":{},"parents":[]},{"uid":{"type":"v::OMRR::Qx","id":""},"attrs":{},"parents":[{"type":"v::OMRR::v","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::OMRR::Qx","id":""},"resource":{"type":"v::OMRR::Qx","id":""},"action":{"type":"v::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"715b64a2f2bfe9838dd219497fd43af7a945e63b":{"name":"715b64a2f2bfe9838dd219497fd43af7a945e63b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"44d2138de0cacab9b03c955cc57d50a516fbf855":{"name":"44d2138de0cacab9b03c955cc57d50a516fbf855","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"W":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@U(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"7\u0001\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"7\u0001\u0000\u0000"},"resource":{"type":"a","id":"7\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"W":"neinfo/."},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7876eafee5c27b4be49c894923a72008dd32edc5":{"name":"7876eafee5c27b4be49c894923a72008dd32edc5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && a::\"\\0\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3bd634896540861f1eaa5dced860ca24b38ce552":{"name":"3bd634896540861f1eaa5dced860ca24b38ce552","schema_json":{"Kxx0xnx":{"commonTypes":{},"entityTypes":{"LYY":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Edml":{"memberOfTypes":["Qml","LYY"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Qml":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Edml","Qml","LYY"],"principalTypes":["Edml","Qml","LYY"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kxx0xnx::LYY","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kxx0xnx::Qml","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kxx0xnx::Edml","id":""},"attrs":{},"parents":[{"type":"Kxx0xnx::LYY","id":""},{"type":"Kxx0xnx::Qml","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b56a215cc72585d6691218771c28bbfd40bad2bd":{"name":"b56a215cc72585d6691218771c28bbfd40bad2bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && a::\":::&::\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":::&::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::&::"},"resource":{"type":"a","id":":::&::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"19fbe4b90f1e0114f2201dbe7bbf8e943cf7bd00":{"name":"19fbe4b90f1e0114f2201dbe7bbf8e943cf7bd00","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (!(!(!\"\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"lac"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ac2dd4eee2aebd24d6f979a378eb7aee76453ae2":{"name":"ac2dd4eee2aebd24d6f979a378eb7aee76453ae2","schema_json":{"r":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"FwwwwwPwss":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwwwwwPwss","n","r"],"principalTypes":["FwwwwwPwss","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::n","id":""},"attrs":{},"parents":[{"type":"r::r","id":""}]},{"uid":{"type":"r::FwwwwwPwss","id":""},"attrs":{},"parents":[{"type":"r::n","id":""},{"type":"r::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::FwwwwwPwss","id":""},"resource":{"type":"r::FwwwwwPwss","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9a6a17759f9a7ae0dbe084623918cbcb1325b548":{"name":"9a6a17759f9a7ae0dbe084623918cbcb1325b548","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0011\u0011\u0011\u0011\u0001":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"VSjj0":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0013"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"\u0011\u0011\u0011\u0011\u0001"},"context":{"VSjj0":false},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"138f76b366b2306738303807e1936a89f7f2762b":{"name":"138f76b366b2306738303807e1936a89f7f2762b","schema_json":{"A000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == A000::a::\"\",\n action in [A000::Action::\"action\"],\n resource\n) when {\n (true && (if (principal.isLoopback()) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A000::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a7848e613881d5c8ef76a9b4d2daaf5391f604ca":{"name":"a7848e613881d5c8ef76a9b4d2daaf5391f604ca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && (((\"\".isInRange(\"R\")) < principal) < principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8b4d407be8a95d636f719051caba1509fa2828f4":{"name":"8b4d407be8a95d636f719051caba1509fa2828f4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\01\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2f323549a312eb48a4a6d247e1d27bf876d9c394":{"name":"2f323549a312eb48a4a6d247e1d27bf876d9c394","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"v)\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"v)\u0000\u0000\u0000"},"resource":{"type":"a","id":"v)\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"v)\u0000\u0000\u0000"},"resource":{"type":"a","id":"v)\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"v)\u0000\u0000\u0000"},"resource":{"type":"a","id":"v)\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"v)\u0000\u0000\u0000"},"resource":{"type":"a","id":"v)\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"v)\u0000\u0000\u0000"},"resource":{"type":"a","id":"v)\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"bd18bd41ab202db204cea1f32221d6eaf35d8cd9":{"name":"bd18bd41ab202db204cea1f32221d6eaf35d8cd9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\\0FFFFF\\0\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\\0FFFFF\\0\\0\"\n) when {\n ((true && 4605510) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000FFFFF\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f02c1a74821e12d19cc295e9839d01b459d8054e":{"name":"f02c1a74821e12d19cc295e9839d01b459d8054e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n (true && {}) && (!{})\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fac24523ee7d9a3a3dc192bf6fac1a15ac3aa723":{"name":"fac24523ee7d9a3a3dc192bf6fac1a15ac3aa723","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [],\n resource in a::\"00\"\n) when {\n ((true && (a::\"00\" == ((principal - principal) - principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6102eb6b6bec792e748119b6fc853aba1ec23c48":{"name":"6102eb6b6bec792e748119b6fc853aba1ec23c48","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\00\",\n action in [Action::\"action\"],\n resource in a::\"\\00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u00000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"91p"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"00b19b8455bdc9522d984d038cc104096619802b":{"name":"00b19b8455bdc9522d984d038cc104096619802b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"0)":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"0":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"0\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","resource":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9d055ffb9a194011c48662c8392cb91f0b1c4fc2":{"name":"9d055ffb9a194011c48662c8392cb91f0b1c4fc2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"resource":{"type":"a","id":"fff:::::::::ffff\u0003\u0000\u0000\u0000\u0000r\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3c41a82958bcbdb29cbf5f6484151423d17f73d8":{"name":"3c41a82958bcbdb29cbf5f6484151423d17f73d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action,\n resource in a::\"\\u{2}1\"\n) when {\n ((true && a::\"\\u{2}1\") && false) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"42f94343b4cf31a6b829959eee9a00f26622c9f6":{"name":"42f94343b4cf31a6b829959eee9a00f26622c9f6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (\"]\" == \"\")\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f25cab814507b52116d2e544ef7e3e940c2161a0":{"name":"f25cab814507b52116d2e544ef7e3e940c2161a0","schema_json":{"TYYY::Lxm::Kxxx0xn":{"commonTypes":{},"entityTypes":{"EYml":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["EYml"],"principalTypes":["EYml"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"attrs":{},"parents":[]},{"uid":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"resource":{"type":"TYYY::Lxm::Kxxx0xn::EYml","id":"zz"},"action":{"type":"TYYY::Lxm::Kxxx0xn::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f31b4fb7b9b4a7aafbc4b4c41675786c96e707f8":{"name":"f31b4fb7b9b4a7aafbc4b4c41675786c96e707f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00`00\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00`00\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00`00\u0000\u0000\u0000"},"resource":{"type":"a","id":"00`00\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"55bc710e6e16941d5fb9a7ea274bb847b6ea1492":{"name":"55bc710e6e16941d5fb9a7ea274bb847b6ea1492","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"="},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"="},"resource":{"type":"a","id":"="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"="},"resource":{"type":"a","id":"="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"="},"resource":{"type":"a","id":"="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"="},"resource":{"type":"a","id":"="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"="},"resource":{"type":"a","id":"="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"1e2a004e023d395b498c548942b5706371bd5e58":{"name":"1e2a004e023d395b498c548942b5706371bd5e58","schema_json":{"p6666666":{"commonTypes":{},"entityTypes":{"r3a":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r3a","r"],"principalTypes":["r3a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"p6666666::r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"p6666666::r3a","id":""},"attrs":{},"parents":[{"type":"p6666666::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"p6666666::r3a","id":""},"resource":{"type":"p6666666::r3a","id":""},"action":{"type":"p6666666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ff09477226aef69a6b55bec714847f7758466e90":{"name":"ff09477226aef69a6b55bec714847f7758466e90","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource == a::\"\\u{2}1\"\n) when {\n (true && (Action::\"action\" == principal)) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7715f3baa9f05ec3f8031da871969c004074be89":{"name":"7715f3baa9f05ec3f8031da871969c004074be89","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c16bf1576fc516da59b95787c4e86e22bceaa2f2":{"name":"c16bf1576fc516da59b95787c4e86e22bceaa2f2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0005"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7b01b2db594cc56ad84353cc76e1fdad524005db":{"name":"7b01b2db594cc56ad84353cc76e1fdad524005db","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (action in (principal == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFF"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1f2be35f573d7d1955f3a95af4f940cc6f4fe290":{"name":"1f2be35f573d7d1955f3a95af4f940cc6f4fe290","schema_json":{"n::g::F::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == n::g::F::r::a::\"\",\n action in [n::g::F::r::Action::\"action\"],\n resource\n) when {\n ((true && (if principal then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"n::g::F::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"n::g::F::r::a","id":""},"resource":{"type":"n::g::F::r::a","id":""},"action":{"type":"n::g::F::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7e545a5af2c43e384fee0bb2520166cc2a89f0b7":{"name":"7e545a5af2c43e384fee0bb2520166cc2a89f0b7","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\\0\",\n action in [A::Action::\"action\",A::Action::\"action\",A::Action::\"action\"],\n resource in A::a::\"\\0\"\n) when {\n true && (!(!(!A::a::\"\\0\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cd68929ac20c52e6a5b9f212a83241ae6638e5ae":{"name":"cd68929ac20c52e6a5b9f212a83241ae6638e5ae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && \"\") && a::\"\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"."},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"."},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9dfb0e9489663d11ba0b18dc6c295586054d890f":{"name":"9dfb0e9489663d11ba0b18dc6c295586054d890f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && ((decimal(false in false)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e546a99cd59df815788e4c43d591eeeef5595c99":{"name":"e546a99cd59df815788e4c43d591eeeef5595c99","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u000666":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"\\u{6}66\",Action::\"\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"\u000666"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"525e966b4ded22f5b2de78026a3ffab45249c626":{"name":"525e966b4ded22f5b2de78026a3ffab45249c626","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"#"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c0dcf2fe310fe43127a335434b687a3838a12e79":{"name":"c0dcf2fe310fe43127a335434b687a3838a12e79","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"V":{"type":"String","required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"Vnio::":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"V":"un/nio::"},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4a5b990163e9e5713bcaaf635d3556508760cced":{"name":"4a5b990163e9e5713bcaaf635d3556508760cced","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"o":{"type":"Long","required":true},"r":{"type":"Long","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":49,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"o":0,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3f83703d388cd9b69ca17c95a29a89cadff67ba4":{"name":"3f83703d388cd9b69ca17c95a29a89cadff67ba4","schema_json":{"A0":{"commonTypes":{},"entityTypes":{"FwwwU":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":true}},"additionalAttributes":false}},"l":{"memberOfTypes":["FwwwU","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwwwU","r"],"principalTypes":["FwwwU"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0::l","id":""},"attrs":{},"parents":[{"type":"A0::FwwwU","id":""},{"type":"A0::r","id":""}]},{"uid":{"type":"A0::FwwwU","id":""},"attrs":{},"parents":[{"type":"A0::r","id":""}]},{"uid":{"type":"A0::r","id":""},"attrs":{"r":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0::FwwwU","id":""},"resource":{"type":"A0::FwwwU","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"14b98c1a51be833bbaf6cb341851e2ff30a8223b":{"name":"14b98c1a51be833bbaf6cb341851e2ff30a8223b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (a::\"\" like \"N*tiv\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f082fa77996aec4e5fdc12b347a8b8336cb24b21":{"name":"f082fa77996aec4e5fdc12b347a8b8336cb24b21","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c17e0eacd91a90aef1f5a41cd0c44cb32814bd4c":{"name":"c17e0eacd91a90aef1f5a41cd0c44cb32814bd4c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\nforbid(\n principal,\n action,\n resource\n) when {\n ((true && [m0000000000000::\"\", principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d4d27c36fd7c9c018ad27a106fa99044a7cc1c69":{"name":"d4d27c36fd7c9c018ad27a106fa99044a7cc1c69","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"(0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"(0\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"(0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"cc28740c4d1065a1f7db2d69103dea6bd50cbb4e":{"name":"cc28740c4d1065a1f7db2d69103dea6bd50cbb4e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n true && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"om"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6f09236a6b94b54ed6bde936d3a073a02a6a6376":{"name":"6f09236a6b94b54ed6bde936d3a073a02a6a6376","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"\",\n resource\n) when {\n (true && action) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"074909fdcb280e369e36bfc125632c8898d151af":{"name":"074909fdcb280e369e36bfc125632c8898d151af","schema_json":{"r::A::y":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in r::A::y::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::A::y::a","id":"zF6w"},"attrs":{},"parents":[]},{"uid":{"type":"r::A::y::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::A::y::a","id":"\u0000"},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::A::y::a","id":""},"resource":{"type":"r::A::y::a","id":""},"action":{"type":"r::A::y::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8ce9a85da746c9c606aa228be7b25a7639142db2":{"name":"8ce9a85da746c9c606aa228be7b25a7639142db2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"227e92bfe69a4c847df6ca869e01c1ac1038e5e9":{"name":"227e92bfe69a4c847df6ca869e01c1ac1038e5e9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"K":{"type":"String","required":false},"r":{"type":"Record","attributes":{"":{"type":"String","required":false},":":{"type":"String","required":false},"::\u0000jjj\n":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":{"":"",":":"","::\u0000jjj\n":""},"K":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"10bda01fb6c34dcedb5838eec5c05901d946b6a8":{"name":"10bda01fb6c34dcedb5838eec5c05901d946b6a8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"resource":{"type":"a","id":"\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000ffffffbffff*f*\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fcfdf92babb9d6b8a7837c7b11cf923d74b43e52":{"name":"fcfdf92babb9d6b8a7837c7b11cf923d74b43e52","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (8827056895198657146 == ((122 == principal) == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"54dc49893ab1147dc7febeda5d35646d75f9279a":{"name":"54dc49893ab1147dc7febeda5d35646d75f9279a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true && ((!a::\"\") in ((!principal) in principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1dbfb0d25adfd0ba48b9759273247ce82f8da3e5":{"name":"1dbfb0d25adfd0ba48b9759273247ce82f8da3e5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"524afc45d7c82b68c02d19e48f6575c957849644":{"name":"524afc45d7c82b68c02d19e48f6575c957849644","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::"},"attrs":{"F":[[false,false],[]]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[[true,true,false,false],[],[],[true,false,false,false,false]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9b5808be68fa4ade27c2dd719d8d3bed024c0efb":{"name":"9b5808be68fa4ade27c2dd719d8d3bed024c0efb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Entity","name":"a","required":false},"vYh":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vYh":{"__entity":{"id":"","type":"a"}},"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5ee1f9276f5872c28f3003f06fe42996c9977589":{"name":"5ee1f9276f5872c28f3003f06fe42996c9977589","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(true))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3610428c0e69a6c0d117385bb428d90b87727d08":{"name":"3610428c0e69a6c0d117385bb428d90b87727d08","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && (if ((234 <= context) || principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5d14d9f3cd916cbfb24b2847d264e5d26ea36026":{"name":"5d14d9f3cd916cbfb24b2847d264e5d26ea36026","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && a::\"\") && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5475596bc50659d884313c90631726e19cd0e04d":{"name":"5475596bc50659d884313c90631726e19cd0e04d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"$"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"y\u0000"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"\u0015::"},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0015::"},"resource":{"type":"a","id":"\u0015::"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"55448823844281a98febe12f7427961cd1dab4ba":{"name":"55448823844281a98febe12f7427961cd1dab4ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n true && (true == false)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"d"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"d"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"47dbe8f3bf73363d3c54f85eaacb8e4cf09e4851":{"name":"47dbe8f3bf73363d3c54f85eaacb8e4cf09e4851","schema_json":{"r::r::r::P::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"0":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::P::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::P::r::a","id":""},"resource":{"type":"r::r::r::P::r::a","id":""},"action":{"type":"r::r::r::P::r::Action","id":"0"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bfe1530e6c63665594f5a9552b1a49b8e6446e2f":{"name":"bfe1530e6c63665594f5a9552b1a49b8e6446e2f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"imsm":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Ctmmust(\"\")\n@xn00000000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{"imsm":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2b10dbdef1754d180cb4858be9dcff0cd3be653e":{"name":"2b10dbdef1754d180cb4858be9dcff0cd3be653e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"u\u0000\u0000:":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"fff"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"fff"},"resource":{"type":"a","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3e9e94546d3cebfdefdb52c437e3a7b91a38fcca":{"name":"3e9e94546d3cebfdefdb52c437e3a7b91a38fcca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (if [\"\" == \"\", 0 == principal] then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d2d070eea367ec82a3ccfbba21a7585c51cb63a3":{"name":"d2d070eea367ec82a3ccfbba21a7585c51cb63a3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2d3208bd996226a839e67bb936b7a0311fa45e5f":{"name":"2d3208bd996226a839e67bb936b7a0311fa45e5f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"R":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"R":"z0Nz_zzzz655\u0001\u0000*:\u0000\u0000\u0000V:/\n\u0002"},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8ae73555cca905ef154d5b974b2882911b10c013":{"name":"8ae73555cca905ef154d5b974b2882911b10c013","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"j\",\n action in [Action::\"action\"],\n resource in a::\"j\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7f763280b38e3ae0b4ae15829f53fcd5b8937b62":{"name":"7f763280b38e3ae0b4ae15829f53fcd5b8937b62","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"0\\u{1}\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && action\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"0\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"0\u0001"},"resource":{"type":"a","id":"0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"762d6af30778d678da7849f82db71d278c02d7a1":{"name":"762d6af30778d678da7849f82db71d278c02d7a1","schema_json":{"":{"commonTypes":{},"entityTypes":{"MYqs":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"_WkgqaWM":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"egi":{"appliesTo":{"resourceTypes":["MYqs"],"principalTypes":["MYqs"],"context":{"type":"Record","attributes":{"Ay":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"MYqs","id":""},"attrs":{"_WkgqaWM":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"MYqs","id":""},"resource":{"type":"MYqs","id":""},"action":{"type":"Action","id":"egi"},"context":{"r":"","Ay":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"62a27ea3bb60c5035c9c9fc113460f30f16d972f":{"name":"62a27ea3bb60c5035c9c9fc113460f30f16d972f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{6}\\u{6}\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"44fbeb8dd922c2e9149a992a8f284d8fce8cd762":{"name":"44fbeb8dd922c2e9149a992a8f284d8fce8cd762","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"$\u0000\n"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"$\u0000\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"$\u0000\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"239501e7afe41f99231f469c48b00c0971e7ba84":{"name":"239501e7afe41f99231f469c48b00c0971e7ba84","schema_json":{"C":{"commonTypes":{},"entityTypes":{"C":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["C","r"],"principalTypes":["C"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C::C","id":""},"attrs":{},"parents":[]},{"uid":{"type":"C::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C::C","id":""},"resource":{"type":"C::C","id":""},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6ca329d5b193d19c6512dbddb1a50128e34ce690":{"name":"6ca329d5b193d19c6512dbddb1a50128e34ce690","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"FF%%\\0\\0\\0\\0\\0\\0\\0@\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000\u0000\u0000\u0000\u0000\u0000@\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"2b1fc2caecbcaf4c09a99ef3a2cc3f156112e495":{"name":"2b1fc2caecbcaf4c09a99ef3a2cc3f156112e495","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"2\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && (context && false)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"2"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"45932df9e6afa436b8c177221426b97fa245df56":{"name":"45932df9e6afa436b8c177221426b97fa245df56","schema_json":{"":{"commonTypes":{},"entityTypes":{"mzzzZzz0bYdlw":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["mzzzZzz0bYdlw"],"principalTypes":["mzzzZzz0bYdlw"],"context":{"type":"Record","attributes":{"mzzrzzzz00000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mzzzZzz0bYdlw","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzZzz0bYdlw","id":""},"resource":{"type":"mzzzZzz0bYdlw","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzrzzzz00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"af890984e3da2e79598e3fb4eba4fdb41989c984":{"name":"af890984e3da2e79598e3fb4eba4fdb41989c984","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0000,\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"caa3b175b406fa918945038b82d980fddc8fb8be":{"name":"caa3b175b406fa918945038b82d980fddc8fb8be","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{")":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0007":{"appliesTo":{"resourceTypes":[],"principalTypes":null,"context":{"type":"Record","attributes":{"m":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false}},"memberOf":null},"W":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"J":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d8d09ed3ce3ca1bbb7581ba1f5035cff45ea969d":{"name":"d8d09ed3ce3ca1bbb7581ba1f5035cff45ea969d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && action) && (false == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b1cdf5f8969de06b11f9fe69168f746032eca879":{"name":"b1cdf5f8969de06b11f9fe69168f746032eca879","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && (resource == resource)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ba6b0c182011c2acd90ddd555ba2a818c3097c59":{"name":"ba6b0c182011c2acd90ddd555ba2a818c3097c59","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["p"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"p":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","p"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"p","id":"O\u0001\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"p","id":":\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"p","id":""},"attrs":{},"parents":[]},{"uid":{"type":"p","id":"\u001b\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"p","id":"\u0000)c"},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"p","id":"\u0000)c"},{"type":"p","id":"O\u0001\u0000"},{"type":"p","id":":\u0001"},{"type":"p","id":"\u001b\u0002"},{"type":"p","id":""}]},{"uid":{"type":"A","id":"\u001b"},"attrs":{},"parents":[{"type":"p","id":":\u0001"},{"type":"p","id":"\u0000)c"},{"type":"p","id":""},{"type":"p","id":"\u001b\u0002"},{"type":"p","id":"O\u0001\u0000"}]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7bed48ea9fea21713719621d39a49bce6a884913":{"name":"7bed48ea9fea21713719621d39a49bce6a884913","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{":":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},";":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":":"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"101a95ae783b3b3350d89a013ec071fe2be8cdea":{"name":"101a95ae783b3b3350d89a013ec071fe2be8cdea","schema_json":{"L::Fww33333":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"attrs":{},"parents":[]},{"uid":{"type":"L::Fww33333::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"resource":{"type":"L::Fww33333::a","id":"\u0000\u0000::::::"},"action":{"type":"L::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1fda47630d60a4aa8f8e54b61d736d8952c4a7f9":{"name":"1fda47630d60a4aa8f8e54b61d736d8952c4a7f9","schema_json":{"":{"commonTypes":{},"entityTypes":{"ZJJJ":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["ZJJJ"],"principalTypes":["ZJJJ"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == ZJJJ::\"RRRR\\u{1}\\0\",\n action == Action::\"action\",\n resource == ZJJJ::\"RRRR\\u{1}\\0\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"resource":{"type":"ZJJJ","id":"RRRR\u0001\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c2a56cb9be56068dd0dafea4ea23cf7f44c7afc9":{"name":"c2a56cb9be56068dd0dafea4ea23cf7f44c7afc9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"t"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0000\u0000\u0000\u0000fnyFc"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"65e3e332f40c74f23abfd8baf2bc17fc80417214":{"name":"65e3e332f40c74f23abfd8baf2bc17fc80417214","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"..":{"appliesTo":null,"memberOf":null},")":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"(...":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aaccddc926fd9164a6bc92dd03fe08d46080cc27":{"name":"aaccddc926fd9164a6bc92dd03fe08d46080cc27","schema_json":{"r::r::r::G::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::G::r::a","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::G::r::a","id":":t:::"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::G::r::a","id":"/m"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::G::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::G::r::a","id":":t:::"},"resource":{"type":"r::r::r::G::r::a","id":":t:::"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bd4d0d3bd104ad2aa88641b7b6704cc14de00fa2":{"name":"bd4d0d3bd104ad2aa88641b7b6704cc14de00fa2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && \"\\u{8}\\0\\0\\0\") && (!principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1394e48d6330fa784673907ee1460d41a4e2659b":{"name":"1394e48d6330fa784673907ee1460d41a4e2659b","schema_json":{"A97w":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [A97w::Action::\"action\"],\n resource in A97w::a::\"#:::\"\n) when {\n (true && (!(!principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A97w::a","id":"#:::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"08b97eac230b3d3f0877670ac672eaeff6b040b0":{"name":"08b97eac230b3d3f0877670ac672eaeff6b040b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\":\\u{6}\\0\",\n action in [Action::\"action\"],\n resource == a::\":\\u{6}\\0\"\n) when {\n true && (!a::\":\\u{6}\\0\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":":\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":":\u0006\u0000"},"resource":{"type":"a","id":":\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"95c80734934226e0a88cb165c51cac873b366c06":{"name":"95c80734934226e0a88cb165c51cac873b366c06","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"0":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"0)":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"0\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"action":{"type":"Action","id":"0)"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"0"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"3f108515ed95ea8e4b5a58e5c06dc0233554f8bd":{"name":"3f108515ed95ea8e4b5a58e5c06dc0233554f8bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0006":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"_q":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0006"},"context":{"_q":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8ab854fd364fa6b25df281d285211edf8e88b60c":{"name":"8ab854fd364fa6b25df281d285211edf8e88b60c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"'%'"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"'%'"},"resource":{"type":"a","id":"'%'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"692368edab7dbe12bd7306465c125b29971d8b32":{"name":"692368edab7dbe12bd7306465c125b29971d8b32","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"[\"\n) when {\n (true && (!(!(!false)))) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"["},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"["},"resource":{"type":"a","id":"["},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8da9cb550ff0ef7473d1b148e9b7e8ee88f5908c":{"name":"8da9cb550ff0ef7473d1b148e9b7e8ee88f5908c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Entity","name":"a","required":false},"sJRd3":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":0,"r":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"da188d700d07ee66e9aed294ec88e256f96a0099":{"name":"da188d700d07ee66e9aed294ec88e256f96a0099","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if (if (if false then principal else principal) then principal else principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5f6f43e48c3d29e6d4a95ada9734f3086e67fe80":{"name":"5f6f43e48c3d29e6d4a95ada9734f3086e67fe80","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && (Action::\"action\" in \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1b156e7301e522fcea1df4a95ae0ef13cc16f2ee":{"name":"1b156e7301e522fcea1df4a95ae0ef13cc16f2ee","schema_json":{"WjjjZZZ":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == WjjjZZZ::a::\"\",\n action in [WjjjZZZ::Action::\"action\",WjjjZZZ::Action::\"action\"],\n resource == WjjjZZZ::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"WjjjZZZ::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"WjjjZZZ::a","id":""},"resource":{"type":"WjjjZZZ::a","id":""},"action":{"type":"WjjjZZZ::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ba6b355a1bf226a09064499762b03cea811236f5":{"name":"ba6b355a1bf226a09064499762b03cea811236f5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a3b257185fb23a9c0a90adde68f13406ecb679e1":{"name":"a3b257185fb23a9c0a90adde68f13406ecb679e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e2dcc9016e893ab66204bb8a0b802a61432ab015":{"name":"e2dcc9016e893ab66204bb8a0b802a61432ab015","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d1832cc54d36e8a945ff67e28ed9aecce85c38bf":{"name":"d1832cc54d36e8a945ff67e28ed9aecce85c38bf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && (!(!true))\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"a6a34b4a0bae150ab6a591014b93cee198e4fd9e":{"name":"a6a34b4a0bae150ab6a591014b93cee198e4fd9e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if (context * 280800715746538) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a255f02c579a54eb5b951054c68bd1b66010ed82":{"name":"a255f02c579a54eb5b951054c68bd1b66010ed82","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"B":{"type":"Extension","name":"ipaddr","required":false},"P":{"type":"Extension","name":"ipaddr","required":false},"R":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"702a0eed1ebff6ff86c8b11a288329d3c6058d52":{"name":"702a0eed1ebff6ff86c8b11a288329d3c6058d52","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"String","required":false},"w":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"20dd5f5214b3fa3fe3e118070ab74295dd0c9fd7":{"name":"20dd5f5214b3fa3fe3e118070ab74295dd0c9fd7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{1a}0l0i\",\n action in [],\n resource in a::\"\\u{1a}0l0i\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u001a0l0i"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u001a0l0i"},"resource":{"type":"a","id":"\u001a0l0i"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"235aa374664b3c61ac0316bde4984195fa29ab2d":{"name":"235aa374664b3c61ac0316bde4984195fa29ab2d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"l":{"type":"Set","element":{"type":"Set","element":{"type":"String"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{"l":[]},"parents":[]},{"uid":{"type":"a","id":"ï¾¾"},"attrs":{"l":[]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"l":[["","","","","",""],[],[],[],[],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0003+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b8a54ca437e5986646f9bb67b54eca04a728c310":{"name":"b8a54ca437e5986646f9bb67b54eca04a728c310","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"z\",\n action == Action::\"action\",\n resource == a::\"z\"\n) when {\n (true && (8827056895198657146 == ((122 == principal) == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b8fd93ae23da1e6bbaf51234f0e34b9603bd151e":{"name":"b8fd93ae23da1e6bbaf51234f0e34b9603bd151e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\0\\0\\u{6}\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\\0\\0\\u{6}\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0006\u0000\u0000\u0006\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ef4e9a9da6121724743477e359fd3ecd4de71362":{"name":"ef4e9a9da6121724743477e359fd3ecd4de71362","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3277f98cc8cef0c9e1dff218f5a7ab0fdb3ba0f0":{"name":"3277f98cc8cef0c9e1dff218f5a7ab0fdb3ba0f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0013"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u00000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u0013"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0013"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e357d040862fab0ebee3c62b8c96810d5b69cf0a":{"name":"e357d040862fab0ebee3c62b8c96810d5b69cf0a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{":":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::"},"attrs":{"A":{":":{"__entity":{"id":"::\u0000\u0000::\u0000\u0000","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"attrs":{"A":{":":{"__entity":{"id":"::\u0000\u0000::\u0000\u0000","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{":":{"__entity":{"id":"::\u0000\u0000::\u0000\u0000","type":"a"}}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"resource":{"type":"a","id":"::\u0000\u0000::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e197f2fde87822377f06d1fd153e29b62e06f8d3":{"name":"e197f2fde87822377f06d1fd153e29b62e06f8d3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0005UUUUUU"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0005UUUUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"59199c03f45c37423e486ab414eb6eb5288ef00b":{"name":"59199c03f45c37423e486ab414eb6eb5288ef00b","schema_json":{"Fwwwww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwww::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"attrs":{},"parents":[]},{"uid":{"type":"Fwwwww::a","id":"\f\f\f\f\fb"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"resource":{"type":"Fwwwww::a","id":"ff\f\f\f\f"},"action":{"type":"Fwwwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ec17b82554295cb700c5c7b245471f51772a3b24":{"name":"ec17b82554295cb700c5c7b245471f51772a3b24","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"attrs":{"x":{"__entity":{"id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"resource":{"type":"a","id":"fffffffgf`f\u0000ff~\u0000f'fr\u0000\u0000fT"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7554afe3451c9e6592df5042bfc0bd519c12468e":{"name":"7554afe3451c9e6592df5042bfc0bd519c12468e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource in a::\"\\0\\0\\\"\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"65a41a239147613edda56c85a5fe6c8f6cfb2aa1":{"name":"65a41a239147613edda56c85a5fe6c8f6cfb2aa1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n ((true && ((!Action::\"action\") like \"\\u{1}***\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7a089572bbbeebd8f64e2e8ae9773b02eff6c7a1":{"name":"7a089572bbbeebd8f64e2e8ae9773b02eff6c7a1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true && (decimal((a::\"\" == false) == principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5bd0c468b9d2c31ce3ad1f639ce3f2324b3aaf1e":{"name":"5bd0c468b9d2c31ce3ad1f639ce3f2324b3aaf1e","schema_json":{"":{"commonTypes":{},"entityTypes":{"x":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["x","r"],"principalTypes":["x","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6ce55f921806bc574050a450b7b8faa303c9f3fc":{"name":"6ce55f921806bc574050a450b7b8faa303c9f3fc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e3e0c344cd87f7e9a5cde178394188f4eaaf7fbd":{"name":"e3e0c344cd87f7e9a5cde178394188f4eaaf7fbd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"C24":{"type":"String","required":false},"r":{"type":"String","required":false},"wme3wmmmemmmmmm":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C24":"","r":"","wme3wmmmemmmmmm":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3789f3fb4358bddc1dac1aa750ce1a17e8fed5ed":{"name":"3789f3fb4358bddc1dac1aa750ce1a17e8fed5ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"ff\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"ff\\0\"\n) when {\n (true && (((x000000000000000::\"\" has \":*\") in principal) has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3ae6afb11e33926e2cb1dc54cf36e174ab7414e5":{"name":"3ae6afb11e33926e2cb1dc54cf36e174ab7414e5","schema_json":{"":{"commonTypes":{},"entityTypes":{"m80":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fwwww8u8":{"memberOfTypes":["m80"],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwwww8u8","m80"],"principalTypes":["m80"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m80","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fwwww8u8","id":""},"attrs":{"A":""},"parents":[{"type":"m80","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m80","id":""},"resource":{"type":"Fwwww8u8","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"585652a4c05f9b6d0b92999377d7a635f409b73a":{"name":"585652a4c05f9b6d0b92999377d7a635f409b73a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"624156ac4fff56421b32744f2ac8b14b89cf642b":{"name":"624156ac4fff56421b32744f2ac8b14b89cf642b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"&0\",\n action in [Action::\"action\"],\n resource\n) when {\n ((true && (principal == (action <= principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"&0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"&0"},"resource":{"type":"a","id":"&0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6984a182df03f0aac385f34679e4c3c20137d479":{"name":"6984a182df03f0aac385f34679e4c3c20137d479","schema_json":{"":{"commonTypes":{},"entityTypes":{"m":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["m"],"principalTypes":["m"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m","id":""},"attrs":{},"parents":[]},{"uid":{"type":"m","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"m","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m","id":"\u0000\u0000\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m","id":"\u0000\u0000\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m","id":"\u0000"},"resource":{"type":"m","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"6a80d8de7f543465fbf4d89e1e2b6f6ae0616e82":{"name":"6a80d8de7f543465fbf4d89e1e2b6f6ae0616e82","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2939b834ab5bcb99cdb7050100c28a9b421cf492":{"name":"2939b834ab5bcb99cdb7050100c28a9b421cf492","schema_json":{"r::l77::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::l77::r::a::\"\",\n action in [r::l77::r::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::l77::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7c86e43a5b649553003524a121d788581e8b519b":{"name":"7c86e43a5b649553003524a121d788581e8b519b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && a::\"\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"15563f0ff844401488c49316ba8cb82f870c3caa":{"name":"15563f0ff844401488c49316ba8cb82f870c3caa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && ((context in principal) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3aaa25af5b727ce4dd50a3f9fdb8065c1efc2d55":{"name":"3aaa25af5b727ce4dd50a3f9fdb8065c1efc2d55","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"wgldmlAlA":{"type":"Record","attributes":{"":{"type":"String","required":false},"/\n/\n\u0006":{"type":"Entity","name":"a","required":false},"inf":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","/\n/\n\u0006":{"__entity":{"id":"","type":"a"}},"inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3499f81f5953dccba2a97c7f97f4c5fc46be27ca":{"name":"3499f81f5953dccba2a97c7f97f4c5fc46be27ca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && ((!(!false)).lessThanOrEqual(!principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0f921ba46a7f2a9d02dc34b4f2876f50cb7eb4c5":{"name":"0f921ba46a7f2a9d02dc34b4f2876f50cb7eb4c5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"272ae71ac571077560328329952bd2cc5744eafe":{"name":"272ae71ac571077560328329952bd2cc5744eafe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource\n) when {\n ((true && ((context - principal) in principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5c2e65275c8bebc22d36a958acbb1651fa208b11":{"name":"5c2e65275c8bebc22d36a958acbb1651fa208b11","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"76fa0ec48009d3e86ce13407ee52ec66eb7fb4d8":{"name":"76fa0ec48009d3e86ce13407ee52ec66eb7fb4d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"l/"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f23ddaae112b5991d33858a825aba8ea1410abe1":{"name":"f23ddaae112b5991d33858a825aba8ea1410abe1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"V"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"cb9736c90c6e91da980b4286805b8759e8140360":{"name":"cb9736c90c6e91da980b4286805b8759e8140360","schema_json":{"r::l77::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::l77::r::a::\"\",\n action in [r::l77::r::Action::\"action\"],\n resource == r::l77::r::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::l77::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"e3bff26c81d2d23ef3cd5e9a30a37d299fd579c3":{"name":"e3bff26c81d2d23ef3cd5e9a30a37d299fd579c3","schema_json":{"q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == q::Action::\"action\",\n resource in q::a::\"\"\n) when {\n (true && (principal has \"i\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"q::a","id":"\u001b\u001b\u001b\u0019"},"attrs":{},"parents":[]},{"uid":{"type":"q::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"q::a","id":""},"resource":{"type":"q::a","id":""},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"167321bd733beac1a5d200b39f1b1bf3b4009275":{"name":"167321bd733beac1a5d200b39f1b1bf3b4009275","schema_json":{"B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"f":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal == B::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":""},"action":{"type":"B::Action","id":"f"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4a1ccee551b4da9723f0bd925c0e6ba122edc2c1":{"name":"4a1ccee551b4da9723f0bd925c0e6ba122edc2c1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"zzzz3\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zzzz3"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"í……"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzz3"},"resource":{"type":"a","id":"zzzz3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"76a183abe57b42df274fdc83a8adc4a76a86e972":{"name":"76a183abe57b42df274fdc83a8adc4a76a86e972","schema_json":{"bLD000aw988::r09::A::Fww33333":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"resource":{"type":"bLD000aw988::r09::A::Fww33333::a","id":""},"action":{"type":"bLD000aw988::r09::A::Fww33333::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ec161281562607a66b1f81afd1749c629f8b481a":{"name":"ec161281562607a66b1f81afd1749c629f8b481a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\"],\n resource in a::\"\"\n) when {\n (true && {}) && A::Ahhh1h00::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6e8e7e91c57a86a78c4b78b8d7ea11c198a11fc5":{"name":"6e8e7e91c57a86a78c4b78b8d7ea11c198a11fc5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"\u0002\u0000\u0000:d":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"fff"},"attrs":{"A":{"\u0002\u0000\u0000:d":{"__entity":{"id":"\u0000ff","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":"\u0000:"},"attrs":{"A":{"\u0002\u0000\u0000:d":{"__entity":{"id":"\u0000ff","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{"\u0002\u0000\u0000:d":{"__entity":{"id":"\u0000ff","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":"\u0000ff"},"attrs":{"A":{"\u0002\u0000\u0000:d":{"__entity":{"id":"\u0000ff","type":"a"}}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000ff"},"resource":{"type":"a","id":"\u0000ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4fca9f77ff054ace350a45f645717d9db0dcd05d":{"name":"4fca9f77ff054ace350a45f645717d9db0dcd05d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":\u0002"},"attrs":{"F":[[true,false,false],[false,false],[true,false],[false,false],[]]},"parents":[]},{"uid":{"type":"a","id":"33"},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":\u0002"},"resource":{"type":"a","id":":\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2be730f03e17dff06a3b162a5bab74a5a8b443ef":{"name":"2be730f03e17dff06a3b162a5bab74a5a8b443ef","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"resource":{"type":"a","id":"\u0000\u0000FFFF\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0011\u0011\u0011\u0011\u0011\u0011\u0011"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b1f3140125d5a63832b560a8ceca4e9824da293d":{"name":"b1f3140125d5a63832b560a8ceca4e9824da293d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && ((!false) || true)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dac47e38ea5df9441922928f293efcbc4f6ba722":{"name":"dac47e38ea5df9441922928f293efcbc4f6ba722","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"0\"\n) when {\n true && (!(!false))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0daaf207b4203e78d906424710b02a535efc7e76":{"name":"0daaf207b4203e78d906424710b02a535efc7e76","schema_json":{"":{"commonTypes":{},"entityTypes":{"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"String","required":false}},"additionalAttributes":false}},"r":{"memberOfTypes":["K"],"shape":{"type":"Record","attributes":{"yKJJ000":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","K"],"principalTypes":["r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{"yKJJ000":0},"parents":[{"type":"K","id":""}]},{"uid":{"type":"K","id":""},"attrs":{"r":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a22b826eb029b8cbbd35458232473d4b0a03313f":{"name":"a22b826eb029b8cbbd35458232473d4b0a03313f","schema_json":{"":{"commonTypes":{},"entityTypes":{"L":{"memberOfTypes":["Fwwwwwww3","r","x"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fwwwwwww3":{"memberOfTypes":["r","x"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["x"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"x":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwwwwwww3","r","x"],"principalTypes":["L","Fwwwwwww3","r","x"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwwwww3","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"x","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"x","id":""}]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[]},{"uid":{"type":"L","id":""},"attrs":{},"parents":[{"type":"x","id":""},{"type":"r","id":""},{"type":"Fwwwwwww3","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L","id":""},"resource":{"type":"Fwwwwwww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"07c8a8cfabada6bb90447010829e8e73fc84580d":{"name":"07c8a8cfabada6bb90447010829e8e73fc84580d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n (true && a::\"\") && (!(!(a::\"\".containsAll(principal))))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"93fad044ad6b5540b4c877e68c4a6e802b36a01a":{"name":"93fad044ad6b5540b4c877e68c4a6e802b36a01a","schema_json":{"r::r::C::A::B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Wjjjjjux2":{"type":"Entity","name":"r::r::C::A::B::a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::C::A::B::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::C::A::B::a","id":""},"resource":{"type":"r::r::C::A::B::a","id":""},"action":{"type":"r::r::C::A::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::C::A::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"186022020bf2be6068a0dcb7e9e9184dc855d5d8":{"name":"186022020bf2be6068a0dcb7e9e9184dc855d5d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"WN":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"....":{"appliesTo":{"resourceTypes":["WN"],"principalTypes":["WN"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"WN","id":""},"attrs":{},"parents":[]},{"uid":{"type":"WN","id":"...."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e2c3298a9025cabbcf814803d3a81cf93ced082e":{"name":"e2c3298a9025cabbcf814803d3a81cf93ced082e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"328b75efdada2eb6574fb25c99286236d7da72f1":{"name":"328b75efdada2eb6574fb25c99286236d7da72f1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"`\",\n action,\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1f85d214b5fa238610b6e3b5e0376f9e30de9220":{"name":"1f85d214b5fa238610b6e3b5e0376f9e30de9220","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"0\",\n action == Action::\"action\",\n resource in a::\"0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"5041$\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22948e4b0b465a544b92e1a913262948f0a1fa97":{"name":"22948e4b0b465a544b92e1a913262948f0a1fa97","schema_json":{"r::r::r::T::r":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::T::r::r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::T::r::A","id":""},"attrs":{},"parents":[{"type":"r::r::r::T::r::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"73126d9b0b475e3fc2096b9ef2e4abd11bf0f3fd":{"name":"73126d9b0b475e3fc2096b9ef2e4abd11bf0f3fd","schema_json":{"r::_::r::r37::R":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Qxxx":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::_::r::r37::R::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::_::r::r37::R::a","id":""},"resource":{"type":"r::_::r::r37::R::a","id":""},"action":{"type":"r::_::r::r37::R::Action","id":"action"},"context":{"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"75e47b98788febe22f67d562e70c983ef7b6cf81":{"name":"75e47b98788febe22f67d562e70c983ef7b6cf81","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && ((principal like \"\") || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"f\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"5f6aa37dca1d195c21ff22ba1d1b37fffc70a8e1":{"name":"5f6aa37dca1d195c21ff22ba1d1b37fffc70a8e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"em":{"appliesTo":null,"memberOf":null},":::cÊŒto":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"B:z:;:::::7::":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"em"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"05ced0c2a3b26e996cd9857050b5cb568f3c55a4":{"name":"05ced0c2a3b26e996cd9857050b5cb568f3c55a4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\"],\n resource in a::\"00\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ab562d3caf2edb027c4de066f9ca76d267a2b6d8":{"name":"ab562d3caf2edb027c4de066f9ca76d267a2b6d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"159538477382f362742140e665a05a6e99bd8191":{"name":"159538477382f362742140e665a05a6e99bd8191","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"00\",\n action in [Action::\"action\"],\n resource in a::\"00\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e80d76eb66f3ed2e198f61e73099e822cc021d73":{"name":"e80d76eb66f3ed2e198f61e73099e822cc021d73","schema_json":{"G::lm7::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"KjLjjjjxx":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G::lm7::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G::lm7::r::a","id":""},"resource":{"type":"G::lm7::r::a","id":""},"action":{"type":"G::lm7::r::Action","id":"action"},"context":{"KjLjjjjxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"eae3e1fd9f742fe24356b3508199c42e6aa33f09":{"name":"eae3e1fd9f742fe24356b3508199c42e6aa33f09","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && Action::\"action\") && (Action::\"action\" == ((!a::\"\") == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ff06c4ecb3b77a633e4127b138b788d82f45cd87":{"name":"ff06c4ecb3b77a633e4127b138b788d82f45cd87","schema_json":{"":{"commonTypes":{},"entityTypes":{"ZJJJ":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["ZJJJ"],"principalTypes":["ZJJJ"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"ZJJJ","id":"JJz"},"attrs":{},"parents":[]},{"uid":{"type":"ZJJJ","id":"zzz\nzzzl"},"attrs":{},"parents":[]},{"uid":{"type":"ZJJJ","id":"\u000b"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"ZJJJ","id":"zzz\nzzzl"},"resource":{"type":"ZJJJ","id":"zzz\nzzzl"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"671e345c95570901c70a5fb2f4f16af13dcc9e65":{"name":"671e345c95570901c70a5fb2f4f16af13dcc9e65","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"f\\0fff\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f\u0000fff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f\u0000fff"},"resource":{"type":"a","id":"f\u0000fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5f10c65b3670d29e1044f6220de6d98f0b57d8c6":{"name":"5f10c65b3670d29e1044f6220de6d98f0b57d8c6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\t\u0000\u0000j\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\t\u0000\u0000j\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cdc3a1be26de1d55c9a999fcd2bca635ab0994ae":{"name":"cdc3a1be26de1d55c9a999fcd2bca635ab0994ae","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C":{"type":"Boolean","required":false},"C22":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{"IvkElh":{"type":"String","required":false},"p2kk00000":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{"C22":false,"C":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{"p2kk00000":"","r":"","IvkElh":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5b426cc601268dd506e394ef2ab467a302267409":{"name":"5b426cc601268dd506e394ef2ab467a302267409","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"::::::::\"\n) when {\n (true && (!(!(!false)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"::::::::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"::::::::"},"resource":{"type":"a","id":"::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d2fa250e2aba06b4c57ebe4937327d3ef25aa6be":{"name":"d2fa250e2aba06b4c57ebe4937327d3ef25aa6be","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (a::\"\" like \"trN*tiv\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5913ef210c552e84809af769a1f426379fe1090c":{"name":"5913ef210c552e84809af769a1f426379fe1090c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"acTi"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"acTi"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"acTi"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"acTi"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b2cf1b0ae1eee0fecd5a7c46c3487f3b6dc6b057":{"name":"b2cf1b0ae1eee0fecd5a7c46c3487f3b6dc6b057","schema_json":{"Qmc::Qx0xxu_YYYY":{"commonTypes":{},"entityTypes":{"qmlAURxxx":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["qmlAURxxx"],"principalTypes":["qmlAURxxx"],"context":{"type":"Record","attributes":{"A000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"resource":{"type":"Qmc::Qx0xxu_YYYY::qmlAURxxx","id":""},"action":{"type":"Qmc::Qx0xxu_YYYY::Action","id":"action"},"context":{"A000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"13478b9a425393db10ad8b788501d61f44fdba5b":{"name":"13478b9a425393db10ad8b788501d61f44fdba5b","schema_json":{"":{"commonTypes":{},"entityTypes":{"l0wwwXb0wwww":{"memberOfTypes":["umkldY"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"umkldY":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["umkldY"],"principalTypes":["l0wwwXb0wwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"umkldY","id":""},"attrs":{},"parents":[]},{"uid":{"type":"l0wwwXb0wwww","id":""},"attrs":{},"parents":[{"type":"umkldY","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l0wwwXb0wwww","id":""},"resource":{"type":"umkldY","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"850d5550a7987fccee6e5d66cbafdb33a167ae18":{"name":"850d5550a7987fccee6e5d66cbafdb33a167ae18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000]"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000]"},"resource":{"type":"a","id":"\u0000\u0000]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"409414c9f886f7fc05131ff28e7e2e1fe5dc98f8":{"name":"409414c9f886f7fc05131ff28e7e2e1fe5dc98f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource in a::\"\"\n) when {\n (true && (((Action::\"action\" == \"\\0\") || false) || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"33cc1dba8276b82395d85d8bff2da91103f9f272":{"name":"33cc1dba8276b82395d85d8bff2da91103f9f272","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (\"\" <= \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"17f84086f0fb865ed25ea07f776b9882c39624f4":{"name":"17f84086f0fb865ed25ea07f776b9882c39624f4","schema_json":{"":{"commonTypes":{},"entityTypes":{"G666E66":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G666E66"],"principalTypes":["G666E66"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == G666E66::\"&\",\n action in [Action::\"action\"],\n resource in G666E66::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G666E66","id":"&"},"attrs":{},"parents":[]},{"uid":{"type":"G666E66","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G666E66","id":"\u0000\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G666E66","id":""},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"G666E66","id":"&"},"resource":{"type":"G666E66","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ca3865c2e9e9f967ec6c1d85bd1ec6b9ce81d326":{"name":"ca3865c2e9e9f967ec6c1d85bd1ec6b9ce81d326","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"zzzz":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"510c1809882aa069966e45653f72eaa2ead38322":{"name":"510c1809882aa069966e45653f72eaa2ead38322","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0c367b79cc920e0feaf83ea234081b5ed3e76fa5":{"name":"0c367b79cc920e0feaf83ea234081b5ed3e76fa5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n ((true && a::\"\\0\") && ((principal.containsAll(principal)).containsAll(principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1649d084ecfec7fa9186c8d8ebfaed6f289d346f":{"name":"1649d084ecfec7fa9186c8d8ebfaed6f289d346f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"sun_misc_P":{"appliesTo":null,"memberOf":null},"va":{"appliesTo":null,"memberOf":null},"rf_regi":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"te":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"sun_misc_P"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c50d23d149e88f8c1f22e7ff754ea830991fc3bc":{"name":"c50d23d149e88f8c1f22e7ff754ea830991fc3bc","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":["r","F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F","r","F333"],"principalTypes":["F","r","F333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":":::"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"F333","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"F333","id":""}]},{"uid":{"type":"F","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"F333","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5b40ceb430b87a6433ab7e2ea69ee5b51243d21f":{"name":"5b40ceb430b87a6433ab7e2ea69ee5b51243d21f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fa37079bf737ea492a8a3f162500426b806c287e":{"name":"fa37079bf737ea492a8a3f162500426b806c287e","schema_json":{"":{"commonTypes":{},"entityTypes":{"G":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Extension","name":"ipaddr","required":false},"x":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G"],"principalTypes":["G"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":"fff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":"fff"},"resource":{"type":"G","id":"fff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d7f429d1a07862e1d1dbdcc9d67d7b1122bd7887":{"name":"d7f429d1a07862e1d1dbdcc9d67d7b1122bd7887","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000#\b\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000#\b\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"438bf26e074c78254f9f05cdadc1e87b1c145a98":{"name":"438bf26e074c78254f9f05cdadc1e87b1c145a98","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e8df0ae1d2f80908d3d4839521df15a7b72ce543":{"name":"e8df0ae1d2f80908d3d4839521df15a7b72ce543","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"mxxx":{"type":"Long","required":false}},"additionalAttributes":false}},"v":{"memberOfTypes":["a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Qx":{"memberOfTypes":["v"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Qx","a"],"principalTypes":["Qx","v","a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::Qx","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""},{"type":"cP::v::v","id":""}]},{"uid":{"type":"cP::v::a","id":""},"attrs":{"mxxx":0},"parents":[]},{"uid":{"type":"cP::v::v","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::Qx","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f647534b9f74d73fb3f220cf78c5a857cd0a8b19":{"name":"f647534b9f74d73fb3f220cf78c5a857cd0a8b19","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\",Action::\"\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"d"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\t\t"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"d"},"resource":{"type":"a","id":"d"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d382a671c24db31d5920a4219abaebd38738820f":{"name":"d382a671c24db31d5920a4219abaebd38738820f","schema_json":{"zppWEj::AZ330::Hqj":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r"],"principalTypes":["r"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"zppWEj::AZ330::Hqj::r","id":""},"attrs":{"A":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"zppWEj::AZ330::Hqj::r","id":""},"resource":{"type":"zppWEj::AZ330::Hqj::r","id":""},"action":{"type":"zppWEj::AZ330::Hqj::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"de9a66a5e8d3752b3e3569c04148a8707ae7c42c":{"name":"de9a66a5e8d3752b3e3569c04148a8707ae7c42c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Qxxx":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"r":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false}}},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zz"},"attrs":{"Qxxx":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"Qxxx":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{"A":false,"r":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3004e6adb816e399febf4b58bee52dcf52408490":{"name":"3004e6adb816e399febf4b58bee52dcf52408490","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"09f6db1af99d55f35cde7641356a729d7dd01a6b":{"name":"09f6db1af99d55f35cde7641356a729d7dd01a6b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && context) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"_z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"fe82e4c8f1e0fc7dffe20c92ddee7696b523ab04":{"name":"fe82e4c8f1e0fc7dffe20c92ddee7696b523ab04","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"u":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"O..D":{"appliesTo":{"resourceTypes":["u","r"],"principalTypes":["u","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["u","r"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"u","id":""},"attrs":{"A":""},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"u","id":""},"resource":{"type":"u","id":""},"action":{"type":"Action","id":"O..D"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4152f079059c8e73f72310634b475881b4ebb8ab":{"name":"4152f079059c8e73f72310634b475881b4ebb8ab","schema_json":{"v::Qx::bxxvxxxxxxx::v::qL::OMRR":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"resource":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::a","id":""},"action":{"type":"v::Qx::bxxvxxxxxxx::v::qL::OMRR::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a94a8c799f6f251cf64654360a670c71564f2e79":{"name":"a94a8c799f6f251cf64654360a670c71564f2e79","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vhhhghhhkkkkkkkk3":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vhhhghhhkkkkkkkk3"],"principalTypes":["Vhhhghhhkkkkkkkk3"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhghhhkkkkkkkk3","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"resource":{"type":"Vhhhghhhkkkkkkkk3","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c6bcd471cae5ad7ab536c06e6ddc78badb805266":{"name":"c6bcd471cae5ad7ab536c06e6ddc78badb805266","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\",\n action == Action::\"action\",\n resource == a::\"\\u{2}\\u{2}\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1840e254d6158bdeefa9ac394b9721b87c26d20b":{"name":"1840e254d6158bdeefa9ac394b9721b87c26d20b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && ((principal like \"\") like \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"f\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3f7b0ffba42bc51579c020cef13dd8e226b1838c":{"name":"3f7b0ffba42bc51579c020cef13dd8e226b1838c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true && (a::\"\\0\" like \"re*\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a8b757dff29c824709e5fcd3aeacdf2aa8cfebae":{"name":"a8b757dff29c824709e5fcd3aeacdf2aa8cfebae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if (if (15395427[\"~\"]) then principal else principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f417b638604217ea652bb0c087fbb3afe27b2d2a":{"name":"f417b638604217ea652bb0c087fbb3afe27b2d2a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\\u{2}\\u{2}1sq\\u{2}\\u{2}.\\u{2}\\0\\u{2}\\u{2}1\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\\u{2}\\u{2}1sq\\u{2}\\u{2}.\\u{2}\\0\\u{2}\\u{2}1\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"resource":{"type":"a","id":"\u0000\u0002\u00021sq\u0002\u0002.\u0002\u0000\u0002\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"4de0edce6ed72c4b835ccd121bb928855c95dce4":{"name":"4de0edce6ed72c4b835ccd121bb928855c95dce4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca8c65d6a0d28a825efa2260b21fb646da2d7305":{"name":"ca8c65d6a0d28a825efa2260b21fb646da2d7305","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"RRRRRR":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"RRRRRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"90f95922eb26aa4ff33a704449c5dca95cc9d0e8":{"name":"90f95922eb26aa4ff33a704449c5dca95cc9d0e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@wIzz(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc3a9bc9b547563249b2c43dffb33dc95829c5fa":{"name":"bc3a9bc9b547563249b2c43dffb33dc95829c5fa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"&\\0\"\n) when {\n (true && (((principal has \"\") has \"\") has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e2cce766fd4f34d8e68da07dea8946df560b0ccb":{"name":"e2cce766fd4f34d8e68da07dea8946df560b0ccb","schema_json":{"":{"commonTypes":{},"entityTypes":{"Khhhhhf":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Khhhhhf"],"principalTypes":["Khhhhhf"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khhhhhf","id":"\u0000\n\u001b"},"attrs":{},"parents":[]},{"uid":{"type":"Khhhhhf","id":"$\u0000K"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhhhhf","id":"$\u0000K"},"resource":{"type":"Khhhhhf","id":"$\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1d0b0b533527c47fb8e910f2df27351817ca364b":{"name":"1d0b0b533527c47fb8e910f2df27351817ca364b","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == A::\":::8>\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":":::8>"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"a815ab0a661a3ff66ab845596fdeefcaaa2232fc":{"name":"a815ab0a661a3ff66ab845596fdeefcaaa2232fc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (((if 0 then principal else principal) || principal) || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"k"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4175e34243cc2a879f292b2413914b7dcb124a27":{"name":"4175e34243cc2a879f292b2413914b7dcb124a27","schema_json":{"W::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"kg":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == W::v::a::\"\",\n action in [W::v::Action::\"kg\",W::v::Action::\"kg\",W::v::Action::\"kg\"],\n resource in W::v::a::\"\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"W::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"W::v::Action","id":"kg"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"635b08739251410fd0264acae27eea2ca8bce572":{"name":"635b08739251410fd0264acae27eea2ca8bce572","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"resource":{"type":"a","id":"\u0002o\u0002\u0002\u0002\u0002\u0002\u0002NPT\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"41720d33fd4859c3997248e38c3c2b706cfd290d":{"name":"41720d33fd4859c3997248e38c3c2b706cfd290d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && (\"\\0\\0\" in (if principal then principal else principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"575d96f86187dc6fb7ca8b3896f225b66318b7c7":{"name":"575d96f86187dc6fb7ca8b3896f225b66318b7c7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (!false)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"858d3a0145d6b20088d1bd3044de51e229ca13a6":{"name":"858d3a0145d6b20088d1bd3044de51e229ca13a6","schema_json":{"G6660x6::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"b77750000000000":{"type":"String","required":false},"sruyqcpv":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G6660x6::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G6660x6::r::a","id":""},"resource":{"type":"G6660x6::r::a","id":""},"action":{"type":"G6660x6::r::Action","id":"action"},"context":{"b77750000000000":"","sruyqcpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2785cfcda5ecacf34130172e5c1d482f75c5ff03":{"name":"2785cfcda5ecacf34130172e5c1d482f75c5ff03","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8fb94680726921adf01d87fcef5aedc39e1ce6b1":{"name":"8fb94680726921adf01d87fcef5aedc39e1ce6b1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}1\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\\u{2}1\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6de05639a846fa66cbb84d304bd0fdb02a941f71":{"name":"6de05639a846fa66cbb84d304bd0fdb02a941f71","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"O455_z":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"y/"},"attrs":{"O455_z":[false,true]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"O455_z":[false,true]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"y/"},"resource":{"type":"a","id":"y/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9228e32f4fcb3799929299c061ef5bbf5e05877c":{"name":"9228e32f4fcb3799929299c061ef5bbf5e05877c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"om/s":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"n":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"F":{"appliesTo":{"resourceTypes":["a"],"principalTypes":[],"context":{"type":"Record","attributes":{"q":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0f662f9123a3f835c7dc1004515f79b1609d2e58":{"name":"0f662f9123a3f835c7dc1004515f79b1609d2e58","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\\0\")\npermit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (((false == principal).containsAny(principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1cb3773bd41281fd1ef4bad379b0f734ee9fe4b2":{"name":"1cb3773bd41281fd1ef4bad379b0f734ee9fe4b2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\\0\")\nforbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0002\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"f20293b453e1c23064a0f47fb42fd0710e6f1271":{"name":"f20293b453e1c23064a0f47fb42fd0710e6f1271","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{4}\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0004"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3d0e48d2cc7268c89f217b05d96c68087eebec1a":{"name":"3d0e48d2cc7268c89f217b05d96c68087eebec1a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}\",\n action in [Action::\"action\"],\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}c\\0\\0\\0\\0\\0\\0\\0\\r\\u{2}\\n\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\u0002\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"83296094a7d88d71a4a7b7cbe8d92117cb97f6c0":{"name":"83296094a7d88d71a4a7b7cbe8d92117cb97f6c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n (true && (((principal <= principal) in principal) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ed1ce2fa3332326bafdf017d584c07b142c7793e":{"name":"ed1ce2fa3332326bafdf017d584c07b142c7793e","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"o":{"memberOfTypes":["v","r","A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"v":{"memberOfTypes":["r","A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["o","v","A"],"principalTypes":["o","v"],"context":{"type":"Record","attributes":{"Bcqs20000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[]},{"uid":{"type":"o","id":""},"attrs":{},"parents":[{"type":"v","id":""},{"type":"A","id":""},{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"A","id":""}]},{"uid":{"type":"v","id":""},"attrs":{},"parents":[{"type":"A","id":""},{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"o","id":""},"resource":{"type":"o","id":""},"action":{"type":"Action","id":"action"},"context":{"Bcqs20000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d7f8fbf3df419726990afb22a94eff94e1aad654":{"name":"d7f8fbf3df419726990afb22a94eff94e1aad654","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\\0\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"294094e7c55158d15d4b8ad3a2900b44cacdd859":{"name":"294094e7c55158d15d4b8ad3a2900b44cacdd859","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@B(\"609-\")\nforbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if ((21 == principal).containsAny(principal)) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8e9680ad7a0e2e82660c1615cb612d4330afcfc5":{"name":"8e9680ad7a0e2e82660c1615cb612d4330afcfc5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"f"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1eac86e06597f6e0416b884fc15a81bffa608603":{"name":"1eac86e06597f6e0416b884fc15a81bffa608603","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (\"\" has \"6\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000(\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000(\u0000"},"resource":{"type":"a","id":"\u0000(\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d09c3c69af274d51d9b2e1b8cca81aa059307a68":{"name":"d09c3c69af274d51d9b2e1b8cca81aa059307a68","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && \"\\u{1}j\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"8"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"60260717214e25c1178d39b89fa235fb5444312b":{"name":"60260717214e25c1178d39b89fa235fb5444312b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000r3\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000r3\u0000\u0000"},"resource":{"type":"a","id":"\u0000r3\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"c85960cb2c1b2196b11d513b4046b6fe3c8871fa":{"name":"c85960cb2c1b2196b11d513b4046b6fe3c8871fa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"kl":{"appliesTo":null,"memberOf":null},"kld:::::::::::2Fwww3wUwa":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"kl"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a8fc79a3eec07b04aa1c95873391b6aeb87f2f83":{"name":"a8fc79a3eec07b04aa1c95873391b6aeb87f2f83","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000::L\u0000\u0000\u0000%/lang/invo"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6bd85935b72b96cef2480563a8b387fbe994645c":{"name":"6bd85935b72b96cef2480563a8b387fbe994645c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"ff\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"ff\\0\"\n) when {\n (true && (((a::\"\" in false) has \"\") has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f61502511056c09d7def6b94864dd4cec4693416":{"name":"f61502511056c09d7def6b94864dd4cec4693416","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"Java_sun_misc":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"P":{"appliesTo":null,"memberOf":null},"s":{"appliesTo":null,"memberOf":null},"rf_reg":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"Java_sun_misc"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7cd50515e56779a3cda79dcc3ffb3f6f1bc8c16e":{"name":"7cd50515e56779a3cda79dcc3ffb3f6f1bc8c16e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"(....":{"appliesTo":null,"memberOf":null},"(":{"appliesTo":{"resourceTypes":["a"],"principalTypes":[],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"é©©":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"/"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"(...."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc9ab20725b791a5660f678694db33cb4a1ccefe":{"name":"bc9ab20725b791a5660f678694db33cb4a1ccefe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"\"\n) when {\n true && ((-(-(64021759393792))) in principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1b03f18a65dafe6bc111ad12c0de50aa56bf5179":{"name":"1b03f18a65dafe6bc111ad12c0de50aa56bf5179","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0zzz\\u{11}z\",\n action == Action::\"action\",\n resource == a::\"\\0zzz\\u{11}z\"\n) when {\n (true && (((false || \"\") == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000zzz\u0011z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a10348d2b02de73347a50d257afe7947d0b0b8ac":{"name":"a10348d2b02de73347a50d257afe7947d0b0b8ac","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{8}\\u{8}\\u{8}\",\n action in [],\n resource in a::\"\\u{8}\\u{8}\\u{8}\"\n) when {\n (true && principal) && (principal == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\b\b\b"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\b\b\b"},"resource":{"type":"a","id":"\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"df2ea141f627d2600b135b349b67b8865a9510be":{"name":"df2ea141f627d2600b135b349b67b8865a9510be","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\" \",\n action == Action::\"action\",\n resource == a::\" \"\n) when {\n (true && (((Action::\"action\" == false) == context) == false)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":" "},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":" "},"resource":{"type":"a","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5f4af38d0d8fb6b81c5accc280487456140799ef":{"name":"5f4af38d0d8fb6b81c5accc280487456140799ef","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"(":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},")":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"("},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"decf52fee04d6451c0fbb54fd0e9698a0ed37b65":{"name":"decf52fee04d6451c0fbb54fd0e9698a0ed37b65","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@m(\"\")\n@q(\"\")\n@r(\"\")\n@x(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc746deb49ee466bc4288792d0e4342dc80896f3":{"name":"bc746deb49ee466bc4288792d0e4342dc80896f3","schema_json":{"l6y2Uuwwwwww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"wwQ2wmmmmmm":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l6y2Uuwwwwww::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l6y2Uuwwwwww::a","id":""},"resource":{"type":"l6y2Uuwwwwww::a","id":""},"action":{"type":"l6y2Uuwwwwww::Action","id":"action"},"context":{"wwQ2wmmmmmm":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"defd5589c286ff2dda5865ae0a230c9ef13d90ab":{"name":"defd5589c286ff2dda5865ae0a230c9ef13d90ab","schema_json":{"C22::C233":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in C22::C233::a::\"\",\n action == C22::C233::Action::\"action\",\n resource in C22::C233::a::\"\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"C22::C233::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"C22::C233::a","id":"\n\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"C22::C233::a","id":""},"resource":{"type":"C22::C233::a","id":""},"action":{"type":"C22::C233::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b60520d68f13b97bb55aa1a50859609e785bbe94":{"name":"b60520d68f13b97bb55aa1a50859609e785bbe94","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\",\n action == Action::\"action\",\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2467f2d0faf23489ec76added7882c5cedb16fa7":{"name":"2467f2d0faf23489ec76added7882c5cedb16fa7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"907008678127-w"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3741301f229f701463ccb88679111a6ee8ec5f3c":{"name":"3741301f229f701463ccb88679111a6ee8ec5f3c","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwGwwwGw":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwGwwwGw"],"principalTypes":["FwGwwwGw"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in FwGwwwGw::\":come/f\",\n action,\n resource\n) when {\n (true && (principal == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"FwGwwwGw","id":":come/f"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"FwGwwwGw","id":":come/f"},"resource":{"type":"FwGwwwGw","id":":come/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6ca51aa544f3347ee2555c7157554cfef53c48d3":{"name":"6ca51aa544f3347ee2555c7157554cfef53c48d3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ffffff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9cad48f121661b1f12380de738bb9e52d98c5f6a":{"name":"9cad48f121661b1f12380de738bb9e52d98c5f6a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"/ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cd24b45d64e569bf8a44d0cb26cadd19d02bb896":{"name":"cd24b45d64e569bf8a44d0cb26cadd19d02bb896","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal[\"A\"])) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"78394109dbfcb981c399e46a8654508464eb9ae5":{"name":"78394109dbfcb981c399e46a8654508464eb9ae5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (((8825507163624077946 == 31354) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"247504c448b53f0ca04eec7c7c2e95bbe6349146":{"name":"247504c448b53f0ca04eec7c7c2e95bbe6349146","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F":{"type":"Boolean","required":true},"a":{"type":"Set","element":{"type":"Entity","name":"a"},"required":true},"bx7x":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false},"s":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"bx7x":[],"a":[],"s":{"__entity":{"id":"","type":"a"}},"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"104444f7ad4d486497918c7fcb74584bd6ae41b8":{"name":"104444f7ad4d486497918c7fcb74584bd6ae41b8","schema_json":{"_AmdWmXb0g::Cga":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"_AmdWmXb0g::Cga::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"resource":{"type":"_AmdWmXb0g::Cga::a","id":"j\u0000"},"action":{"type":"_AmdWmXb0g::Cga::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3a571207f4cd211aa19031dedc06f50d8ca584cb":{"name":"3a571207f4cd211aa19031dedc06f50d8ca584cb","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fwww3sww3":{"memberOfTypes":["x","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"x":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"L":{"memberOfTypes":["Fwww3sww3","x","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwww3sww3","x","r"],"principalTypes":["L","Fwww3sww3","x","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwww3sww3","id":""},"attrs":{},"parents":[{"type":"x","id":""},{"type":"r","id":""}]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"L","id":""},"attrs":{},"parents":[{"type":"Fwww3sww3","id":""},{"type":"x","id":""},{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L","id":""},"resource":{"type":"Fwww3sww3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5a2dc81292f0d8dbcf7f8150459c4d62dd9a7841":{"name":"5a2dc81292f0d8dbcf7f8150459c4d62dd9a7841","schema_json":{"q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in q::a::\"\\0\"\n) when {\n (true && (!((q::a::\"\\0\" like \"Z*Z*\") == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"q::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"q::a","id":"\u0000"},"resource":{"type":"q::a","id":"\u0000"},"action":{"type":"q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ad9568c97753068fff36e91d05581efbc24563c0":{"name":"ad9568c97753068fff36e91d05581efbc24563c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0i\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0000\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"86d0a199b63876773d3ae8683ff767f7857b6116":{"name":"86d0a199b63876773d3ae8683ff767f7857b6116","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"q":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"O":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O","q","A","B","r"],"principalTypes":["O","q","A","B","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"O","id":""},"attrs":{},"parents":[{"type":"A","id":""},{"type":"B","id":""},{"type":"r","id":""}]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"r","id":""}]},{"uid":{"type":"q","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"A","id":""},{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"36d2e49e789a6339ee9470e61ff03a3fd374b3a9":{"name":"36d2e49e789a6339ee9470e61ff03a3fd374b3a9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && ((a::\"\" == principal).isIpv4())) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7355653a76b963d961091dc312be4d67c4e3b070":{"name":"7355653a76b963d961091dc312be4d67c4e3b070","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && ((ip(principal == principal))[\"\"])\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5c15f0c7b573e2a15e5581185cd6874f01d9da7f":{"name":"5c15f0c7b573e2a15e5581185cd6874f01d9da7f","schema_json":{"":{"commonTypes":{},"entityTypes":{"O":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"l":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O"],"principalTypes":["O"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == O::\"F\",\n action == Action::\"action\",\n resource in O::\"F\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"O","id":"F"},"attrs":{"l":[{},{},{},{},{},{},{}]},"parents":[]},{"uid":{"type":"O","id":""},"attrs":{"l":[{},{},{},{},{},{}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":"F"},"resource":{"type":"O","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a58af662d9307881939fdb3948822b3be6620cce":{"name":"a58af662d9307881939fdb3948822b3be6620cce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000`\u0000\u0000j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b685a4d25c15badc7ac66b97f7c279979bce2725":{"name":"b685a4d25c15badc7ac66b97f7c279979bce2725","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r3":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r3","r"],"principalTypes":["r3","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r3","id":"FF"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"r","id":"B"},{"type":"r","id":"FFF"},{"type":"r","id":"F"}]},{"uid":{"type":"r","id":"FFF"},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":"B"},"attrs":{},"parents":[]},{"uid":{"type":"r","id":"F"},"attrs":{},"parents":[]},{"uid":{"type":"r3","id":""},"attrs":{},"parents":[{"type":"r","id":"F"},{"type":"r","id":""},{"type":"r","id":"FFF"},{"type":"r","id":"B"}]}],"queries":[{"desc":"Query 0","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r3","id":""},"resource":{"type":"r3","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"58bbf2c87350d4a6416a4329908fcbb247f1b331":{"name":"58bbf2c87350d4a6416a4329908fcbb247f1b331","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0005\u0015\u0005"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0005\u0015\u0005"},"resource":{"type":"a","id":"\u0005\u0015\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0005\u0015\u0005"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0005\u0015\u0005"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"d67a2107b6ab6cce42b2160b170aef3b528cd4da":{"name":"d67a2107b6ab6cce42b2160b170aef3b528cd4da","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\t"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f95a4cb686d10f338ec0ebce6dbdde50a49435af":{"name":"f95a4cb686d10f338ec0ebce6dbdde50a49435af","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\",\n action in [A::Action::\"action\"],\n resource in A::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fb9262fa84996a553a19a60a48cc74477b0c20a0":{"name":"fb9262fa84996a553a19a60a48cc74477b0c20a0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"ó……ˆ\u0005\u0006":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"ukkkk00000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ó……ˆ\u0005\u0006"},"context":{"ukkkk00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9749df77416bd7412963a4f13fe64a9f282adc77":{"name":"9749df77416bd7412963a4f13fe64a9f282adc77","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"29a58ad3bd458097fd0a19b29f16e2435339f87f":{"name":"29a58ad3bd458097fd0a19b29f16e2435339f87f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"O\\u{2}\",\n action == Action::\"action\",\n resource\n) when {\n (true && (((false == false) == (false == false)) == (principal == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"O\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"O\u0002"},"resource":{"type":"a","id":"O\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4c0c51d692ca6265086b5acf63a8ff7f8e9da31c":{"name":"4c0c51d692ca6265086b5acf63a8ff7f8e9da31c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"60\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3b97e31ddca44e918597c1626cd4e662328203ff":{"name":"3b97e31ddca44e918597c1626cd4e662328203ff","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Fwwwwwww":{"type":"String","required":false},"v":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"a"}},"Fwwwwwww":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33bdfe5d90bbcbfee44c1dcb1fa7300bb37ef9a2":{"name":"33bdfe5d90bbcbfee44c1dcb1fa7300bb37ef9a2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":true},"r":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Fw000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::"},"attrs":{"A":true,"r":{"__entity":{"id":"\ns","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7ae2b13be44f9b010cac82960fadc5ab7a3305c9":{"name":"7ae2b13be44f9b010cac82960fadc5ab7a3305c9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"Q+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"om"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"Q+"},"resource":{"type":"a","id":"Q+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"611d9858f9152c7d5f1b16acbda599b1126ec1da":{"name":"611d9858f9152c7d5f1b16acbda599b1126ec1da","schema_json":{"":{"commonTypes":{},"entityTypes":{"r0www":{"memberOfTypes":["F"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"m":{"memberOfTypes":["F333","r0www","F"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":["r0www","F"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["m","F333","r0www","F"],"principalTypes":["m","F333","r0www","F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r0www","id":""},"attrs":{},"parents":[{"type":"F","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[{"type":"F","id":""},{"type":"r0www","id":""}]},{"uid":{"type":"m","id":""},"attrs":{},"parents":[{"type":"F333","id":""},{"type":"F","id":""},{"type":"r0www","id":""}]},{"uid":{"type":"F","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m","id":""},"resource":{"type":"m","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0821f9d8ec765af8242685b3dce67d7b4f358ec2":{"name":"0821f9d8ec765af8242685b3dce67d7b4f358ec2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"ff\",\n action in [Action::\"action\"],\n resource == a::\"ff\"\n) when {\n ((true && (!((a::\"ff\".isIpv6()) like \"\"))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"645b79a523b93798bfeb96edc79a3f81a28f28c3":{"name":"645b79a523b93798bfeb96edc79a3f81a28f28c3","schema_json":{"":{"commonTypes":{},"entityTypes":{"Ro1JJJJ":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Ro1JJJJ"],"principalTypes":["Ro1JJJJ"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == Ro1JJJJ::\"\",\n action,\n resource in Ro1JJJJ::\"\\0\\0\\0R\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"attrs":{},"parents":[]},{"uid":{"type":"Ro1JJJJ","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"resource":{"type":"Ro1JJJJ","id":"\u0000\u0000\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"06ff234c0c72dc1f8e3ccbd93f4b03820a6c11f5":{"name":"06ff234c0c72dc1f8e3ccbd93f4b03820a6c11f5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\\'#\\u{8}Zzzzz\")\nforbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"d726a4220e6c8f359b14a71ad4dde4392685f4fe":{"name":"d726a4220e6c8f359b14a71ad4dde4392685f4fe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n (true && \"\") && (!\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"z\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z\u0000"},"resource":{"type":"a","id":"z\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"62363d0ed447657187a9c69d3024f7c85f457c4c":{"name":"62363d0ed447657187a9c69d3024f7c85f457c4c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (((false == context) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"fc68e0680604a1abef56806cd2b3d0867a3a2e12":{"name":"fc68e0680604a1abef56806cd2b3d0867a3a2e12","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && r::\"\\u{2}\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e59983d65a5e9a428f95d8026ff7aa306ce89dc8":{"name":"e59983d65a5e9a428f95d8026ff7aa306ce89dc8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"va/lang/inv":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"::":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"va/lang/inv"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ec8f38afacaa4b80b214366039f6e06dc680ae8b":{"name":"ec8f38afacaa4b80b214366039f6e06dc680ae8b","schema_json":{"r::B::xl::V":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::B::xl::V::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::B::xl::V::a","id":""},"resource":{"type":"r::B::xl::V::a","id":""},"action":{"type":"r::B::xl::V::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7756eab468f4b3f5425417050c27371a62259b00":{"name":"7756eab468f4b3f5425417050c27371a62259b00","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\t"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\t\t\t\t\t\t\t\t\t\t\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\t\t\t\t\t\t\t\t\t\t\u0000\u0000"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\t"},"resource":{"type":"a","id":"\u0000\t"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e4e864d0711220c5104e01ed1336f9a0d10dff58":{"name":"e4e864d0711220c5104e01ed1336f9a0d10dff58","schema_json":{"r::r::r::a::xBKLJ0::r::r::i::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A00000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"resource":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::a","id":""},"action":{"type":"r::r::r::a::xBKLJ0::r::r::i::r::Action","id":"action"},"context":{"A00000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3d6ffca287c3df90bc95ce6c90cc5fa524b6d997":{"name":"3d6ffca287c3df90bc95ce6c90cc5fa524b6d997","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == F::\":\\':\",\n action in [Action::\"action\"],\n resource\n) when {\n true && (!(!(!true)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"F","id":""},"attrs":{},"parents":[]},{"uid":{"type":"F","id":":':"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":":':"},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a92eaa64313a15a7b6e9f6fe8cd0ad0d19ae4d79":{"name":"a92eaa64313a15a7b6e9f6fe8cd0ad0d19ae4d79","schema_json":{"A0":{"commonTypes":{},"entityTypes":{"l":{"memberOfTypes":["r3"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r3":{"memberOfTypes":["Fwww"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["l","r3","Fwww"],"principalTypes":["l","Fwww"],"context":{"type":"Record","attributes":{"y":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0::Fwww","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A0::r3","id":""},"attrs":{},"parents":[{"type":"A0::Fwww","id":""}]},{"uid":{"type":"A0::l","id":""},"attrs":{},"parents":[{"type":"A0::Fwww","id":""},{"type":"A0::r3","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0::l","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{"y":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0313a890a7c564ed07a4df40f8d745880de33071":{"name":"0313a890a7c564ed07a4df40f8d745880de33071","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"F\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d74e197beb7238d43a1ad2a90dbd42c9d9cfc44f":{"name":"d74e197beb7238d43a1ad2a90dbd42c9d9cfc44f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"498782a089afb0b73e45ba4b1c0697f8bad28ed7":{"name":"498782a089afb0b73e45ba4b1c0697f8bad28ed7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"0\\u{1}\\0\\0\",\n action == Action::\"action\",\n resource == a::\"0\\u{1}\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0\u0001\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0\u0001\u0000\u0000"},"resource":{"type":"a","id":"0\u0001\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"19bffea7904c3d95cbc5e489417c331004b8b10d":{"name":"19bffea7904c3d95cbc5e489417c331004b8b10d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\",\n action == Action::\"action\",\n resource == a::\"\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\\u{8}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"resource":{"type":"a","id":"\b\b\b\b\b\b\b\b\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"3d707a276da82a88c7ca84ee7a2707e3dabb60e9":{"name":"3d707a276da82a88c7ca84ee7a2707e3dabb60e9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\n\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\n\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n"},"resource":{"type":"a","id":"\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"c9544d8da6332ce73e4e6e93fd80b99246c9504e":{"name":"c9544d8da6332ce73e4e6e93fd80b99246c9504e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"9\\'p306\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6921d9a2ecdfcfee6cce4ff1f90ee25865ba761a":{"name":"6921d9a2ecdfcfee6cce4ff1f90ee25865ba761a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && 1560281158) && (((9509 == principal) == principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c9d785d24decdab39f65bd89d74169d6cae6a4c4":{"name":"c9d785d24decdab39f65bd89d74169d6cae6a4c4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}?\\u{13}\\0\\0\\0\",\n action in [],\n resource in a::\"\\u{2}?\\u{13}\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002?\u0013\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8783bbac77ad98fca11a0df2f4d2ee266f0a465c":{"name":"8783bbac77ad98fca11a0df2f4d2ee266f0a465c","schema_json":{"Q::A::V":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["w"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","w"],"principalTypes":["A","w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Q::A::V::A","id":""},"attrs":{},"parents":[{"type":"Q::A::V::w","id":""}]},{"uid":{"type":"Q::A::V::w","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Q::A::V::A","id":""},"resource":{"type":"Q::A::V::A","id":""},"action":{"type":"Q::A::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"24da1a6ccec424d0c222eefee5d87bc6e2988797":{"name":"24da1a6ccec424d0c222eefee5d87bc6e2988797","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"`\"\n) when {\n (true && \"\\0\\0\\0\\0\\0\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6bb7b7d5396f2e5850df4a465f8ee22385254062":{"name":"6bb7b7d5396f2e5850df4a465f8ee22385254062","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Boolean"},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"::::::\\u{2}\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"::::::\\u{2}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::::::\u0002"},"attrs":{"F":[false]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"098ba12b4f5c65c43dd6f6ec2ba0e59642149b25":{"name":"098ba12b4f5c65c43dd6f6ec2ba0e59642149b25","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && action) && ((principal < principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fca2f45c5b79fb2b1c3e08f663883fc020d2f8ad":{"name":"fca2f45c5b79fb2b1c3e08f663883fc020d2f8ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (((false == principal) == (\"\" == principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"38c1eb9343c6973a49a3d8e09787970693505a0d":{"name":"38c1eb9343c6973a49a3d8e09787970693505a0d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca010ae77009ab1e7e6ead8fc87549c4adacc30a":{"name":"ca010ae77009ab1e7e6ead8fc87549c4adacc30a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":[{"__entity":{"id":"\u0000\u0000~","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000\u0000\u0000~","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000\u0000\u0000~","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000\u0000\u0000~","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000\u0000\u0000~","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000\u0000\u0000~","type":"a"}}]},"parents":[]},{"uid":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"attrs":{"A":[]},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000~"},"attrs":{"A":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000\u0000\u0000~"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"82e0009729d4fe23f1ca9992ea9311b61228b36a":{"name":"82e0009729d4fe23f1ca9992ea9311b61228b36a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"ff\",\n action == Action::\"action\",\n resource == a::\"ff\"\n) when {\n true && (Action::\"action\".containsAll(true))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"177277820fc165579ff72b027629c616ef7a1708":{"name":"177277820fc165579ff72b027629c616ef7a1708","schema_json":{"":{"commonTypes":{},"entityTypes":{"xYqXb0wwwwww0S":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fw900Aam":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["xYqXb0wwwwww0S"],"principalTypes":["Fw900Aam","xYqXb0wwwwww0S"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"xYqXb0wwwwww0S","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fw900Aam","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fw900Aam","id":""},"resource":{"type":"xYqXb0wwwwww0S","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a5feeea2c9b1b816cba003732da8fe1ae9bb12c4":{"name":"a5feeea2c9b1b816cba003732da8fe1ae9bb12c4","schema_json":{"Fwwwwww0":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwwww0::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fwwwwww0::a","id":"::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwwwww0::a","id":"::"},"resource":{"type":"Fwwwwww0::a","id":"::"},"action":{"type":"Fwwwwww0::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"befa779a6eaa498e69b648767ef394de194387f5":{"name":"befa779a6eaa498e69b648767ef394de194387f5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"870c25a990be727397d9239cd5a34f904c341e77":{"name":"870c25a990be727397d9239cd5a34f904c341e77","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"0\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f9e02a91691711a8be7fb43dc371d5a1d58aca0f":{"name":"f9e02a91691711a8be7fb43dc371d5a1d58aca0f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n ((true && action) && ((false == principal) <= principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4282a992ca276f1e585951dff5ac730f8ffcbbd2":{"name":"4282a992ca276f1e585951dff5ac730f8ffcbbd2","schema_json":{"":{"commonTypes":{},"entityTypes":{"CRRRRRRSxxx":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["CRRRRRRSxxx"],"principalTypes":["CRRRRRRSxxx"],"context":{"type":"Record","attributes":{"O":{"type":"Boolean","required":true},"Z00cx":{"type":"Record","attributes":{"zz":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"CRRRRRRSxxx","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"CRRRRRRSxxx","id":""},"resource":{"type":"CRRRRRRSxxx","id":""},"action":{"type":"Action","id":"action"},"context":{"O":false,"Z00cx":{"zz":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aeffa0eb74c897ada3e7d2d19f725267a96c95a2":{"name":"aeffa0eb74c897ada3e7d2d19f725267a96c95a2","schema_json":{"R::Wj::R":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"B":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::Wj::R::a","id":""},"attrs":{"B":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::Wj::R::a","id":""},"resource":{"type":"R::Wj::R::a","id":""},"action":{"type":"R::Wj::R::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7f6f7bc48b745460951322d29033e15a37d81517":{"name":"7f6f7bc48b745460951322d29033e15a37d81517","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action == Action::\"action\",\n resource == a::\"\\0\\0\"\n) when {\n (true && (1008963611370 || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c10aa3b07f492919881b4b1c365353efff902a68":{"name":"c10aa3b07f492919881b4b1c365353efff902a68","schema_json":{"":{"commonTypes":{},"entityTypes":{"O":{"memberOfTypes":["q","A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"q":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O","q","A","B"],"principalTypes":["O","q","A","B","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"q","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"B","id":""},{"type":"A","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"r","id":""}]},{"uid":{"type":"O","id":""},"attrs":{},"parents":[{"type":"A","id":""},{"type":"r","id":""},{"type":"B","id":""},{"type":"q","id":""}]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4461c2fe905a94188504b0ee99a49459170ee478":{"name":"4461c2fe905a94188504b0ee99a49459170ee478","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Boolean"},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::"},"attrs":{"F":[false,false]},"parents":[]},{"uid":{"type":"a","id":":::C:\n::::"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e724a7ae0f37a356481bfd94170d5e699c0c4315":{"name":"e724a7ae0f37a356481bfd94170d5e699c0c4315","schema_json":{"A000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in A000::a::\"\",\n action in [A000::Action::\"action\"],\n resource == A000::a::\"\"\n) when {\n (true && (principal.isLoopback())) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A000::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A000::a","id":""},"resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"298423e730f2241a57e0c47d2966eedc87ad734c":{"name":"298423e730f2241a57e0c47d2966eedc87ad734c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (if ((1008963615466 && principal) && principal) then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e7ea865260e727d3de17230d456dbbfc0573410e":{"name":"e7ea865260e727d3de17230d456dbbfc0573410e","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"W":{"memberOfTypes":["r","F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["W","F333"],"principalTypes":["r","F333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"W","id":""},"attrs":{},"parents":[{"type":"r","id":":!:"},{"type":"r","id":""},{"type":"F333","id":""}]},{"uid":{"type":"r","id":":!:"},"attrs":{},"parents":[{"type":"F333","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"F333","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":":!:"},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"62d2b41f48e2b3cd6878b7bf0e984fc90b9004db":{"name":"62d2b41f48e2b3cd6878b7bf0e984fc90b9004db","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5e484c7407a82c3fd17fb71f7bc50b4d4c94cd4b":{"name":"5e484c7407a82c3fd17fb71f7bc50b4d4c94cd4b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7a7cf07a92c1881c48212c5318767c5e80b2f814":{"name":"7a7cf07a92c1881c48212c5318767c5e80b2f814","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{"Fw":{"type":"Boolean","required":false}},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{"Fw":false},"parents":[{"type":"r","id":""},{"type":"n","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ddcacf2669cc2037f337afa4ba73f1e07b4a9450":{"name":"ddcacf2669cc2037f337afa4ba73f1e07b4a9450","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}1\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && Action::\"action\") && action\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1428be36f22253120a30e9f784383e2be0b005e1":{"name":"1428be36f22253120a30e9f784383e2be0b005e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G","id":"::"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"G","id":":"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":"::"},"resource":{"type":"G","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a5f5eaf2971db213ce1b1716d0e088b80ae6959b":{"name":"a5f5eaf2971db213ce1b1716d0e088b80ae6959b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"y":{"type":"Long","required":false},"yi":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"y":-502650286645773924,"yi":-502650286645773924},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2a501921cf1b30900cab66e49cb20fea18b23cc3":{"name":"2a501921cf1b30900cab66e49cb20fea18b23cc3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"aa622dd75db087080957e0009c870263691379a2":{"name":"aa622dd75db087080957e0009c870263691379a2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bs":{"type":"String","required":false},"u":{"type":"String","required":false},"v":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"80"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"u":"","v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fa5b36a47a47b238757408e90592d612aabcdd20":{"name":"fa5b36a47a47b238757408e90592d612aabcdd20","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Entity","name":"cP::v::a","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::a","id":"\u0000\u0000\u0000"},"attrs":{"x":{"__entity":{"id":"","type":"cP::v::a"}}},"parents":[]},{"uid":{"type":"cP::v::a","id":"#"},"attrs":{"x":{"__entity":{"id":"","type":"cP::v::a"}}},"parents":[]},{"uid":{"type":"cP::v::a","id":""},"attrs":{"x":{"__entity":{"id":"","type":"cP::v::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5adb971dbb6de269470eb3f39f016ee6c86e3a3d":{"name":"5adb971dbb6de269470eb3f39f016ee6c86e3a3d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b335948a70874cd4556e6b60cd794cd9285feb22":{"name":"b335948a70874cd4556e6b60cd794cd9285feb22","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Qxxx":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A000":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"Qxxx":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"babfcc8b3847d347f710f4a46ae1ac192986c981":{"name":"babfcc8b3847d347f710f4a46ae1ac192986c981","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"66\",\n action == Action::\"action\",\n resource == a::\"66\"\n) when {\n true && (!(!principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a0151867c4cc2ac509c85a2bd56dbeed7cc3855f":{"name":"a0151867c4cc2ac509c85a2bd56dbeed7cc3855f","schema_json":{"LYY::Qml::Edxl::Kxx0xxx":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"resource":{"type":"LYY::Qml::Edxl::Kxx0xxx::a","id":"zz"},"action":{"type":"LYY::Qml::Edxl::Kxx0xxx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c11155edcd9d349266c30abc408a7a69e36baa63":{"name":"c11155edcd9d349266c30abc408a7a69e36baa63","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0i\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\0i\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a54f9c6bdd7a65aad28eea03eaef38ef77f3914f":{"name":"a54f9c6bdd7a65aad28eea03eaef38ef77f3914f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\\"\\\"\\\"\\\"\",\n action,\n resource in a::\"\\\"\\\"\\\"\\\"\"\n) when {\n (true && (if principal then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\"\"\"\""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\"\"\"\""},"resource":{"type":"a","id":"\"\"\"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c355a2b4b6b737adf181d3ef1dadaa55a446dbd1":{"name":"c355a2b4b6b737adf181d3ef1dadaa55a446dbd1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"":{"type":"String","required":false},";":{"type":"String","required":false},"z":{"type":"String","required":false},"zzzzz5z5\nzz":{"type":"String","required":false},"z":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"":"",";":"","z":"","zzzzz5z5\nzz":"","z":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"68debdc28bc7bb0b9fde031dd6d2966ce46eddea":{"name":"68debdc28bc7bb0b9fde031dd6d2966ce46eddea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"mS133o3333b3":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","mS133o3333b3":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fde8acc835ba1326b9a688e85fb82d5207d02cf2":{"name":"fde8acc835ba1326b9a688e85fb82d5207d02cf2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":true},"Al333":{"type":"Boolean","required":false},"Yhh33":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"m/":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"Yhh33":false,"A":"","r":false,"Al333":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"m/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5a21934d3b7aac23efbac0239b70091420e324d0":{"name":"5a21934d3b7aac23efbac0239b70091420e324d0","schema_json":{"":{"commonTypes":{},"entityTypes":{"AYrdlcwl":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["AYrdlcwl"],"principalTypes":["AYrdlcwl"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == AYrdlcwl::\":\",\n action in [Action::\"action\"],\n resource in AYrdlcwl::\":\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"AYrdlcwl","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"AYrdlcwl","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"AYrdlcwl","id":""},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"AYrdlcwl","id":":"},"resource":{"type":"AYrdlcwl","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"25e0fdd9c56f74f7ddf8ee29b2f7737a6e33a70d":{"name":"25e0fdd9c56f74f7ddf8ee29b2f7737a6e33a70d","schema_json":{"":{"commonTypes":{},"entityTypes":{"R2uvummmkkOhhmmmk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["R2uvummmkkOhhmmmk"],"principalTypes":["R2uvummmkkOhhmmmk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in R2uvummmkkOhhmmmk::\"\\0\",\n action in [Action::\"action\"],\n resource in R2uvummmkkOhhmmmk::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"resource":{"type":"R2uvummmkkOhhmmmk","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ce937b05f78203ed138b10bafa0bcaecb8240e5c":{"name":"ce937b05f78203ed138b10bafa0bcaecb8240e5c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && (!principal)) && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0007\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0007\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5320b71442cc53b16af47425ff1b2305c83daca4":{"name":"5320b71442cc53b16af47425ff1b2305c83daca4","schema_json":{"B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B::a","id":"e"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"def_m"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"eng"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"::ffff"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"in"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B::a","id":"::ffff"},"resource":{"type":"B::a","id":"::ffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22855fc1b09948347a10b2517a2bb436c6451bb6":{"name":"22855fc1b09948347a10b2517a2bb436c6451bb6","schema_json":{"r::r::M::r::uH::r":{"commonTypes":{},"entityTypes":{"R":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"rh":{"memberOfTypes":["R"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["R"],"principalTypes":["rh","R"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::M::r::uH::r::R","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::M::r::uH::r::rh","id":""},"attrs":{},"parents":[{"type":"r::r::M::r::uH::r::R","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::M::r::uH::r::rh","id":""},"resource":{"type":"r::r::M::r::uH::r::R","id":""},"action":{"type":"r::r::M::r::uH::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"39310c282d59af031138d9d5c4a34fb72ee09942":{"name":"39310c282d59af031138d9d5c4a34fb72ee09942","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && action) && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"33ba9b80d12ea32a9c75a00947821df2bddbaf8a":{"name":"33ba9b80d12ea32a9c75a00947821df2bddbaf8a","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"38dfe4c1c5a135e45453f22f50bc144f1b576bd1":{"name":"38dfe4c1c5a135e45453f22f50bc144f1b576bd1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":\b~\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":\b~\u0000"},"resource":{"type":"a","id":":\b~\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"48154a223eea1a1e5ae5334c1a5e784459d02001":{"name":"48154a223eea1a1e5ae5334c1a5e784459d02001","schema_json":{"zxxjjjjjj::Gxtxxxx9x":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Wxt70000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"resource":{"type":"zxxjjjjjj::Gxtxxxx9x::a","id":""},"action":{"type":"zxxjjjjjj::Gxtxxxx9x::Action","id":"action"},"context":{"Wxt70000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"88ae543a35ed13de3dc6e368575b1873114207bb":{"name":"88ae543a35ed13de3dc6e368575b1873114207bb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource == a::\"\\u{2}1\"\n) when {\n (true && ((false == a::\"\\u{2}1\") == ((\"\" == principal) && principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b5df629c792d661f4c4bddbd32df911464282586":{"name":"b5df629c792d661f4c4bddbd32df911464282586","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"J":{"type":"Record","attributes":{"":{"type":"Long","required":false},"\u0015":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false,"required":false},"o":{"type":"Entity","name":"a","required":true},"r":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"J":{"":0,"\u0015":[]},"r":false,"o":{"__entity":{"id":"","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6905796d4dccd760c485e3cb89f45cbab82527d2":{"name":"6905796d4dccd760c485e3cb89f45cbab82527d2","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["p"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"p":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","p"],"principalTypes":["p"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":":"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":"\u001b"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":"\u0001"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":"\u0000\u0000"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":")c"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"A","id":"\u0001\u001b\u0002"},"attrs":{},"parents":[{"type":"p","id":""}]},{"uid":{"type":"p","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"p","id":""},"resource":{"type":"A","id":"\u001b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1684af6121f7ff5362748cebac0a29ed0c9c62b6":{"name":"1684af6121f7ff5362748cebac0a29ed0c9c62b6","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"FkldY1jjjjjjjam":{"type":"String","required":false},"FpYajcl0000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{"FpYajcl0000000":"","FkldY1jjjjjjjam":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d0a212b70378bf1433d4b49c52df64c1398b8cd":{"name":"9d0a212b70378bf1433d4b49c52df64c1398b8cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::\"action\") && \"\\0\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"56446144b3a9f536491ff2bf056a614ae755fa00":{"name":"56446144b3a9f536491ff2bf056a614ae755fa00","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"604c9e765d3ed119989ee5e35171b99c1291b67d":{"name":"604c9e765d3ed119989ee5e35171b99c1291b67d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"306"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"21c71f1bcb3e7db91651dda47425d30e8fa717c0":{"name":"21c71f1bcb3e7db91651dda47425d30e8fa717c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"h"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6801c1e1487af296bb372cbe1ef80a62f0d03740":{"name":"6801c1e1487af296bb372cbe1ef80a62f0d03740","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A0000":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A0000","r"],"principalTypes":["A0000","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":"F"},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A0000","id":""},"attrs":{},"parents":[{"type":"r","id":"F\u0000"},{"type":"r","id":""},{"type":"r","id":"F"}]},{"uid":{"type":"r","id":"F\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0000","id":""},"resource":{"type":"A0000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f21be42147b2c967fb72a5a20c0775c178a5abbe":{"name":"f21be42147b2c967fb72a5a20c0775c178a5abbe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (([0, principal] || principal) like \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c00aed5424af094435eca1de3f47ca9827d3c879":{"name":"c00aed5424af094435eca1de3f47ca9827d3c879","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"d28c88c97d3574fd3d9db3eb23d531316717d49b":{"name":"d28c88c97d3574fd3d9db3eb23d531316717d49b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1279c78d7129da3081c0e775922e200814aec43c":{"name":"1279c78d7129da3081c0e775922e200814aec43c","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"W":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["W","n","r"],"principalTypes":["W","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"W","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":""},{"type":"n","id":"::"}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"n","id":"::"},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"088d19004f5dc68c8707347fab6f817bc33f0df3":{"name":"088d19004f5dc68c8707347fab6f817bc33f0df3","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"E":{"type":"String","required":false},"fwuwww_Qwwuw10":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":""},"attrs":{"fwuwww_Qwwuw10":"","E":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3bd059ed8326d059b6e6a00261c099c633d8efd1":{"name":"3bd059ed8326d059b6e6a00261c099c633d8efd1","schema_json":{"lAdw6wyUy6U784":{"commonTypes":{},"entityTypes":{"g333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0007":{"appliesTo":{"resourceTypes":["g333"],"principalTypes":["g333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"lAdw6wyUy6U784::g333","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"lAdw6wyUy6U784::g333","id":""},"resource":{"type":"lAdw6wyUy6U784::g333","id":""},"action":{"type":"lAdw6wyUy6U784::Action","id":"\u0007"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"02a49223197987f55c4eb3a434db07b1d23a377a":{"name":"02a49223197987f55c4eb3a434db07b1d23a377a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"j\\07\\u{1}\\0\\0\\0\"\n) when {\n ((true && l::l::A::r::\"\") && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3af08a3dfbcbda787190470df772019a5f81d7d3":{"name":"3af08a3dfbcbda787190470df772019a5f81d7d3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A0037wwwwwwpwoocs":{"type":"Entity","name":"a","required":false},"n":{"type":"Entity","name":"a","required":true},"r":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":{"__entity":{"id":"","type":"a"}},"A0037wwwwwwpwoocs":{"__entity":{"id":"","type":"a"}},"n":{"__entity":{"id":"","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7c9d4dea53dc2243566328f40cb2bd97ffbbdff8":{"name":"7c9d4dea53dc2243566328f40cb2bd97ffbbdff8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && [a::\"\", \"\", principal, principal]\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d69a5e50101bb3dad855bf18f8b67c157144eb41":{"name":"d69a5e50101bb3dad855bf18f8b67c157144eb41","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false},"A0000":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::"},"attrs":{"A":"\u0000\u0000\u0000\u0000\u0000:","A0000":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A0000":false,"A":"\u0000\u0000\u0000\u0000\u0000:"},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b09c050c89c695099088ec2c50e89094ecf2683e":{"name":"b09c050c89c695099088ec2c50e89094ecf2683e","schema_json":{"g::r::A::Q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == g::r::A::Q::a::\"\",\n action in [g::r::A::Q::Action::\"action\"],\n resource == g::r::A::Q::a::\"\"\n) when {\n (true && (if (principal.isLoopback()) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"g::r::A::Q::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"781f72a1adf8dcc76f8bcc6e3f78fcb738583ec5":{"name":"781f72a1adf8dcc76f8bcc6e3f78fcb738583ec5","schema_json":{"Dlqsllvklb":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"C":{"type":"Record","attributes":{"\u0002":{"type":"String","required":true},"$":{"type":"Boolean","required":true}},"additionalAttributes":false,"required":false},"O":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Dlqsllvklb::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Dlqsllvklb::a","id":""},"resource":{"type":"Dlqsllvklb::a","id":""},"action":{"type":"Dlqsllvklb::Action","id":"action"},"context":{"C":{"\u0002":"","$":false},"O":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"834280c350074a677889fb77ec7849eb89d4d304":{"name":"834280c350074a677889fb77ec7849eb89d4d304","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && action) && ((principal < principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"eb79680a659ae3f09376151f8d754ec0c055497d":{"name":"eb79680a659ae3f09376151f8d754ec0c055497d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"z~\"\n) when {\n true && (!(!false))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"zzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"z~"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b3f1cf53e38305a659a1e2d048f9613d35acf097":{"name":"b3f1cf53e38305a659a1e2d048f9613d35acf097","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":4195882857412573894},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":63},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5a6109ea615dc3004acbb62b10c847905ae6b4e3":{"name":"5a6109ea615dc3004acbb62b10c847905ae6b4e3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4f09ef26ee4259c97464c0d816cd0f5ee20cf269":{"name":"4f09ef26ee4259c97464c0d816cd0f5ee20cf269","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000Lj"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"df13479cf32a69d57cc90e21031485de6b8aee93":{"name":"df13479cf32a69d57cc90e21031485de6b8aee93","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000jj,\u0000\u0000#\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c8d3de0be6b995f789a4670cd16f4614de8b907e":{"name":"c8d3de0be6b995f789a4670cd16f4614de8b907e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\\0\"\n) when {\n (true && (\"\" == \"1\")) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3fc5409b18d589862941b8e943a52c8a0a229fac":{"name":"3fc5409b18d589862941b8e943a52c8a0a229fac","schema_json":{"":{"commonTypes":{},"entityTypes":{"xd0d3":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"x":{"memberOfTypes":["xd0d3"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["x","xd0d3"],"principalTypes":["x","xd0d3"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"x","id":""},"attrs":{},"parents":[{"type":"xd0d3","id":""}]},{"uid":{"type":"xd0d3","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1ad2ee43424d84ac48ec1b2b43975b8adc7d5687":{"name":"1ad2ee43424d84ac48ec1b2b43975b8adc7d5687","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0010\u0000:\n"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000::\u0010\u0000:\n:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f9c354e3ba7eb40a2a786e83eba1831d1c00a8ce":{"name":"f9c354e3ba7eb40a2a786e83eba1831d1c00a8ce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u00026":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"6\",\n action == Action::\"\\u{2}6\",\n resource\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"6"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"6"},"action":{"type":"Action","id":"\u00026"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7ee6fb3a43cc9ddb6fea6f1920b863b7cc3f5b79":{"name":"7ee6fb3a43cc9ddb6fea6f1920b863b7cc3f5b79","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0df0cd1c61dd709bdeb1a9090b8a8f8f81a772d0":{"name":"0df0cd1c61dd709bdeb1a9090b8a8f8f81a772d0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"$"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"$"},"resource":{"type":"a","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d1c32f30179c22ca32ee6b9a78b6467c4609e103":{"name":"d1c32f30179c22ca32ee6b9a78b6467c4609e103","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"/t:\",\n action in [Action::\"action\"],\n resource == a::\"/t:\"\n) when {\n true && (!a::\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"/t:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"/t:"},"resource":{"type":"a","id":"/t:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"05d5cc85e0bfd0be2cb5ee9732223370e8137faa":{"name":"05d5cc85e0bfd0be2cb5ee9732223370e8137faa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[false,false]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[false,false,false,false,false,false,false]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c2348e68db99c71ec27a21d912a4b0233d9328d2":{"name":"c2348e68db99c71ec27a21d912a4b0233d9328d2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"m":{"type":"Boolean","required":false},"vJ8lLw":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"m":false,"vJ8lLw":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0a49dd819ecf631af113d714801745fd24192814":{"name":"0a49dd819ecf631af113d714801745fd24192814","schema_json":{"qss::A000r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in qss::A000r::a::\"6006+\",\n action in [qss::A000r::Action::\"action\"],\n resource in qss::A000r::a::\"6006+\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"qss::A000r::a","id":"6006+"},"attrs":{},"parents":[]},{"uid":{"type":"qss::A000r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"qss::A000r::a","id":"6006+"},"resource":{"type":"qss::A000r::a","id":"6006+"},"action":{"type":"qss::A000r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d88d28618e57781b90b2cb062eb2e0c35074968b":{"name":"d88d28618e57781b90b2cb062eb2e0c35074968b","schema_json":{"":{"commonTypes":{},"entityTypes":{"F33w":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{"Fmwwwddd":{"type":"Entity","name":"F33w","required":false}},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r"],"principalTypes":["F33w","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F33w","id":""},"attrs":{"Fmwwwddd":{"__entity":{"id":"::","type":"F33w"}}},"parents":[{"type":"r","id":""}]},{"uid":{"type":"F33w","id":"::"},"attrs":{"Fmwwwddd":{"__entity":{"id":"::","type":"F33w"}}},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F33w","id":"::"},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ed1329e9a9e4ae97dda03d5e6f8dbcc1cd4262f9":{"name":"ed1329e9a9e4ae97dda03d5e6f8dbcc1cd4262f9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action,\n resource\n) when {\n (true && a::\"60\") && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f9dc7c46f28bc271d95fce5da6c6422e9590da14":{"name":"f9dc7c46f28bc271d95fce5da6c6422e9590da14","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && (false == principal)) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"baf85e0c1b79dbcd88df62d430e23b2ecbc41685":{"name":"baf85e0c1b79dbcd88df62d430e23b2ecbc41685","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"-\",\n action in [Action::\"action\"],\n resource == a::\"-\"\n) when {\n true && (!((false <= a::\"-\").contains(!\"\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"-"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"-"},"resource":{"type":"a","id":"-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3809ebc3065747fbc30b6ef8ff72d7c461aea32c":{"name":"3809ebc3065747fbc30b6ef8ff72d7c461aea32c","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == A::a::\"\\0\",\n action in [A::Action::\"action\",A::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"458d087908efdf7dbdc6f52607eba655bf5fddb2":{"name":"458d087908efdf7dbdc6f52607eba655bf5fddb2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && Action::\"action\") && \"\") && (!\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":";;"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"91adf03cbe884e8fa30d82feb500d576e6488fcb":{"name":"91adf03cbe884e8fa30d82feb500d576e6488fcb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"va/lm888Azw":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f9ec5e083fd2ef98a00b97f5f8c13e384fc353a4":{"name":"f9ec5e083fd2ef98a00b97f5f8c13e384fc353a4","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":"\u0000\u0000"},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e3f5ca95a7fabe1adf9e44fdd782d45071ca5b89":{"name":"e3f5ca95a7fabe1adf9e44fdd782d45071ca5b89","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n ((true && ((a::\"\" like \"\") == \"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7c2a4e29605b66e49b6344c8cfe34084f2c0c5bc":{"name":"7c2a4e29605b66e49b6344c8cfe34084f2c0c5bc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && \"\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a596945828158d5e9660026876c9978689c098de":{"name":"a596945828158d5e9660026876c9978689c098de","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"vxCxz":{"memberOfTypes":["a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"zd":{"appliesTo":{"resourceTypes":null,"principalTypes":["vxCxz"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["vxCxz","a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::vxCxz","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""}]},{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::vxCxz","id":""},"action":{"type":"cP::v::Action","id":"zd"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d1dac4b5e28cc86db794732f1a2db6be9e18a0e":{"name":"9d1dac4b5e28cc86db794732f1a2db6be9e18a0e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && a::\"\\0\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3b404fbd0ca2eae78b2dff027d8c9a7278caf317":{"name":"3b404fbd0ca2eae78b2dff027d8c9a7278caf317","schema_json":{"r::G::r":{"commonTypes":{},"entityTypes":{"r333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F":{"memberOfTypes":["r","r333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["r333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F","r","r333"],"principalTypes":["F","r","r333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::G::r::F","id":""},"attrs":{},"parents":[{"type":"r::G::r::r","id":""},{"type":"r::G::r::r333","id":""}]},{"uid":{"type":"r::G::r::r","id":""},"attrs":{},"parents":[{"type":"r::G::r::r333","id":""}]},{"uid":{"type":"r::G::r::r333","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::G::r::F","id":""},"resource":{"type":"r::G::r::F","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"36f8dc2a745bacfb69d84c7787444decdaa2d5fe":{"name":"36f8dc2a745bacfb69d84c7787444decdaa2d5fe","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhfhh":{"memberOfTypes":["K"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhfhh","K"],"principalTypes":["Kfhhfhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhfhh","id":"\u0013."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhfhh","id":"\u0013."},"resource":{"type":"Kfhhfhh","id":"\u0013."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ffc71657bf844fa7533226aa6332feb267d448f7":{"name":"ffc71657bf844fa7533226aa6332feb267d448f7","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhhh"],"principalTypes":["Kfhhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhhh","id":"\u0013"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":"..\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":"\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0838cceb544b3bfcb7069ef1840a5147c926c4d6":{"name":"0838cceb544b3bfcb7069ef1840a5147c926c4d6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"u\") && (false && \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"75991579ecaf381eb36bdbe0e57b539cc6d3fd05":{"name":"75991579ecaf381eb36bdbe0e57b539cc6d3fd05","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(Action::\"action\"))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4c379c5194afcf24ed4dd644b8146b04ec212f78":{"name":"4c379c5194afcf24ed4dd644b8146b04ec212f78","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"ffff\",\n action in [Action::\"action\"],\n resource == a::\"ffff\"\n) when {\n (true && (context == false)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"22b4a182031e98aa6a6fca4afeb5e43b150a3886":{"name":"22b4a182031e98aa6a6fca4afeb5e43b150a3886","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action == Action::\"action\",\n resource in a::\"\\0\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"59747d78d2a6fbaf05198b9519d2004fc922ecee":{"name":"59747d78d2a6fbaf05198b9519d2004fc922ecee","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"^"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e94fdece040a7781911fed00f38902354403df84":{"name":"e94fdece040a7781911fed00f38902354403df84","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\\0:\\0\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"::\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8401598fc8849db48f87ae0e2451d84cfef21a0a":{"name":"8401598fc8849db48f87ae0e2451d84cfef21a0a","schema_json":{"":{"commonTypes":{},"entityTypes":{"G":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"u":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":null,"principalTypes":["u","r","G"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},";":{"appliesTo":{"resourceTypes":["G"],"principalTypes":["u","r","G"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"u","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"u","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"14baa465818b2da2f72d88d491dbbb20d0fe58bb":{"name":"14baa465818b2da2f72d88d491dbbb20d0fe58bb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\",\n action in [Action::\"action\"],\n resource\n) when {\n true && ((!(!a::\"\\0\")) == true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"443a284848778e4b40c74fb093209b78e9eade2a":{"name":"443a284848778e4b40c74fb093209b78e9eade2a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && (\"\\u{4}\\u{5}\" in (false || principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7b9bcbbc7a191f346a4b355e999c0e7af112f464":{"name":"7b9bcbbc7a191f346a4b355e999c0e7af112f464","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1dc0dbcb9b9121975d3398e1e6a2893b6361cbea":{"name":"1dc0dbcb9b9121975d3398e1e6a2893b6361cbea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\\0\\u{6}\\u{6}\\0\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0000\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"21a4f15aa3b7c011ba1e7c57d79d6b131f9f64a3":{"name":"21a4f15aa3b7c011ba1e7c57d79d6b131f9f64a3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"279dc8ec66ae24655885489ce18e4e1ed8d8b0b9":{"name":"279dc8ec66ae24655885489ce18e4e1ed8d8b0b9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Boolean"},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::::\u0002"},"attrs":{"F":[true]},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"F":[true]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[true]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b22b165e1e51019db4f32dc3960a3856509e6b10":{"name":"b22b165e1e51019db4f32dc3960a3856509e6b10","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\\0\")\npermit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && ((principal == principal) <= principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cecb369a6be00d8de248438225943338bdc28ad3":{"name":"cecb369a6be00d8de248438225943338bdc28ad3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"F\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"63d9cea9895d1ff489f18e5f608ec604f7359e02":{"name":"63d9cea9895d1ff489f18e5f608ec604f7359e02","schema_json":{"m":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == m::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m::a","id":""},"resource":{"type":"m::a","id":""},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"615078741a0cd4895a3191daa6841627e1e0f875":{"name":"615078741a0cd4895a3191daa6841627e1e0f875","schema_json":{"A::B33333332":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"WjxGj302x":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::B33333332::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::B33333332::a","id":""},"resource":{"type":"A::B33333332::a","id":""},"action":{"type":"A::B33333332::Action","id":""},"context":{"A":"","WjxGj302x":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c0a749b84fb1394652f7860174b0eeff142774f":{"name":"1c0a749b84fb1394652f7860174b0eeff142774f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0001j\u0000"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"da1c16cdd10dde7bf368be9f66a13d8bfd0c5d7e":{"name":"da1c16cdd10dde7bf368be9f66a13d8bfd0c5d7e","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["Fww18T3ww"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Fww18T3ww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","Fww18T3ww"],"principalTypes":["r","Fww18T3ww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":":"},"attrs":{},"parents":[{"type":"Fww18T3ww","id":""}]},{"uid":{"type":"r","id":"x"},"attrs":{},"parents":[{"type":"Fww18T3ww","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"Fww18T3ww","id":""}]},{"uid":{"type":"Fww18T3ww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":":"},"resource":{"type":"r","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d213fa7ac5bebd6af38878484430f71fca86286a":{"name":"d213fa7ac5bebd6af38878484430f71fca86286a","schema_json":{"C22":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A00Y21RRRRRRS2":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C22::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"C22::a","id":"a"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C22::a","id":"a"},"resource":{"type":"C22::a","id":"a"},"action":{"type":"C22::Action","id":"action"},"context":{"A00Y21RRRRRRS2":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1508db927ec3f39159de65acbdf453fc0a2310b5":{"name":"1508db927ec3f39159de65acbdf453fc0a2310b5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"j\\0\\0\\0\\0\\0\\0\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e0f6913f9fa8b06d1b2a1b8b6c02087585d7f986":{"name":"e0f6913f9fa8b06d1b2a1b8b6c02087585d7f986","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"00\"\n) when {\n (true && (-(Action::\"action\"))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2f547f49e49d76b32039604ef3b6a9a14db1d3b0":{"name":"2f547f49e49d76b32039604ef3b6a9a14db1d3b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"Fwwwwwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwwwwwww"],"principalTypes":["Fwwwwwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwwwww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwwwwww","id":""},"resource":{"type":"Fwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8ae9da22bf3e14fc5beacba0ca1d505943eb5282":{"name":"8ae9da22bf3e14fc5beacba0ca1d505943eb5282","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f7ce74c11891a7f12cb5572bb109bd86118a25fa":{"name":"f7ce74c11891a7f12cb5572bb109bd86118a25fa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n true && (((principal || principal) || principal) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8a4206baab5492fa446b2a91fc661c08b66f7470":{"name":"8a4206baab5492fa446b2a91fc661c08b66f7470","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && \"\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"64b6091559a40a09a53f633f18677ce292b71fcc":{"name":"64b6091559a40a09a53f633f18677ce292b71fcc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && (((a::\":\" && \"\") && principal) && principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0f17119feea9deb66035e5df79a86f4b7c8fa580":{"name":"0f17119feea9deb66035e5df79a86f4b7c8fa580","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"05debaed8129359774e0f4012e4064f8afa592cd":{"name":"05debaed8129359774e0f4012e4064f8afa592cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"L\\0\\0\\0\\0\\0\\u{2}\\u{1}\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"L\u0000\u0000\u0000\u0000\u0000\u0002\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"38188a0d43f07656dd70781417c7bad5b05a4764":{"name":"38188a0d43f07656dd70781417c7bad5b05a4764","schema_json":{"v::Qx::OMRR":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"qi":{"type":"Boolean","required":false},"v":{"type":"Boolean","required":false},"w5":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::Qx::OMRR::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"v":false,"qi":false,"w5":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"afa41923c27f22a96bfd76a9a8a3b2569b91a53e":{"name":"afa41923c27f22a96bfd76a9a8a3b2569b91a53e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0i\\0\",\n action,\n resource == a::\"\\0i\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0006\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"bb3ef5fe04a8594071227b50ba4e4f1c67070ca3":{"name":"bb3ef5fe04a8594071227b50ba4e4f1c67070ca3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"11\\06609-\",\n action in [Action::\"action\"],\n resource == a::\"11\\06609-\"\n) when {\n true && ((principal has \"\") <= principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"11\u00006609-"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"11\u00006609-"},"resource":{"type":"a","id":"11\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"968e29828c432b49c8f1e6e96292f4aa1d28964d":{"name":"968e29828c432b49c8f1e6e96292f4aa1d28964d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && context) && principal) && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"676f584a311fec91ca2593d2a8c50cd4c37c6523":{"name":"676f584a311fec91ca2593d2a8c50cd4c37c6523","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Entity","name":"a","required":true},"Fpvk103M":{"type":"Entity","name":"a","required":true},"sjWk":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"Fpvk103M":{"__entity":{"id":"","type":"a"}},"sjWk":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22ab42e8b0c7232dfbe275d0b03c7fb0be5f1888":{"name":"22ab42e8b0c7232dfbe275d0b03c7fb0be5f1888","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u000201"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"es\u0000s\u0002\""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u000201"},"resource":{"type":"a","id":"\u000201"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"543c0a1b6e646612c265d655bc5e8c9cb5f9fddd":{"name":"543c0a1b6e646612c265d655bc5e8c9cb5f9fddd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"446b4abb9c1958bbf5ba0f8f19564ab82ab9cbed":{"name":"446b4abb9c1958bbf5ba0f8f19564ab82ab9cbed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"68318f2eefc7de93d2490f6452c804087a99b619":{"name":"68318f2eefc7de93d2490f6452c804087a99b619","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n ((true && ((a::\"\" like \"\").containsAny(\"\"))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8dcfa6e09d836dedaeb71e79585d2bf8e3ef8bcc":{"name":"8dcfa6e09d836dedaeb71e79585d2bf8e3ef8bcc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action,\n resource in a::\"\\0\"\n) when {\n ((true && a::\"\\0\") && Action::\"action\") && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"62bbb2345cdf1b18279c69b7433b8098bdad9806":{"name":"62bbb2345cdf1b18279c69b7433b8098bdad9806","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"G":{"type":"Boolean","required":false},"l":{"type":"Boolean","required":false},"n":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::"},"attrs":{"l":false,"r":false,"G":false,"n":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"r":false,"G":false,"l":false,"n":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"28f2a33ec169a9d5d4f08602156ca79bcb9ae755":{"name":"28f2a33ec169a9d5d4f08602156ca79bcb9ae755","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{2}1\",\n action in [Action::\"action\"],\n resource == a::\"\\u{2}1\"\n) when {\n true && (!215610940295651377)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3e3053c1416c941469f10c33aa234dc0245665d6":{"name":"3e3053c1416c941469f10c33aa234dc0245665d6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\0\\0\\0\\0\\0\\0\\0\\0\\01\",\n action in [Action::\"action\"],\n resource in a::\"\\u{2}\\u{2}\\0\\0\\0\\0\\0\\0\\0\\0\\01\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":".="},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"resource":{"type":"a","id":"\u0002\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"86d4560b43a0a1d09c22b61edede50be15077139":{"name":"86d4560b43a0a1d09c22b61edede50be15077139","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"resource":{"type":"a","id":"\u0000>\u0000\u0000L\u0000fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22cca6533b288f8a0bc952f5777475b38eba2a54":{"name":"22cca6533b288f8a0bc952f5777475b38eba2a54","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":-157518874852787470},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A0":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8c36035fd556368746cadc0f161f7b650cca9cd6":{"name":"8c36035fd556368746cadc0f161f7b650cca9cd6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (\"\" == \"\")) && (principal < principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0f77f6c224018df9fc00f3068dc4a4cb198b78e1":{"name":"0f77f6c224018df9fc00f3068dc4a4cb198b78e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource in a::\"\\u{2}1\"\n) when {\n ((true && a::\"\\u{2}1\") && false) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b5675f1d0fce1b205972bc991638b47f459c86e8":{"name":"b5675f1d0fce1b205972bc991638b47f459c86e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && ((if (if 0 then principal else principal) then principal else principal) has \"\\0\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"98f3835b005fb616280bc6d6e1e2c62fed2655af":{"name":"98f3835b005fb616280bc6d6e1e2c62fed2655af","schema_json":{"r::r::r::r::r::r::r::F_w33w33":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"resource":{"type":"r::r::r::r::r::r::r::F_w33w33::a","id":""},"action":{"type":"r::r::r::r::r::r::r::F_w33w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aeafc5c38b367f9289c0a642fd60e531de2f3b57":{"name":"aeafc5c38b367f9289c0a642fd60e531de2f3b57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"zq":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"8"},"attrs":{"A":"792F6[79"},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":"792F6[79"},"parents":[]},{"uid":{"type":"a","id":"FEF"},"attrs":{"A":"792F6[79"},"parents":[]},{"uid":{"type":"a","id":"7"},"attrs":{"A":"792F6[79"},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FEF"},"resource":{"type":"a","id":"FEF"},"action":{"type":"Action","id":"zq"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e88c2229a36d09f4cf001731c30336f1b845bf81":{"name":"e88c2229a36d09f4cf001731c30336f1b845bf81","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwKwwwwc":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwKwwwwc"],"principalTypes":["FwKwwwwc"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A0(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwKwwwwc","id":"f:::::"},"attrs":{},"parents":[]},{"uid":{"type":"FwKwwwwc","id":":c"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwKwwwwc","id":":c"},"resource":{"type":"FwKwwwwc","id":":c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d37938f9d55ff46236ddb3f7481644229ea84619":{"name":"d37938f9d55ff46236ddb3f7481644229ea84619","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\0n\",\n action in [Action::\"action\"],\n resource\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000n"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000n"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000n"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6834806f09362aae1d6fcbbd2d46b6e318274d19":{"name":"6834806f09362aae1d6fcbbd2d46b6e318274d19","schema_json":{"r33333k33300::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r33333k33300::r::a","id":"/m"},"attrs":{},"parents":[]},{"uid":{"type":"r33333k33300::r::a","id":"::t:::"},"attrs":{},"parents":[]},{"uid":{"type":"r33333k33300::r::a","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"r33333k33300::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r33333k33300::r::a","id":"::t:::"},"resource":{"type":"r33333k33300::r::a","id":"::t:::"},"action":{"type":"r33333k33300::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aa24455c7698ba851904d0fff952ae4edc7e76c4":{"name":"aa24455c7698ba851904d0fff952ae4edc7e76c4","schema_json":{"ukkkkkkkkka20::Khhhhhh":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"resource":{"type":"ukkkkkkkkka20::Khhhhhh::A","id":""},"action":{"type":"ukkkkkkkkka20::Khhhhhh::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"494fb82ef63f92808034c17256f9be78161b84d0":{"name":"494fb82ef63f92808034c17256f9be78161b84d0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"resource":{"type":"a","id":"jj\u0000\u0000\u0000\u0000\u0001L\u0000\u0000\u0000\u0000ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4f7019fe747f205f1a039359193063ea1bc55915":{"name":"4f7019fe747f205f1a039359193063ea1bc55915","schema_json":{"yalupalt36x77":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in yalupalt36x77::a::\"\",\n action in [yalupalt36x77::Action::\"action\"],\n resource in yalupalt36x77::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"yalupalt36x77::a","id":"\f"},"attrs":{},"parents":[]},{"uid":{"type":"yalupalt36x77::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"yalupalt36x77::a","id":""},"resource":{"type":"yalupalt36x77::a","id":""},"action":{"type":"yalupalt36x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"23325a30760c363b387849a8c4c3cbba75313ec0":{"name":"23325a30760c363b387849a8c4c3cbba75313ec0","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F777327b":{"type":"Entity","name":"cP::v::a","required":false},"qx":{"type":"Entity","name":"cP::v::a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":{"__entity":{"id":"","type":"cP::v::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d446451b547ec42b894a88ac8049782ed9c8fcde":{"name":"d446451b547ec42b894a88ac8049782ed9c8fcde","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"17be3581f3ffda7cc77969e6876952e8b36806d5":{"name":"17be3581f3ffda7cc77969e6876952e8b36806d5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"Long","required":false},"Q":{"type":"Boolean","required":false},"Q120":{"type":"Boolean","required":false},"r":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":false,"A0":0,"Q":false,"r":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5da8c2597f35cff88479a9c34c7ee20f6afc3525":{"name":"5da8c2597f35cff88479a9c34c7ee20f6afc3525","schema_json":{"":{"commonTypes":{},"entityTypes":{"B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u001b\u001b":{"appliesTo":{"resourceTypes":["B"],"principalTypes":["B"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},";":{"appliesTo":{"resourceTypes":["B"],"principalTypes":["B"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u001b":{"appliesTo":{"resourceTypes":[],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["B"],"principalTypes":["B"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B","id":""},"resource":{"type":"B","id":""},"action":{"type":"Action","id":"\u001b\u001b"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fd6c0162c36cf2a9f7b0f1f63cba50e26b7c7473":{"name":"fd6c0162c36cf2a9f7b0f1f63cba50e26b7c7473","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && Action::\"action\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"da5fe16ab3b3f9798a1508ab1cf6ea701e7cb757":{"name":"da5fe16ab3b3f9798a1508ab1cf6ea701e7cb757","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"k0\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000("},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"k0\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000("},"resource":{"type":"a","id":"\u0000("},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e265048e41123c7389400efd99019d7a42fb70cb":{"name":"e265048e41123c7389400efd99019d7a42fb70cb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e8f04e1f16b54da2ecb9ba425cedcada8e2d3dc7":{"name":"e8f04e1f16b54da2ecb9ba425cedcada8e2d3dc7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@bA6666600000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"󅅈"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2967da6826bf5a7404b811b6948b326725337f4c":{"name":"2967da6826bf5a7404b811b6948b326725337f4c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"g\u0002\u0016\u0002/\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"t"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002com"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001$grS/om"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002com"},"resource":{"type":"a","id":"\u0002\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3bde040244b04439e604f4bc68db039890f4fc15":{"name":"3bde040244b04439e604f4bc68db039890f4fc15","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":["u","","","","",""]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d1ab2b8b520d689f91156782544ce685a8131254":{"name":"d1ab2b8b520d689f91156782544ce685a8131254","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C23":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"C22amklq":{"type":"Boolean","required":false},"vrpYaglel":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"C23":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C22amklq":false,"vrpYaglel":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f4a401575ad2bb45f81c5da1c5e9455bb38ae3e3":{"name":"f4a401575ad2bb45f81c5da1c5e9455bb38ae3e3","schema_json":{"r::r::r::r::r33::r::r::V::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"K000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{"K000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"71b7c9224c7bc61c360c980314c8846dfe6b6d42":{"name":"71b7c9224c7bc61c360c980314c8846dfe6b6d42","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource == a::\"\"\n) when {\n false && ((false < false) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"942be69eda5e79fd772b447f062a7d9d543097c3":{"name":"942be69eda5e79fd772b447f062a7d9d543097c3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (\"\" == \"\")) && (if ((if false then principal else principal) in principal) then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"43a7346e3c33f5bfa1225277634c5d7d8272ec31":{"name":"43a7346e3c33f5bfa1225277634c5d7d8272ec31","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"27b71e9fbe9a6df39d7da362318dccc30c36afb1":{"name":"27b71e9fbe9a6df39d7da362318dccc30c36afb1","schema_json":{"":{"commonTypes":{},"entityTypes":{"Fwwwwwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwwwwwww"],"principalTypes":["Fwwwwwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwwwww","id":"::::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwwwwww","id":"::::"},"resource":{"type":"Fwwwwwww","id":"::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"37a4a36a832a2c109875c4482a1c757c07e7689a":{"name":"37a4a36a832a2c109875c4482a1c757c07e7689a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && [a::\"\", [a::\"\", principal, principal, principal], principal, principal]\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"be1a3bb152ac556d10011963b2543c28bede4f4f":{"name":"be1a3bb152ac556d10011963b2543c28bede4f4f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"F\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8b215be721bd036c5218e7540fc43a8b339e1254":{"name":"8b215be721bd036c5218e7540fc43a8b339e1254","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true && action\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b537e1d0a5408c81734469f4629f830e78ddef79":{"name":"b537e1d0a5408c81734469f4629f830e78ddef79","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource == a::\"6\\u{3}\"\n) when {\n (true && (!\"\")) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"6\u0003"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"6\u0003"},"resource":{"type":"a","id":"6\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"55bf306cab4c32bfcccb9fe72bb92e6e637dba01":{"name":"55bf306cab4c32bfcccb9fe72bb92e6e637dba01","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && ((if (if 0 then principal else principal) then principal else principal) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6fd8189e2fe88662dc06a04df0676824c692e94a":{"name":"6fd8189e2fe88662dc06a04df0676824c692e94a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if ((principal[\"jj\"])[\"\"]) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c085520d000d77c2667260fbacc08d70aac0dd96":{"name":"c085520d000d77c2667260fbacc08d70aac0dd96","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"j\\0\\0\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"14c24424e78073eb033bd799898f71cd5d022b0d":{"name":"14c24424e78073eb033bd799898f71cd5d022b0d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (((0 * 0) || principal) * 0)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"da715723bd19cfced47a6111f4b00bbd1914cb34":{"name":"da715723bd19cfced47a6111f4b00bbd1914cb34","schema_json":{"r::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"r::r::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"be57443a5a447a1dd4060b87a0b2a1e6ebb8720c":{"name":"be57443a5a447a1dd4060b87a0b2a1e6ebb8720c","schema_json":{"C":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@B00(\"\\t\")\n@Dj(\"/n_m\")\n@X(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C::a","id":"c"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C::a","id":"c"},"resource":{"type":"C::a","id":"c"},"action":{"type":"C::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8a03928d0b2ed43f8d66f0732e23554803e3c570":{"name":"8a03928d0b2ed43f8d66f0732e23554803e3c570","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && context) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"10abaa21f1aaa8c1d6de2c2ae846a2ba15d9f84f":{"name":"10abaa21f1aaa8c1d6de2c2ae846a2ba15d9f84f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"F":{"appliesTo":null,"memberOf":null},"FFF":{"appliesTo":null,"memberOf":null},"FFDFFFFF&":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"ƹFFF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"27befb74bf03f491d43ec29bc2370673d8cb9a7a":{"name":"27befb74bf03f491d43ec29bc2370673d8cb9a7a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"N222222222amkl":{"type":"Long","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"String","required":false},"s3333":{"type":"String","required":false},"u000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"N222222222amkl":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"u000000000000":"","r":"","s3333":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d640758bb47cfede252c0aff279ca8f395b51ac2":{"name":"d640758bb47cfede252c0aff279ca8f395b51ac2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"26+4"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca4a7fbd3617faa7e877b6038d722296a4b9d27d":{"name":"ca4a7fbd3617faa7e877b6038d722296a4b9d27d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"n/manageme"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"nt/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0c3a5ddcbb4629791f1793c7b0a683972bdbe0a6":{"name":"0c3a5ddcbb4629791f1793c7b0a683972bdbe0a6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0002\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8ffcf975e110df56490cb26f61917213f63d0936":{"name":"8ffcf975e110df56490cb26f61917213f63d0936","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"resource":{"type":"a","id":"r\u0000\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0183d83d9b74ad8b57acbfd9771edf5e55421ec8":{"name":"0183d83d9b74ad8b57acbfd9771edf5e55421ec8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"zzzz":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6b787ff93eaf47694db647e9981122e6f71896cb":{"name":"6b787ff93eaf47694db647e9981122e6f71896cb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"\\0\"\n) when {\n ((true && ((principal == principal) like \"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\t\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000*"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a6c6a059732046e9062e072b17117f14f7d470b1":{"name":"a6c6a059732046e9062e072b17117f14f7d470b1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9fe2561a4f8f6c04814be2e41154a1c8b516d1dc":{"name":"9fe2561a4f8f6c04814be2e41154a1c8b516d1dc","schema_json":{"Q0xx":{"commonTypes":{},"entityTypes":{"Qxxx1fARxzI222III":{"memberOfTypes":["c"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"c":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Qxxx1fARxzI222III","c"],"principalTypes":["Qxxx1fARxzI222III","c"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Q0xx::c","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"attrs":{},"parents":[{"type":"Q0xx::c","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"resource":{"type":"Q0xx::Qxxx1fARxzI222III","id":""},"action":{"type":"Q0xx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0e8b180d44c3ea563be94afe3958632a3a4b6266":{"name":"0e8b180d44c3ea563be94afe3958632a3a4b6266","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffff\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffff\u0000\u0000\u0000"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"F"},"resource":{"type":"a","id":"F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a6161206cfbf724488baa4a9cd83863ae519abd3":{"name":"a6161206cfbf724488baa4a9cd83863ae519abd3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true && (\"\" == \"\")\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"533f97efb842328e87f25d4fd5ca3a59982fdd96":{"name":"533f97efb842328e87f25d4fd5ca3a59982fdd96","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2adbc697e6a4307319167e11381a5264e8da8746":{"name":"2adbc697e6a4307319167e11381a5264e8da8746","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}1\",\n action in [Action::\"action\"],\n resource in a::\"\\u{2}1\"\n) when {\n true && ((!principal) like \"\\0\\0\\u{2}\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6a405134ca667831ffd1e2633bc903c171c8bc27":{"name":"6a405134ca667831ffd1e2633bc903c171c8bc27","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@F(\"\")\n@m(\"\")\n@q(\"\")\n@rYn(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3c2951c32b8cc2ced0d43ee0387d8c3d4933f5ad":{"name":"3c2951c32b8cc2ced0d43ee0387d8c3d4933f5ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{")":{"appliesTo":null,"memberOf":null},"J":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4be8267d6c692d51457074bdbdabf0d766eb415c":{"name":"4be8267d6c692d51457074bdbdabf0d766eb415c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"c":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"C":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"c"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d175868edf86eb28e5cd6b133b0b4f093d8f24d9":{"name":"d175868edf86eb28e5cd6b133b0b4f093d8f24d9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000#\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000#\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ea8a02edf1364288d32708cb2415aac3559454df":{"name":"ea8a02edf1364288d32708cb2415aac3559454df","schema_json":{"":{"commonTypes":{},"entityTypes":{"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Kfhhfhh":{"memberOfTypes":["K"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhfhh","K"],"principalTypes":["Kfhhfhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhfhh","id":""},"attrs":{},"parents":[{"type":"K","id":"\u0013"},{"type":"K","id":""}]},{"uid":{"type":"K","id":"\u0013"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhfhh","id":""},"resource":{"type":"Kfhhfhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a25640f8d20b7b2676cb78e50d30a58a8d984c3a":{"name":"a25640f8d20b7b2676cb78e50d30a58a8d984c3a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"3"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dad14134aa1ce9af0bb49f8d1fdfea528860903b":{"name":"dad14134aa1ce9af0bb49f8d1fdfea528860903b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"FFF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFF"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FFF"},"resource":{"type":"a","id":"FFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3fed84e6d367c88bde42d53e756d528905a4d4fc":{"name":"3fed84e6d367c88bde42d53e756d528905a4d4fc","schema_json":{"N8xt37x77":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in N8xt37x77::a::\"\",\n action in [N8xt37x77::Action::\"action\"],\n resource == N8xt37x77::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"N8xt37x77::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"N8xt37x77::a","id":""},"resource":{"type":"N8xt37x77::a","id":""},"action":{"type":"N8xt37x77::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"604a41216284beed5afa69f4b724c92d17b36812":{"name":"604a41216284beed5afa69f4b724c92d17b36812","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}1\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\u{2}1\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"030831a33c04c85f8cf1efe16875826a19fc5cc5":{"name":"030831a33c04c85f8cf1efe16875826a19fc5cc5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true && (-(-(-(16389570404810823))))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"961eec7160aaf77e2c58eb965a43edf371548d71":{"name":"961eec7160aaf77e2c58eb965a43edf371548d71","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && (\"\" like \"\")) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":")"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":")"},"resource":{"type":"a","id":")"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"68364054ff4608130dfc03ad0646f329205daa8d":{"name":"68364054ff4608130dfc03ad0646f329205daa8d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"ww\"\n) when {\n ((true && (((false && principal) && principal) && principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"191acc4c653f5f2d95123532747b774eee13f840":{"name":"191acc4c653f5f2d95123532747b774eee13f840","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"s::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":"\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bbbba300ccd3f8a8ce43172dbb79394076c4ccde":{"name":"bbbba300ccd3f8a8ce43172dbb79394076c4ccde","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"1\"\n) when {\n ((true && (!\"\")) && Action::\"action\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"86d842e37350ffc25126fd71342ec46a248ba340":{"name":"86d842e37350ffc25126fd71342ec46a248ba340","schema_json":{"r::r::r::G::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::G::r::a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::G::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::G::r::a","id":":"},"resource":{"type":"r::r::r::G::r::a","id":":"},"action":{"type":"r::r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"75aa7fb6f7ae6bb13f1e334dbf73b8219b915f57":{"name":"75aa7fb6f7ae6bb13f1e334dbf73b8219b915f57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\\0&\",\n action in [Action::\"action\"],\n resource == a::\"\\0\\0&\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"371a58c4e871e3d31a067809a98b1d6baae6af34":{"name":"371a58c4e871e3d31a067809a98b1d6baae6af34","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"zzzz":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"972f4782b62c480d9b818d7641eeaa41c81ef5a6":{"name":"972f4782b62c480d9b818d7641eeaa41c81ef5a6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && (!context)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\b]"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\b]"},"resource":{"type":"a","id":"\u0000\b]"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"eca862d296e406c0eaa97da5ab64b63009838a84":{"name":"eca862d296e406c0eaa97da5ab64b63009838a84","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"resource":{"type":"a","id":"\u0000\u0000#\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000java"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4f7c9ab77e4079e780601dea7a76263027b5ab69":{"name":"4f7c9ab77e4079e780601dea7a76263027b5ab69","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhhh"],"principalTypes":["Kfhhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in Kfhhhhhh::\"\",\n action in [Action::\"action\"],\n resource in Kfhhhhhh::\"\"\n) when {\n (true && (!principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"Kfhhhhhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7b3989b521214bd643a5be5ed6157ec1ebb07ff3":{"name":"7b3989b521214bd643a5be5ed6157ec1ebb07ff3","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["G"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"C":{"memberOfTypes":["A","n","G"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["n","G"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["C","A","n","G"],"principalTypes":["C","A","n","G"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":":"},"attrs":{},"parents":[{"type":"G","id":""}]},{"uid":{"type":"C","id":""},"attrs":{},"parents":[{"type":"G","id":""},{"type":"n","id":""},{"type":"A","id":""},{"type":"n","id":":"}]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"G","id":""},{"type":"n","id":":"},{"type":"n","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"G","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"45cd88e70a9eeda25ce3c6c80ad221cb2ce5517c":{"name":"45cd88e70a9eeda25ce3c6c80ad221cb2ce5517c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{1}\",\n action == Action::\"action\",\n resource == a::\"\\u{1}\"\n) when {\n (true && (((a::\"\\u{1}\" == a::\"\\u{1}\") == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7ecad9939f8607228e8fa6d489f56e0f21e7e647":{"name":"7ecad9939f8607228e8fa6d489f56e0f21e7e647","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && (if (if (if \"\" then \"\" else false) then principal else principal) then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6532c90795c1e85512ed437b8a4f447421eb6684":{"name":"6532c90795c1e85512ed437b8a4f447421eb6684","schema_json":{"":{"commonTypes":{},"entityTypes":{"F3333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F3333"],"principalTypes":["F3333"],"context":{"type":"Record","attributes":{"Fowwwwww":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F3333","id":""},"attrs":{"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F3333","id":""},"resource":{"type":"F3333","id":""},"action":{"type":"Action","id":"action"},"context":{"Fowwwwww":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8ebe34f00d35e2e63a43eb79a561f416a9299039":{"name":"8ebe34f00d35e2e63a43eb79a561f416a9299039","schema_json":{"":{"commonTypes":{},"entityTypes":{"VhhhhhhkkkkiJ00ki":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["VhhhhhhkkkkiJ00ki"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","VhhhhhhkkkkiJ00ki"],"principalTypes":["VhhhhhhkkkkiJ00ki"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"VhhhhhhkkkkiJ00ki","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"VhhhhhhkkkkiJ00ki","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VhhhhhhkkkkiJ00ki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"781fbc4805de88ec4530a67a60551980f29106f9":{"name":"781fbc4805de88ec4530a67a60551980f29106f9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":false},"parents":[]},{"uid":{"type":"a","id":"/ja"},"attrs":{"r":false},"parents":[]},{"uid":{"type":"a","id":"xm"},"attrs":{"r":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"xm"},"resource":{"type":"a","id":"xm"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"59b40ee189078376c726568c27559ab1dd4439c2":{"name":"59b40ee189078376c726568c27559ab1dd4439c2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"1\\06609-\",\n action in [Action::\"action\"],\n resource == a::\"1\\06609-\"\n) when {\n (true && (((principal has \"\") == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1\u00006609-"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"1\u00006609-"},"resource":{"type":"a","id":"1\u00006609-"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"464729a46d258bcaaf394e5c69445e2c3eb2cfd7":{"name":"464729a46d258bcaaf394e5c69445e2c3eb2cfd7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (((a::\"\" in a::\"\") in principal) in principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5eba5818ceaeccd6d026f5ea287d848e1d47e04d":{"name":"5eba5818ceaeccd6d026f5ea287d848e1d47e04d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"027083f3b76fbddceb11ebd87326cc2d9bc5a6aa":{"name":"027083f3b76fbddceb11ebd87326cc2d9bc5a6aa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true && (((3941264106 * 0) * 0) * 0)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"71500876d9546ead0a4fc26858db3e0b22985791":{"name":"71500876d9546ead0a4fc26858db3e0b22985791","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"E":{"type":"Entity","name":"a","required":false},"fwnc5cqapgxwAw":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::A"},"attrs":{"fwnc5cqapgxwAw":{"__entity":{"id":"::A","type":"a"}},"E":{"__entity":{"id":"::A","type":"a"}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"E":{"__entity":{"id":"::A","type":"a"}},"fwnc5cqapgxwAw":{"__entity":{"id":"::A","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::A"},"resource":{"type":"a","id":"::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"53d1bdbcb06b91cc69fe942ed42126030ab76245":{"name":"53d1bdbcb06b91cc69fe942ed42126030ab76245","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"_cp":{"type":"String","required":false},"_kgr66A":{"type":"String","required":false},"ufgaYjWkckmpw":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"_cp":"","_kgr66A":"","ufgaYjWkckmpw":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"728e7c4e709364b4251fe7988f3c8a48ba15b7da":{"name":"728e7c4e709364b4251fe7988f3c8a48ba15b7da","schema_json":{"L::V":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["w"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"fffff":{"appliesTo":{"resourceTypes":["r"],"principalTypes":["r","w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"L::V::r","id":""},"attrs":{},"parents":[{"type":"L::V::w","id":""}]},{"uid":{"type":"L::V::w","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L::V::r","id":""},"resource":{"type":"L::V::r","id":""},"action":{"type":"L::V::Action","id":"fffff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"930830a6a4ef9e7673ff3c2b38e0f8195911a5ba":{"name":"930830a6a4ef9e7673ff3c2b38e0f8195911a5ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"БОwt":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"Js":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":[],"principalTypes":["a"],"context":{"type":"Record","attributes":{"u000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"БОwt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f0f61375eb51a9502529d45947218325e1aa8634":{"name":"f0f61375eb51a9502529d45947218325e1aa8634","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"$\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"88854732ff8c1610ddd340cf53aeeae79e33d222":{"name":"88854732ff8c1610ddd340cf53aeeae79e33d222","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"/ja"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4e203763a4b74f0734f201742b257a5c3ef77826":{"name":"4e203763a4b74f0734f201742b257a5c3ef77826","schema_json":{"m":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Fwwwww(\":\\u{f}\\0\")\nforbid(\n principal,\n action in [m::Action::\"action\",m::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m::a","id":":::"},"attrs":{},"parents":[]},{"uid":{"type":"m::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m::a","id":":::"},"resource":{"type":"m::a","id":":::"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7cf6c65ea774eb97a4608436b16ed472963403ee":{"name":"7cf6c65ea774eb97a4608436b16ed472963403ee","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{":m_\u001ai–Œu":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"B0000000000000000":{"type":"String","required":false},"FgwkWQwQ7Wjjkg":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":":m_\u001ai–Œu"},"context":{"FgwkWQwQ7Wjjkg":"","B0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b9c8d6feca161c723f28929d6cbb30479f6924ae":{"name":"b9c8d6feca161c723f28929d6cbb30479f6924ae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (-9042521604759584126)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"78"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"78"},"resource":{"type":"a","id":"78"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"528fe2faa9613612d2f87eebe9b3a37c3d0c4726":{"name":"528fe2faa9613612d2f87eebe9b3a37c3d0c4726","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"cc030557bcc567d0adf8ce6866d7979ff1d48256":{"name":"cc030557bcc567d0adf8ce6866d7979ff1d48256","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":true},"D":{"type":"Boolean","required":false},"o_1":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"D":false,"A":"","o_1":""},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000::::"},"attrs":{"D":false,"o_1":"","A":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6f39fc31e46817318751745ca182faa912a002f0":{"name":"6f39fc31e46817318751745ca182faa912a002f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\",\n action in [Action::\"action\"],\n resource\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3874dfebce65ae9a05be5d59bdc10ee5d4d756dc":{"name":"3874dfebce65ae9a05be5d59bdc10ee5d4d756dc","schema_json":{"AJHH":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in AJHH::a::\"\",\n action in [AJHH::Action::\"action\",AJHH::Action::\"action\"],\n resource in AJHH::a::\"\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"AJHH::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"AJHH::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"AJHH::a","id":""},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"AJHH::a","id":"\u0000"},"resource":{"type":"AJHH::a","id":"\u0000"},"action":{"type":"AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8e63062b22cd9bcbfc3bcf31aefa150b54094b76":{"name":"8e63062b22cd9bcbfc3bcf31aefa150b54094b76","schema_json":{"A97w":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A97w::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A97w::a","id":"co\rmf:::::"},"attrs":{},"parents":[]},{"uid":{"type":"A97w::a","id":"#:::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A97w::a","id":"#:::"},"resource":{"type":"A97w::a","id":"#:::"},"action":{"type":"A97w::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"790548c540ab8e24e820d02ec0e6bd38c823c317":{"name":"790548c540ab8e24e820d02ec0e6bd38c823c317","schema_json":{"stYWLSk":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == stYWLSk::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"stYWLSk::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"resource":{"type":"stYWLSk::a","id":"\u0015\u0015\u001c"},"action":{"type":"stYWLSk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"99d7bbfdb6e920b94e2f5940ae498c088336d67f":{"name":"99d7bbfdb6e920b94e2f5940ae498c088336d67f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7bddb2c6c02a5973392e44c285dda262d41e93ae":{"name":"7bddb2c6c02a5973392e44c285dda262d41e93ae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && (!{})) && (!principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e2cb81812331e4010069807d549e5a9969295734":{"name":"e2cb81812331e4010069807d549e5a9969295734","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Long"},"required":true},"n99W3AaKiiii":{"type":"Long","required":true},"r":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":[],"n99W3AaKiiii":0,"r":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a3e131e67b54ee0f2967a76c2bea2fa49bb4442d":{"name":"a3e131e67b54ee0f2967a76c2bea2fa49bb4442d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"WjiX":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Ielujxx000":{"type":"String","required":false},"JpmmmXmsgtvtmm":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"WjiX":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"JpmmmXmsgtvtmm":"","Ielujxx000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9fd7413265eab443e94605d8084ce2e5d68f80b6":{"name":"9fd7413265eab443e94605d8084ce2e5d68f80b6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Q120":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":2407168634},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Q120":0},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"474a6da426a0a138877cfd664d06efd6966c0d7d":{"name":"474a6da426a0a138877cfd664d06efd6966c0d7d","schema_json":{"r::r::G::r":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["E"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"E":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r","E"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r","E"],"principalTypes":["r","E"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::G::r::A","id":""},"attrs":{},"parents":[{"type":"r::r::G::r::r","id":""},{"type":"r::r::G::r::E","id":""}]},{"uid":{"type":"r::r::G::r::E","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::G::r::r","id":""},"attrs":{},"parents":[{"type":"r::r::G::r::E","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::G::r::r","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f0a5cb529631a3850b8e66e0fe24e26ceb11dd0f":{"name":"f0a5cb529631a3850b8e66e0fe24e26ceb11dd0f","schema_json":{"Q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":false},"r":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Q::a","id":""},"attrs":{"r":{},"C":[[false,false,true],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Q::a","id":""},"resource":{"type":"Q::a","id":""},"action":{"type":"Q::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"98982aa2b2130d3ad1060fd3b7d2a541064bc614":{"name":"98982aa2b2130d3ad1060fd3b7d2a541064bc614","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"\u0005\u0005":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"d\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"d"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e08c4572b2ce32105b85dc6fdb01c24b2b861ab9":{"name":"e08c4572b2ce32105b85dc6fdb01c24b2b861ab9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"`\\0\\0\\0+\\0+\\0:\\u{1e}\\t\\0\\0\\0\\0\\0\\0\\0::\\0\\0+\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"resource":{"type":"a","id":"`\u0000\u0000\u0000+\u0000+\u0000:\u001e\t\u0000\u0000\u0000\u0000\u0000\u0000\u0000::\u0000\u0000+"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"67770a3933efa0dfd70a0ac4138cece8ba937255":{"name":"67770a3933efa0dfd70a0ac4138cece8ba937255","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"&afnyF\"\n) when {\n ((true && {}) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"&afnyF"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"228801b00e79ed2e44f08cc699ca7e766266fbf5":{"name":"228801b00e79ed2e44f08cc699ca7e766266fbf5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{6}\\u{6}\\u{6}\",\n action in [Action::\"action\"],\n resource == a::\"\\u{6}\\u{6}\\u{6}\"\n) when {\n (true && ([].containsAll(!principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fbcd6f770f6ea35ce8531fd4587f05de7935db29":{"name":"fbcd6f770f6ea35ce8531fd4587f05de7935db29","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}com/f\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002com/f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d14a34ca93f49c044fe6bd267eb6e42e56704ade":{"name":"d14a34ca93f49c044fe6bd267eb6e42e56704ade","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"%\"\n) when {\n true && (a::\"%\" has \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"%"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"%"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b4134b83b9dfec592e7806ef6612a86a5c3310a4":{"name":"b4134b83b9dfec592e7806ef6612a86a5c3310a4","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r3333":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r3333","A","n","r"],"principalTypes":["r3333","A","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"n","id":""},{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r3333","id":""},"attrs":{},"parents":[{"type":"n","id":""},{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r3333","id":""},"resource":{"type":"r3333","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"90c47ecf52ca72be7bfb43c495de2616baf18731":{"name":"90c47ecf52ca72be7bfb43c495de2616baf18731","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"J":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e1054ea00da58f9e88b5d0c37f9193392debe301":{"name":"e1054ea00da58f9e88b5d0c37f9193392debe301","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@C(\"\\u{2}\")\n@uk2(\"\\\"\\u{2}\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000L"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"eab2e001e952237e012d570aa287b8cbb349d64e":{"name":"eab2e001e952237e012d570aa287b8cbb349d64e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\\u{7f}\\u{1}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"84823b37c9609c57029d4b2217d8ed6f19504ef4":{"name":"84823b37c9609c57029d4b2217d8ed6f19504ef4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"I":{"type":"Boolean","required":false},"K776":{"type":"String","required":false},"ufgaYjWkckmpv":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"K776":"","A":"","ufgaYjWkckmpv":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"74fe417ab7d038ce58b8dc106bab99fa76eadd17":{"name":"74fe417ab7d038ce58b8dc106bab99fa76eadd17","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{6}:\"\n) when {\n true && (\"z\" == ((\"\" * 16383999) * 0))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"697631c6c95119acf45b4b20267488ac7a700b02":{"name":"697631c6c95119acf45b4b20267488ac7a700b02","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal == A::a::\"\",\n action == A::Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":"j"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"j"},"resource":{"type":"A::a","id":"j"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2d53f67331b256fccd0dbf0e8cb616b64a5e2886":{"name":"2d53f67331b256fccd0dbf0e8cb616b64a5e2886","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"afny\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"afny\u0002\u0002\u0002"},"resource":{"type":"a","id":"afny\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8d00ae5c9a5b26b2af81854b107fc75dfc3be492":{"name":"8d00ae5c9a5b26b2af81854b107fc75dfc3be492","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"AA000000":{"type":"String","required":false},"g":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"g":"","AA000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9f19abed6ce7d188a287c308ab84a60d2abee4a8":{"name":"9f19abed6ce7d188a287c308ab84a60d2abee4a8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false && Action::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"263fea16c36dd7d47f341a225a0d128e5b55e255":{"name":"263fea16c36dd7d47f341a225a0d128e5b55e255","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Long"}}}},"required":false},"ukkko00Wjjjjj":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"ukkko00Wjjjjj":false,"r":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"31db27e3674a66cfe5e5dcd7b339a0a7b67298e5":{"name":"31db27e3674a66cfe5e5dcd7b339a0a7b67298e5","schema_json":{"ukkkkkkkk4kkkkkkk":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"resource":{"type":"ukkkkkkkk4kkkkkkk::a","id":""},"action":{"type":"ukkkkkkkk4kkkkkkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"56b0c020f8c3792ec28f53bcd0a918c961106bdf":{"name":"56b0c020f8c3792ec28f53bcd0a918c961106bdf","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"...."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"\u0000\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f93f63d216acc608101bc400cb436f26296bf478":{"name":"f93f63d216acc608101bc400cb436f26296bf478","schema_json":{"":{"commonTypes":{},"entityTypes":{"G666666":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G666666"],"principalTypes":["G666666"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in G666666::\"\\0\\u{2}\",\n action,\n resource in G666666::\"\\0\\u{2}\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"G666666","id":"\u0000\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"G666666","id":"\u0000\u0002"},"resource":{"type":"G666666","id":"\u0000\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bad207c3066f1ffbd151959fd7bdf29c07b02298":{"name":"bad207c3066f1ffbd151959fd7bdf29c07b02298","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@k(\"\\0\")\npermit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && ((!principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c8fe27949148dd0012f348801d64b30d9b27ea90":{"name":"c8fe27949148dd0012f348801d64b30d9b27ea90","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource in a::\"ya\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ya"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"ya"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ya"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ab2df42a94c24da0082192add3e33cc4f77e4cb2":{"name":"ab2df42a94c24da0082192add3e33cc4f77e4cb2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"zzzzzz\"\n) when {\n ((true && [a::\"zzzzzz\", principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"zzzzzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"}"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzzz"},"resource":{"type":"a","id":"zzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"906b5630c98aa1977ad6c2c490ef730b09ac1599":{"name":"906b5630c98aa1977ad6c2c490ef730b09ac1599","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false},"u":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false},"ukkko00Wjjjjj":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"u":{},"ukkko00Wjjjjj":{},"r":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bd1752d749a28ba01382db7bb02a0a972d2c401a":{"name":"bd1752d749a28ba01382db7bb02a0a972d2c401a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"n0\\u{1}\",\n action == Action::\"action\",\n resource == a::\"n0\\u{1}\"\n) when {\n (true && Action::\"action\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"n0\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"n0\u0001"},"resource":{"type":"a","id":"n0\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4bf1f9af8f34ec7092c461766c881f600ffb4f71":{"name":"4bf1f9af8f34ec7092c461766c881f600ffb4f71","schema_json":{"":{"commonTypes":{},"entityTypes":{"sqp1R111o1":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["sqp1R111o1"],"principalTypes":["sqp1R111o1"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"sqp1R111o1","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"sqp1R111o1","id":""},"resource":{"type":"sqp1R111o1","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6f59cb5117c6fb1fb9971f546ff4a718f545aa25":{"name":"6f59cb5117c6fb1fb9971f546ff4a718f545aa25","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"z\u0000\u0000!\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"z\u0000\u0000!\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z\u0000\u0000!\u0000"},"resource":{"type":"a","id":"z\u0000\u0000!\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"fbb67cf9a24d6f669bc498ce002672d38048b513":{"name":"fbb67cf9a24d6f669bc498ce002672d38048b513","schema_json":{"":{"commonTypes":{},"entityTypes":{"OJJJ":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["OJJJ"],"principalTypes":["OJJJ"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in OJJJ::\"RR\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"OJJJ","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"OJJJ","id":"RR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"OJJJ","id":"RR"},"resource":{"type":"OJJJ","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b5cd7ecd8056ac97a3c1081cdbe2bcbc48832bce":{"name":"b5cd7ecd8056ac97a3c1081cdbe2bcbc48832bce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\">0\",\n action in [Action::\"action\"],\n resource == a::\">0\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":">0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":">0"},"resource":{"type":"a","id":">0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0c9b41fe69138ffded4b2a80cf4615208b9ca7ca":{"name":"0c9b41fe69138ffded4b2a80cf4615208b9ca7ca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"coem/zasterx\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"592cda16bc312a956945e93d2cbdc8024f09afd4":{"name":"592cda16bc312a956945e93d2cbdc8024f09afd4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9f00013fd364d25be4f6d50fd14e97c39ad600c2":{"name":"9f00013fd364d25be4f6d50fd14e97c39ad600c2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006F\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006F\u0000"},"resource":{"type":"a","id":"\u0006F\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d709a674e6517e62909672096a240026f2c9b7da":{"name":"d709a674e6517e62909672096a240026f2c9b7da","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7b15e95198ea64b9c9fcc3de85681a7b37de99a0":{"name":"7b15e95198ea64b9c9fcc3de85681a7b37de99a0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"ff&f":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"v7kkkkk000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"m.":{"appliesTo":null,"memberOf":null},".":{"appliesTo":null,"memberOf":null},"":{"appliesTo":null,"memberOf":null},")":{"appliesTo":null,"memberOf":null},"=.":{"appliesTo":null,"memberOf":null},"J":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"ff&f"},"context":{"v7kkkkk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"141462189bb7ca5db202dc588306cc7785334710":{"name":"141462189bb7ca5db202dc588306cc7785334710","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j$\u0000\u0000#"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j$\u0000\u0000#"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j$\u0000\u0000#"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"cc6cce3a415f8f5dfc2b237feb7cc124c01ebc5d":{"name":"cc6cce3a415f8f5dfc2b237feb7cc124c01ebc5d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"DldY222222":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"a\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{"DldY222222":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"21b6650d46522897c4be29fc10851c277273823e":{"name":"21b6650d46522897c4be29fc10851c277273823e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"::":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e36cbecf2f92d04516d732299b0ce7902b7566e9":{"name":"e36cbecf2f92d04516d732299b0ce7902b7566e9","schema_json":{"R::Wj::AJHH":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == R::Wj::AJHH::a::\"\",\n action in [R::Wj::AJHH::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::Wj::AJHH::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::Wj::AJHH::a","id":""},"resource":{"type":"R::Wj::AJHH::a","id":""},"action":{"type":"R::Wj::AJHH::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"5caded9418e07bbbbee532c7a270313a941c12c3":{"name":"5caded9418e07bbbbee532c7a270313a941c12c3","schema_json":{"r::m::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::m::r::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::m::r::a","id":"\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"r::m::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::m::r::a","id":""},"resource":{"type":"r::m::r::a","id":""},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"r::m::r::a","id":"\u0001"},"resource":{"type":"r::m::r::a","id":"\u0001"},"action":{"type":"r::m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6b4e82a987352dc8dcce60ddabe05da8409325bf":{"name":"6b4e82a987352dc8dcce60ddabe05da8409325bf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && (false like \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c48188b8ac4d4f2191db06c508ee38bd1eda54a3":{"name":"c48188b8ac4d4f2191db06c508ee38bd1eda54a3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"66\",\n action == Action::\"action\",\n resource == a::\"66\"\n) when {\n (true && (!(!resource))) && (!false)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"935ed181d5b21b08c88375d23f0ca2206aea2eb0":{"name":"935ed181d5b21b08c88375d23f0ca2206aea2eb0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\",\n action in [],\n resource in a::\"\\u{2}\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001\u0000\b\u0000"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f750ebde00028c806f5093fa8b0135bdf371d8ae":{"name":"f750ebde00028c806f5093fa8b0135bdf371d8ae","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"\u0000\u0000\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0000\u0000\u0001"},"resource":{"type":"A::a","id":"\u0000\u0000\u0001"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":"\u0000\u0000\u0001"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b4917d2a0f00a6ecc4ddca36bdc64bc3fd302075":{"name":"b4917d2a0f00a6ecc4ddca36bdc64bc3fd302075","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"30d42aa8f44a1b4c9a9c4e0037eef0d324f50172":{"name":"30d42aa8f44a1b4c9a9c4e0037eef0d324f50172","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002c"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5c1097484e8cf6f246daa0d48fd046328f5cfb41":{"name":"5c1097484e8cf6f246daa0d48fd046328f5cfb41","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\\0]\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000]\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000]\u0000"},"resource":{"type":"a","id":"\u0000\u0000]\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"44d60048712580b0091ff28853c825c17b4996ad":{"name":"44d60048712580b0091ff28853c825c17b4996ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"R":{"memberOfTypes":["B","T"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"T":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0015#":{"appliesTo":{"resourceTypes":["R","B","T"],"principalTypes":["R","B","T"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"T","id":""}]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[]},{"uid":{"type":"T","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R","id":""},"resource":{"type":"R","id":""},"action":{"type":"Action","id":"\u0015#"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fb725623677e7858ffe3308c0fbf2e03c59fbb74":{"name":"fb725623677e7858ffe3308c0fbf2e03c59fbb74","schema_json":{"Gxxxx1000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"attrs":{"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"Gxxxx1000::a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Gxxxx1000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33089fa566a0c0200b65f768e03955cc56073945":{"name":"33089fa566a0c0200b65f768e03955cc56073945","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && a::\"\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"005b19a44b16074bb1322d9d25512abfe121daff":{"name":"005b19a44b16074bb1322d9d25512abfe121daff","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && ((if (principal <= 234) then principal else principal) like \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2298e1594f18009a1088a3f3d460896119ae245e":{"name":"2298e1594f18009a1088a3f3d460896119ae245e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"72d5b71f1265742f8ee5657f60c8608688370960":{"name":"72d5b71f1265742f8ee5657f60c8608688370960","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u000212"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":"\u000212"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":"\u000212"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":"\u000212"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":"\u000212"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u000212"},"resource":{"type":"a","id":"\u000212"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cefaca00ac959a2b9fc2f68db187e24290d6fa39":{"name":"cefaca00ac959a2b9fc2f68db187e24290d6fa39","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && (principal like \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ffffffbff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ffffffbff"},"resource":{"type":"a","id":"ffffffbff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f0ce050482aa564b1ba5b3833b03369c9ca414e7":{"name":"f0ce050482aa564b1ba5b3833b03369c9ca414e7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"J":{"type":"Set","element":{"type":"Boolean"},"required":false},"r":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{"J":[false,false],"r":{"__entity":{"id":":","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a63d3ef84a6332dc404d6d9785f468b0204c274c":{"name":"a63d3ef84a6332dc404d6d9785f468b0204c274c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n ((true && ((!(false == principal)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1ede63b6ddd9405b01a3d922b3999147beac2fa9":{"name":"1ede63b6ddd9405b01a3d922b3999147beac2fa9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{1}\",\n action == Action::\"action\",\n resource == a::\"\\u{1}\"\n) when {\n (true && (((a::\"\\u{1}\" == a::\"\\u{1}\") == (a::\"\\u{1}\" == principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b5923f387efebcb2fb744d589da5eb60ac8b5a2f":{"name":"b5923f387efebcb2fb744d589da5eb60ac8b5a2f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":":::8:::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4a8354f596e7d0e151a5ae9e566ceb2b34bf1fda":{"name":"4a8354f596e7d0e151a5ae9e566ceb2b34bf1fda","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f[f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffff\u0011\u0011\u0011"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0011"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffffffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffffff"},"resource":{"type":"a","id":"ffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"db2cdc2b803fe8afebeac848ef72e20eca2ede2c":{"name":"db2cdc2b803fe8afebeac848ef72e20eca2ede2c","schema_json":{"Gxt833777":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == Gxt833777::a::\"\",\n action in [Gxt833777::Action::\"action\"],\n resource in Gxt833777::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxt833777::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7109315f6f0894fb9a66f68a3ce989a8df283dcb":{"name":"7109315f6f0894fb9a66f68a3ce989a8df283dcb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":[[false,false],[true,true]]},"parents":[]},{"uid":{"type":"a","id":"::4"},"attrs":{"F":[[false,false],[false,false],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a64e10570f30a6d811e9cbd4d17eca3239eb7ba6":{"name":"a64e10570f30a6d811e9cbd4d17eca3239eb7ba6","schema_json":{"C6w::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [C6w::r::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C6w::r::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"C6w::r::a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"C6w::r::a","id":"\u0000:"},"attrs":{},"parents":[]},{"uid":{"type":"C6w::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C6w::r::a","id":""},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C6w::r::a","id":"\u0000"},"resource":{"type":"C6w::r::a","id":"\u0000"},"action":{"type":"C6w::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d248c3b001402a861d5b7fa618d637b132abe8c3":{"name":"d248c3b001402a861d5b7fa618d637b132abe8c3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000a"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"zza"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000a"},"resource":{"type":"a","id":"\u0000a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000a"},"resource":{"type":"a","id":"\u0000a"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zza"},"resource":{"type":"a","id":"zza"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a446f4aa49485035973a6d5cb9514a9d4cc996b3":{"name":"a446f4aa49485035973a6d5cb9514a9d4cc996b3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{1}\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3dd6f048ecfe5ab938cea0224dac0a5b3e1fb998":{"name":"3dd6f048ecfe5ab938cea0224dac0a5b3e1fb998","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\\0:::::::::\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"257d63d81965dc91095e15c1828a492ceca7f219":{"name":"257d63d81965dc91095e15c1828a492ceca7f219","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"rg/w3c":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"58b82c6ccae3727eadd2c0c94efa9ee0726687f7":{"name":"58b82c6ccae3727eadd2c0c94efa9ee0726687f7","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"FwwAb0":{"type":"Boolean","required":false},"rdwww30w":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["n"],"principalTypes":["n"],"context":{"type":"Record","attributes":{"F0000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":""},"attrs":{"FwwAb0":false,"rdwww30w":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"F0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ac960abd5a0e59a2ab3d8f11479b6e4afbe5c22f":{"name":"ac960abd5a0e59a2ab3d8f11479b6e4afbe5c22f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Qxxx":{"type":"Boolean","required":false},"sWqslWkgqaWxxxxRx":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sWqslWkgqaWxxxxRx":false,"Qxxx":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fd3136155170ca1db87756f7775d75281b5647d4":{"name":"fd3136155170ca1db87756f7775d75281b5647d4","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":"\u0000\u0002.."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"...."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":"...."},"resource":{"type":"Kfhhhhh","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ea1deadd3d188a9751dfddb6bb567d6e190152e6":{"name":"ea1deadd3d188a9751dfddb6bb567d6e190152e6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && ((false in principal) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c9513d54dc9241fb4d2ea7704d4bc0f57c533ee4":{"name":"c9513d54dc9241fb4d2ea7704d4bc0f57c533ee4","schema_json":{"_MMM::_MMMAzzq::QIII":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"resource":{"type":"_MMM::_MMMAzzq::QIII::a","id":""},"action":{"type":"_MMM::_MMMAzzq::QIII::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8e047f9870ea3a64bd67bc0ade488897d116a315":{"name":"8e047f9870ea3a64bd67bc0ade488897d116a315","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\\0\")\npermit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e19acb87614d3ba808a7e95b203cfe400d534c09":{"name":"e19acb87614d3ba808a7e95b203cfe400d534c09","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"F":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"FF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"FFF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"F"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"be4eb076d2594dfc30f6c2b6abba097fbc9ddbff":{"name":"be4eb076d2594dfc30f6c2b6abba097fbc9ddbff","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"::\\u{4}\"\n) when {\n (true && (!(!true))) && (a::\"::\\u{4}\" && principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"::\u0004"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"::\u0004"},"resource":{"type":"a","id":"::\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e54f1cadcf770e09cf3f60829a458b0230e27eb9":{"name":"e54f1cadcf770e09cf3f60829a458b0230e27eb9","schema_json":{"":{"commonTypes":{},"entityTypes":{"sWqs":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"_qaWMlqY":{"type":"Entity","name":"sWqs","required":true}},"additionalAttributes":false}}},"actions":{"_re":{"appliesTo":null,"memberOf":null},"is":{"appliesTo":{"resourceTypes":["sWqs"],"principalTypes":["sWqs"],"context":{"type":"Record","attributes":{"A0000000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"www":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"sWqs","id":""},"attrs":{"_qaWMlqY":{"__entity":{"id":"","type":"sWqs"}}},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"_re"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"56892e379439f016b9cedf9327e585608a5f57ab":{"name":"56892e379439f016b9cedf9327e585608a5f57ab","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000x/\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0642ad216c4c962428c4e1f6f94a1db8247af415":{"name":"0642ad216c4c962428c4e1f6f94a1db8247af415","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (if (if (if 0 then principal else principal) then principal else principal) then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a71d0f3bb35dfaafc92756b6a2e71a6d02d8bd76":{"name":"a71d0f3bb35dfaafc92756b6a2e71a6d02d8bd76","schema_json":{"":{"commonTypes":{},"entityTypes":{"Khhzhhhk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Khhzhhhk"],"principalTypes":["Khhzhhhk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in Khhzhhhk::\"....\",\n action in [Action::\"action\"],\n resource == Khhzhhhk::\"....\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khhzhhhk","id":"...."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhzhhhk","id":"...."},"resource":{"type":"Khhzhhhk","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7403031002cb460a1df9b6d9a169f4ccb76b70d3":{"name":"7403031002cb460a1df9b6d9a169f4ccb76b70d3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7371969cd47bf1f523502dcc01998d220df2594d":{"name":"7371969cd47bf1f523502dcc01998d220df2594d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFFF\u0000&F"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFFFFFF"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFFFF"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FFFF\u0000&F"},"resource":{"type":"a","id":"FFFF\u0000&F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2d8ef9bbd4a39187d62cd78bc8cff5db1d5c2703":{"name":"2d8ef9bbd4a39187d62cd78bc8cff5db1d5c2703","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"pFYrgt":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"/wegpr":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"a","id":""},"action":{"type":"Action","id":"pFYrgt"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8517b6f5dfec8cd097e5be7e0bc4671be261086e":{"name":"8517b6f5dfec8cd097e5be7e0bc4671be261086e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"PT"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"sN"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"z'"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002oc/"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"L"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"sN"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002oc/"},"resource":{"type":"a","id":"\u0002oc/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a668f8dfb449583535685709a7d9fa1355e32e89":{"name":"a668f8dfb449583535685709a7d9fa1355e32e89","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":true},"F0ca":{"type":"Entity","name":"a","required":true},"qkckmp1":{"type":"Record","attributes":{"":{"type":"String","required":false},"c":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","F0ca":{"__entity":{"id":"","type":"a"}},"qkckmp1":{"":"","c":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f49bf87abd8fad00a3d20364ecb4da7b19ceb31b":{"name":"f49bf87abd8fad00a3d20364ecb4da7b19ceb31b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@f1w(\"\\u{6}\")\npermit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n (true && a::\"\\0\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"29c852068851eff3d2ac701a81ddc671e346f0fb":{"name":"29c852068851eff3d2ac701a81ddc671e346f0fb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000FFF\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"5a241e36a01f47a8b6a069a0bac82efe0b926571":{"name":"5a241e36a01f47a8b6a069a0bac82efe0b926571","schema_json":{"r::l77::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::l77::r::a::\"\",\n action in [r::l77::r::Action::\"action\"],\n resource in r::l77::r::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::l77::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"b1aed3d993954e1122aba91bca73575cb9ef259a":{"name":"b1aed3d993954e1122aba91bca73575cb9ef259a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && (a::\"00\" == true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"21258d5fc152aec138c91355f29f55459971ad7a":{"name":"21258d5fc152aec138c91355f29f55459971ad7a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\t\\0\",\n action,\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\t\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e704fc223403a113f3a85563c360c17fa71e3535":{"name":"e704fc223403a113f3a85563c360c17fa71e3535","schema_json":{"r":{"commonTypes":{},"entityTypes":{"rb93FU3":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["rb93FU3"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G"],"principalTypes":["rb93FU3"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::rb93FU3","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::rb93FU3","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"r::rb93FU3","id":":::\u001a:"},"attrs":{},"parents":[]},{"uid":{"type":"r::G","id":""},"attrs":{},"parents":[{"type":"r::rb93FU3","id":":::\u001a:"},{"type":"r::rb93FU3","id":"\u0002"},{"type":"r::rb93FU3","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::rb93FU3","id":":::\u001a:"},"resource":{"type":"r::G","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e02e2ae73a80519758593d2206484b8292d2c004":{"name":"e02e2ae73a80519758593d2206484b8292d2c004","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && ((if (principal == principal) then principal else principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"fffffffff@f"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"fffffffff@f"},"resource":{"type":"a","id":"fffffffff@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8cd892c9f8a57554f1fc08c8ede88a9787f873e8":{"name":"8cd892c9f8a57554f1fc08c8ede88a9787f873e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@G6t7wr6(\"\\u{6}\\u{6}\\u{6}\")\npermit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\""},"resource":{"type":"a","id":"\""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"65d7ad80c51c5bfa56e22a5c11073a26fa23143d":{"name":"65d7ad80c51c5bfa56e22a5c11073a26fa23143d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"0\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && a::\"0\") && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4da401e9849200d10391c1ccf380b48545805619":{"name":"4da401e9849200d10391c1ccf380b48545805619","schema_json":{"r::n::r::J::r":{"commonTypes":{},"entityTypes":{"u":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["u","r"],"principalTypes":["r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::n::r::J::r::u","id":""},"attrs":{},"parents":[{"type":"r::n::r::J::r::r","id":""}]},{"uid":{"type":"r::n::r::J::r::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::n::r::J::r::r","id":""},"resource":{"type":"r::n::r::J::r::u","id":""},"action":{"type":"r::n::r::J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22e92ff0f6ef3d799723c536734d846d1c78a197":{"name":"22e92ff0f6ef3d799723c536734d846d1c78a197","schema_json":{"":{"commonTypes":{},"entityTypes":{"R77":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["R77"],"principalTypes":["R77"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in R77::\"Z\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R77","id":"Z"},"attrs":{},"parents":[]},{"uid":{"type":"R77","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R77","id":"Z"},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"R77","id":""},"resource":{"type":"R77","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"52ba08e9d979bad6e44cc399fd4ba616cb84cad3":{"name":"52ba08e9d979bad6e44cc399fd4ba616cb84cad3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"O455_z":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false},"mzzirzzzq0z000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"O455_z":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzirzzzq0z000":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6af9d7dcf0429428e6e566ea67e90cd2a92c0606":{"name":"6af9d7dcf0429428e6e566ea67e90cd2a92c0606","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::4"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[[false,true],[],[false,true],[true,false,false,false,false],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9bc9b8dc68881102f184363b5b6df6153a2ff5fe":{"name":"9bc9b8dc68881102f184363b5b6df6153a2ff5fe","schema_json":{"m85www":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m85www::a","id":":cʌto"},"attrs":{},"parents":[]},{"uid":{"type":"m85www::a","id":"em'r>x"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m85www::a","id":":cʌto"},"resource":{"type":"m85www::a","id":":cʌto"},"action":{"type":"m85www::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9f4d739955479dd973a11169342840d58c77101f":{"name":"9f4d739955479dd973a11169342840d58c77101f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0zzz\\u{11}z\",\n action == Action::\"action\",\n resource == a::\"\\0zzz\\u{11}z\"\n) when {\n (true && ((principal == principal) || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"z0zz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000zzz\u0011z"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000zzz\u0011z"},"resource":{"type":"a","id":"\u0000zzz\u0011z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4dcdd9c33af63be9c8eda6aa7ce0561f03f2d2f2":{"name":"4dcdd9c33af63be9c8eda6aa7ce0561f03f2d2f2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\t\u0000\u0000j\u0000\u0000(\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\t\u0000\u0000j\u0000\u0000(\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ec9dd30e89a3764e03ddea1cdd980fbfcfc7b2b2":{"name":"ec9dd30e89a3764e03ddea1cdd980fbfcfc7b2b2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true && (((A::Ass::\"\" in principal) in principal) in principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3be7217c9c8e8d5aff2d052aa2047e5822b71b09":{"name":"3be7217c9c8e8d5aff2d052aa2047e5822b71b09","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"l"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33b6de8a02febaf27017c36fda55b014df7f46c5":{"name":"33b6de8a02febaf27017c36fda55b014df7f46c5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && ((!(context == \"\")) == \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4c7f1052c7dde563dbbc0de4ec169d961f4ca5c9":{"name":"4c7f1052c7dde563dbbc0de4ec169d961f4ca5c9","schema_json":{"G::R::W10k00k0JHHHQH::u0JH":{"commonTypes":{},"entityTypes":{"Fj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["Fj"],"principalTypes":["Fj"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"resource":{"type":"G::R::W10k00k0JHHHQH::u0JH::Fj","id":""},"action":{"type":"G::R::W10k00k0JHHHQH::u0JH::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e83f66ccc4b4025afbb9dcadfc056a002d23fbd2":{"name":"e83f66ccc4b4025afbb9dcadfc056a002d23fbd2","schema_json":{"":{"commonTypes":{},"entityTypes":{"x":{"memberOfTypes":["xml0ddldv"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"xml0ddldv":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["x"],"principalTypes":["x"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"w","id":""},"attrs":{},"parents":[]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[{"type":"xml0ddldv","id":""}]},{"uid":{"type":"xml0ddldv","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e3759308a17eaea1b8f0eeafb7a36ac12b0f7f6d":{"name":"e3759308a17eaea1b8f0eeafb7a36ac12b0f7f6d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0007"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002co\u0002\n\u0002\u0002\u0002\u0002\u0002\u0002cx\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"60f642cbd99199661c5583bc2127e40283315a2d":{"name":"60f642cbd99199661c5583bc2127e40283315a2d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"0000\",\n action == Action::\"action\",\n resource == a::\"0000\"\n) when {\n true && (!false)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0000"},"resource":{"type":"a","id":"0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9c3735b65cac7bbeb208a71005493bc36f3c3dbb":{"name":"9c3735b65cac7bbeb208a71005493bc36f3c3dbb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"l"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6186214b2bed06031da258d01afa620957fc8f3f":{"name":"6186214b2bed06031da258d01afa620957fc8f3f","schema_json":{"Gxt833777":{"commonTypes":{},"entityTypes":{"vxxnjjjjjj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["vxxnjjjjjj"],"principalTypes":["vxxnjjjjjj"],"context":{"type":"Record","attributes":{"K00000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxt833777::vxxnjjjjjj","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxt833777::vxxnjjjjjj","id":""},"resource":{"type":"Gxt833777::vxxnjjjjjj","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{"K00000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c28c8db96265dbac4913b5b6292e3146c515e073":{"name":"c28c8db96265dbac4913b5b6292e3146c515e073","schema_json":{"":{"commonTypes":{},"entityTypes":{"R77":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["R77"],"principalTypes":["R77"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R77","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R77","id":"\u0000\n"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R77","id":"\u0000"},"resource":{"type":"R77","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f2bf002fe41e6c391d7e5b52a8a372fe18630f99":{"name":"f2bf002fe41e6c391d7e5b52a8a372fe18630f99","schema_json":{"":{"commonTypes":{},"entityTypes":{"ukkkkkkk4kkkk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["ukkkkkkk4kkkk"],"principalTypes":["ukkkkkkk4kkkk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"ukkkkkkk4kkkk","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"resource":{"type":"ukkkkkkk4kkkk","id":"....\u0013\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33c9613909304c44134d611ad69d72b474ee46e3":{"name":"33c9613909304c44134d611ad69d72b474ee46e3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && r::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"152fbf832dfe0294b580b983ca1aecaa0ab3249f":{"name":"152fbf832dfe0294b580b983ca1aecaa0ab3249f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"resource":{"type":"a","id":"ݭ\u0017\u0017\u0017"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e8cc98c2a80e66f620f76b7cc8c0ea206f050509":{"name":"e8cc98c2a80e66f620f76b7cc8c0ea206f050509","schema_json":{"":{"commonTypes":{},"entityTypes":{"q":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"O":{"memberOfTypes":["A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O","q","A","B","r"],"principalTypes":["O","q","A","B","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"q","id":""},"attrs":{},"parents":[]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"O","id":""},"attrs":{},"parents":[{"type":"A","id":""}]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6b963e4ae007e7f7dac2eacabae5954b61b0fa9a":{"name":"6b963e4ae007e7f7dac2eacabae5954b61b0fa9a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action in [Action::\"action\"],\n resource in a::\"\\u{2}1\"\n) when {\n ((true && (!(!(true == false)))) && (((true == principal) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a86332e8417b2d0f3f98e810965de54f38d16ec0":{"name":"a86332e8417b2d0f3f98e810965de54f38d16ec0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && (a::\"00\" == true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1c9e4a8ba9c69657e4f1a7ea2f7e52f4aa11cbde":{"name":"1c9e4a8ba9c69657e4f1a7ea2f7e52f4aa11cbde","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n (true && (-(\"2p\"))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"81128bfdaec02e2a97f5043dde1bd539e357fcaa":{"name":"81128bfdaec02e2a97f5043dde1bd539e357fcaa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+\u0003"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+\u0003"},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+\u0003"},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+\u0003"},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+\u0003"},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+\u0003"},"resource":{"type":"a","id":"+\u0003"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"433f18cddaad9fb3bc84e5eb2f0128dc04a14939":{"name":"433f18cddaad9fb3bc84e5eb2f0128dc04a14939","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Fwwwww":{"type":"Set","element":{"type":"Boolean"},"required":false},"r":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":[],"Fwwwww":[]},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"Fwwwww":[],"r":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7a75c93748788ee3682ccb5c38b7e9e0daabc374":{"name":"7a75c93748788ee3682ccb5c38b7e9e0daabc374","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"`\"\n) when {\n (true && context) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4abc8267dfa38260a94e56997bd3d32397ddafc7":{"name":"4abc8267dfa38260a94e56997bd3d32397ddafc7","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"Z":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"z":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::a","id":"a"},"attrs":{},"parents":[]},{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::a","id":"a"},"resource":{"type":"cP::v::a","id":"a"},"action":{"type":"cP::v::Action","id":"Z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"46ccfc10ef864cc7f8c6e7d67036c8c1781844ad":{"name":"46ccfc10ef864cc7f8c6e7d67036c8c1781844ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"`\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && \"z\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a43afb80f7885cbfef046a3a9afeacecb85354d3":{"name":"a43afb80f7885cbfef046a3a9afeacecb85354d3","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"W":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["W","r","F333"],"principalTypes":["W","r","F333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":":>"},"attrs":{},"parents":[{"type":"F333","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[]},{"uid":{"type":"W","id":""},"attrs":{},"parents":[{"type":"r","id":":::"},{"type":"F333","id":""},{"type":"r","id":""},{"type":"r","id":":>"}]},{"uid":{"type":"r","id":":::"},"attrs":{},"parents":[{"type":"F333","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"F333","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"W","id":""},"resource":{"type":"W","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"91ecacebaa77afde6e1994e0cbd9ad9e8972dd8a":{"name":"91ecacebaa77afde6e1994e0cbd9ad9e8972dd8a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\\u{6}\\u{e}\\0\\u{6}:\\u{6}\\0\"\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u000e\u0000\u0006:\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d377fedb7fc99865c1e8c13c2fdd812fa041f905":{"name":"d377fedb7fc99865c1e8c13c2fdd812fa041f905","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"@"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"bd6dde94fdc76cf2ba5c1ac07e02a291730daf56":{"name":"bd6dde94fdc76cf2ba5c1ac07e02a291730daf56","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (({} == a::\"\") * 17)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b42a2e319baa13c4bfc3207cfed423d5b235c7a3":{"name":"b42a2e319baa13c4bfc3207cfed423d5b235c7a3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [],\n resource == a::\"00\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b3305ef1a95d6d84b653de740d0688824e6cc958":{"name":"b3305ef1a95d6d84b653de740d0688824e6cc958","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e72870aef6ae5d3440e39ca160e8498ee7964ebc":{"name":"e72870aef6ae5d3440e39ca160e8498ee7964ebc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f3b2795dc3a36002a8f1019a846972476afcec57":{"name":"f3b2795dc3a36002a8f1019a846972476afcec57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n true && (!false)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"5299903b4c7a5070b089a052d2dfd8bd21bd483e":{"name":"5299903b4c7a5070b089a052d2dfd8bd21bd483e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":"b"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":"b"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":"b"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":"b"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"b"},"resource":{"type":"a","id":"b"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3180e80eded244e4e85d7bd1344cc621bee9e305":{"name":"3180e80eded244e4e85d7bd1344cc621bee9e305","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"x\n\u0002\u0002\u0002\u0002\u0001i\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9250519ce2283cfeec18cbbd341db4bd9fc56423":{"name":"9250519ce2283cfeec18cbbd341db4bd9fc56423","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"(0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"(0\"\n) when {\n true && (!(!(a::\"(0\" in context)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"(0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bc96415309c3b229c7d40bff8a3b9cf0cd58071a":{"name":"bc96415309c3b229c7d40bff8a3b9cf0cd58071a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\t\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\t\u0000"},"resource":{"type":"a","id":"\t\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5ad5af43be1829c480ff5a68e7e014a5dc1668b8":{"name":"5ad5af43be1829c480ff5a68e7e014a5dc1668b8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"+ier\\\\\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+ier\\\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+ier\\\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"400b93e7ff96634977e53d3f7b0b183f35a5291a":{"name":"400b93e7ff96634977e53d3f7b0b183f35a5291a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000jj#\b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000jj#\b"},"resource":{"type":"a","id":"\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bb18e52bb813c138683e38f2e1ebc7dfd3131ad7":{"name":"bb18e52bb813c138683e38f2e1ebc7dfd3131ad7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action,\n resource == a::\"\\u{2}1\"\n) when {\n ((true && (163895704086267462 == (if principal then principal else principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5dfc5d05bfd5474dd95c05d07eeabf0cef876388":{"name":"5dfc5d05bfd5474dd95c05d07eeabf0cef876388","schema_json":{"A000":{"commonTypes":{},"entityTypes":{"VTHLL":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"vdkY0jjjjE":{"memberOfTypes":["VTHLL"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["vdkY0jjjjE","VTHLL"],"principalTypes":["vdkY0jjjjE","VTHLL"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A000::VTHLL","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A000::vdkY0jjjjE","id":""},"attrs":{},"parents":[{"type":"A000::VTHLL","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A000::vdkY0jjjjE","id":""},"resource":{"type":"A000::vdkY0jjjjE","id":""},"action":{"type":"A000::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"39e580df8ad4aa5957fb8a24896dbf7fe4a1ef70":{"name":"39e580df8ad4aa5957fb8a24896dbf7fe4a1ef70","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["r","n"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["n"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"fB":{"memberOfTypes":["G","r","n"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["fB","G","r","n"],"principalTypes":["fB","G","r","n"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"n","id":""}]},{"uid":{"type":"fB","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"G","id":""},{"type":"n","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"fB","id":""},"resource":{"type":"fB","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6cfc2e19564dc9b5d218fb1b7c5387cf4ff164bd":{"name":"6cfc2e19564dc9b5d218fb1b7c5387cf4ff164bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"FFFA\\0\\u{6}\"\n) when {\n (true && resource) && (((A::\"\".contains(principal)) == principal).contains(principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"FFFA\u0000\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"FFFA\u0000\u0006"},"resource":{"type":"a","id":"FFFA\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9ae2a4802b9d0889173964d21b2a63126f31d94f":{"name":"9ae2a4802b9d0889173964d21b2a63126f31d94f","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\",\n action in [A::Action::\"action\"],\n resource in A::a::\"\"\n) when {\n ((true && ((if (false == principal) then principal else principal) in principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"faf56bf278f227911d0481fabba6afebcd204e57":{"name":"faf56bf278f227911d0481fabba6afebcd204e57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"eabb42b2e81c0bad00a33668a407915bf8a3b0d8":{"name":"eabb42b2e81c0bad00a33668a407915bf8a3b0d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && (!context)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"$\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"$\u0000\u0000\u0000"},"resource":{"type":"a","id":"$\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9157df8f4e7f9ad3421b8f5d6fd2e57babee7043":{"name":"9157df8f4e7f9ad3421b8f5d6fd2e57babee7043","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000&"},"resource":{"type":"a","id":"\u0000\u0000&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"dc10006036dd185ebf256e9ff21f88aa2bc720bd":{"name":"dc10006036dd185ebf256e9ff21f88aa2bc720bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0,ff\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\\0,ff\"\n) when {\n true && action\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000,ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000,ff"},"resource":{"type":"a","id":"\u0000\u0000,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e512b76c63cdf7e61a995a30a93d12f7aed91a2b":{"name":"e512b76c63cdf7e61a995a30a93d12f7aed91a2b","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == F::\":::\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":":::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ece73ee86354c14a47b1b9227999de3177fac31b":{"name":"ece73ee86354c14a47b1b9227999de3177fac31b","schema_json":{"iwwwww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"o:;::::ff":{"appliesTo":null,"memberOf":null},"un/n":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"iwwwww::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"iwwwww::Action","id":"o:;::::ff"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a8c129e6673079a29c3d31194c0a5fa5f35b811f":{"name":"a8c129e6673079a29c3d31194c0a5fa5f35b811f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true && resource\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"C\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"02ffc16957f384b0168838937ca001e56f6b2eb6":{"name":"02ffc16957f384b0168838937ca001e56f6b2eb6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && \"A\") && (((Action::\"action\".containsAll(a::\"\")) == principal) like \"A\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2e7de5fbaf5460864156bcda3ca470783782523f":{"name":"2e7de5fbaf5460864156bcda3ca470783782523f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"fff\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"fff\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fff\u0000"},"resource":{"type":"a","id":"fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fff\u0000"},"resource":{"type":"a","id":"fff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fff\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ea3b3bb7b61997bc73aa38c5229b58386ddc2606":{"name":"ea3b3bb7b61997bc73aa38c5229b58386ddc2606","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && a::\"\\0\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0b249feb22c3085af29fe1f1a49a47ebea0fc72e":{"name":"0b249feb22c3085af29fe1f1a49a47ebea0fc72e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"zz|z":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zz|z"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5b4a30d31760d8352c69bd9de176eff0f3e102c4":{"name":"5b4a30d31760d8352c69bd9de176eff0f3e102c4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"1f644ac1deaec0d3a28c91865339f159bc69bb89":{"name":"1f644ac1deaec0d3a28c91865339f159bc69bb89","schema_json":{"B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B::a","id":""},"attrs":{"x":false},"parents":[]},{"uid":{"type":"B::a","id":"fff_m"},"attrs":{"x":false},"parents":[]},{"uid":{"type":"B::a","id":"f"},"attrs":{"x":false},"parents":[]},{"uid":{"type":"B::a","id":"enn"},"attrs":{"x":false},"parents":[]},{"uid":{"type":"B::a","id":"e_"},"attrs":{"x":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B::a","id":"f"},"resource":{"type":"B::a","id":"f"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d404dc752902d853fcb2b9491ea8943edaad795":{"name":"9d404dc752902d853fcb2b9491ea8943edaad795","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && N::\"l;vQ1\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"47735d3eab0f3053c4da1e7a75abb6d7c72281d6":{"name":"47735d3eab0f3053c4da1e7a75abb6d7c72281d6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && ((if (4330 like \"\") then principal else principal) has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c5dea430902a547482bc3ff849be108adf4ab799":{"name":"c5dea430902a547482bc3ff849be108adf4ab799","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\\u{6}\",\n action in [Action::\"action\"],\n resource in a::\"\\u{6}\"\n) when {\n (true && context) && (!a::\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a6c21196776a4e91e71f1aea65176b4f1e3ae983":{"name":"a6c21196776a4e91e71f1aea65176b4f1e3ae983","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"58dfe227a7493baf3168cb5e148ea5c85de96139":{"name":"58dfe227a7493baf3168cb5e148ea5c85de96139","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"\u0000\u0000::::::"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e7a132f0e49156923495b7a82cce41265f095657":{"name":"e7a132f0e49156923495b7a82cce41265f095657","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0005\u0005"},"resource":{"type":"a","id":"\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1cf81f57e323f996e54685db960cb28ae80301ad":{"name":"1cf81f57e323f996e54685db960cb28ae80301ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"\",\n resource == a::\"+\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9dc2422955c9d8ead1676ef13b0a28980cd27eed":{"name":"9dc2422955c9d8ead1676ef13b0a28980cd27eed","schema_json":{"Gxxxxxjju":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"Gxxxxxjju::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxxxjju::a","id":";"},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxxxjju::a","id":""},"resource":{"type":"Gxxxxxjju::a","id":""},"action":{"type":"Gxxxxxjju::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"93caa6f782faadb5a8a615325bf80d8d943d4e7f":{"name":"93caa6f782faadb5a8a615325bf80d8d943d4e7f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [],\n resource == a::\"00\"\n) when {\n true && (!false)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0a52da6b4da559794a2106d47bb08defa83df7e5":{"name":"0a52da6b4da559794a2106d47bb08defa83df7e5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"驩":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"(":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"R.":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c00d7ed64a2ac5a8331d45ee955ede225209d69d":{"name":"c00d7ed64a2ac5a8331d45ee955ede225209d69d","schema_json":{"r::Q::Qxxxxxxxx33":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"lbbW":{"type":"Entity","name":"r::Q::Qxxxxxxxx33::a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"resource":{"type":"r::Q::Qxxxxxxxx33::a","id":""},"action":{"type":"r::Q::Qxxxxxxxx33::Action","id":"action"},"context":{"lbbW":{"__entity":{"id":"","type":"r::Q::Qxxxxxxxx33::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2808898944b1db80f3d122e1c91357f0895940e8":{"name":"2808898944b1db80f3d122e1c91357f0895940e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"String"},"required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{"F":[":",""]},"parents":[]},{"uid":{"type":"a","id":"::::"},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bbcefef754fb8ff1c9a48cb40254d24e4b021932":{"name":"bbcefef754fb8ff1c9a48cb40254d24e4b021932","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":":::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":":::"},"resource":{"type":"F","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"4a04c388b3a3b16748e1a87b5370cd7e4e1b21c2":{"name":"4a04c388b3a3b16748e1a87b5370cd7e4e1b21c2","schema_json":{"":{"commonTypes":{},"entityTypes":{"x":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"v":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"xl0dddddd":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["xl0dddddd"],"principalTypes":["xl0dddddd"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v","id":""},"attrs":{},"parents":[]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[]},{"uid":{"type":"xl0dddddd","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"xl0dddddd","id":""},"resource":{"type":"xl0dddddd","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"66b636dafde83ef3857d84000e2a3b8d93970194":{"name":"66b636dafde83ef3857d84000e2a3b8d93970194","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"O"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"@\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"O"},"resource":{"type":"a","id":"O"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2d01a9dd1edaeddb62b729a0f6b80e670300517b":{"name":"2d01a9dd1edaeddb62b729a0f6b80e670300517b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@m(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c58f2dcfcaf1078ac26d626b32fe4e55d108a62a":{"name":"c58f2dcfcaf1078ac26d626b32fe4e55d108a62a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::\"action\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"6000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"00$"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"6000"},"resource":{"type":"a","id":"6000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e1c6e1fbb078a7b301b99741c2c13e7648f0ba5a":{"name":"e1c6e1fbb078a7b301b99741c2c13e7648f0ba5a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00000\",\n action == Action::\"action\",\n resource in a::\"00000\"\n) when {\n ((true && principal) && (if principal then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00000"},"resource":{"type":"a","id":"00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"be99802ae024b42034c30c09b782dd85b260450c":{"name":"be99802ae024b42034c30c09b782dd85b260450c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b47f0e7119ff8a7854787659ba6486ed5dd160b0":{"name":"b47f0e7119ff8a7854787659ba6486ed5dd160b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false && (((if principal then principal else principal) || principal) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2ab4dc91a56bfaf8d12d58b647a0a7d6e51bd8ed":{"name":"2ab4dc91a56bfaf8d12d58b647a0a7d6e51bd8ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"y/Fu"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"y/Fu"},"resource":{"type":"a","id":"y/Fu"},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7c804e83f6eb53159536f545664138a9139de58a":{"name":"7c804e83f6eb53159536f545664138a9139de58a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{7}\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0.."},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0.."},"resource":{"type":"a","id":"0.."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"dbeca91dba601740aa810e83bf915f68342b4576":{"name":"dbeca91dba601740aa810e83bf915f68342b4576","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (context == context)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"9d4ca98f581b4ef94b815572be787be546d99ce9":{"name":"9d4ca98f581b4ef94b815572be787be546d99ce9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@m(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n ((true && action) && ((principal && principal) || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"315dfa7040e05eacefa4c9ad4ed26555beb7433e":{"name":"315dfa7040e05eacefa4c9ad4ed26555beb7433e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (((false == true) == (!principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ad5600996bbc368f455e1c739f499c4cd9b77fc0":{"name":"ad5600996bbc368f455e1c739f499c4cd9b77fc0","schema_json":{"F":{"commonTypes":{},"entityTypes":{"A0s":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"FamUJdww":{"memberOfTypes":["A0s"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FamUJdww"],"principalTypes":["FamUJdww","A0s"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F::A0s","id":""},"attrs":{},"parents":[]},{"uid":{"type":"F::FamUJdww","id":""},"attrs":{},"parents":[{"type":"F::A0s","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F::FamUJdww","id":""},"resource":{"type":"F::FamUJdww","id":""},"action":{"type":"F::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5f45352ad43448eb478955c2ba900de91d184435":{"name":"5f45352ad43448eb478955c2ba900de91d184435","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::\":::8>\",\n action in [Action::\"action\"],\n resource in A::\":::8>\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":":::8>"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":":::8>"},"resource":{"type":"A","id":":::8>"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f658514e0f0114f2e28feff17fd2382765095318":{"name":"f658514e0f0114f2e28feff17fd2382765095318","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a83523a76464dc4cdbc49f69c8028989e301e6f7":{"name":"a83523a76464dc4cdbc49f69c8028989e301e6f7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"461756b231a1a31d21cebbab1d767706e6e1af87":{"name":"461756b231a1a31d21cebbab1d767706e6e1af87","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":"\u000e..\u0013\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e9b0ec04f07c26ecbbc07d77b61ab84f61e73b74":{"name":"e9b0ec04f07c26ecbbc07d77b61ab84f61e73b74","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && \"\") && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"#mp"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"#mp"},"resource":{"type":"a","id":"#mp"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3f5e6b7dc70669824b8a9f41b0ce477464b69d75":{"name":"3f5e6b7dc70669824b8a9f41b0ce477464b69d75","schema_json":{"l0www0ww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l0www0ww::a","id":"::::"},"attrs":{},"parents":[]},{"uid":{"type":"l0www0ww::a","id":"::\n:::"},"attrs":{},"parents":[]},{"uid":{"type":"l0www0ww::a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"l0www0ww::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l0www0ww::a","id":":"},"resource":{"type":"l0www0ww::a","id":":"},"action":{"type":"l0www0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ff4d2518acef2025edd52399c6bbaf8c2642eda6":{"name":"ff4d2518acef2025edd52399c6bbaf8c2642eda6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\\0:\\0:\\0\\0\\0:\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"resource":{"type":"a","id":"\u0000:\u0000:\u0000\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"48189024d3b0ea460b729fe30f9613cb1f87fe0d":{"name":"48189024d3b0ea460b729fe30f9613cb1f87fe0d","schema_json":{"N8xp37x77":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"mxp37x77777Hzj7H":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}}},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"N8xp37x77::a","id":""},"attrs":{"mxp37x77777Hzj7H":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"N8xp37x77::a","id":""},"resource":{"type":"N8xp37x77::a","id":""},"action":{"type":"N8xp37x77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1f36c9706239dd78335e11047422d3beb0ca799b":{"name":"1f36c9706239dd78335e11047422d3beb0ca799b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"x":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{"x":false},"decision":"Deny","reasons":[],"errors":[]}]},"49aeadff64691c2fabe84335637947046a07af31":{"name":"49aeadff64691c2fabe84335637947046a07af31","schema_json":{"J":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && Bsmm::\"\") && (!(!(!false)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"J::a","id":"600"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"J::a","id":"600"},"resource":{"type":"J::a","id":"600"},"action":{"type":"J::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e5007c7ec30342efdb400ed2c90eb551994574f4":{"name":"e5007c7ec30342efdb400ed2c90eb551994574f4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"f1dd":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"("},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"6"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"("},"resource":{"type":"a","id":"("},"action":{"type":"Action","id":"action"},"context":{"f1dd":{"__entity":{"id":"(","type":"a"}}},"decision":"Deny","reasons":[],"errors":[]}]},"df717142035535be823880e938720aaf57529996":{"name":"df717142035535be823880e938720aaf57529996","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && (!(!(!a::\":\\0\\066\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":":\u0000\u000066"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":":\u0000\u000066"},"resource":{"type":"a","id":":\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5f8c11c34b2bf708ee41de0b188ec771a8605a46":{"name":"5f8c11c34b2bf708ee41de0b188ec771a8605a46","schema_json":{"W::v":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == W::v::A::\"\",\n action in [W::v::Action::\"action\",W::v::Action::\"action\",W::v::Action::\"action\"],\n resource in W::v::A::\"\"\n) when {\n (true && (if principal then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"W::v::A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"W::v::A","id":""},"resource":{"type":"W::v::A","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"22ad0a749445ed17a1000b585509607fc2b87a7f":{"name":"22ad0a749445ed17a1000b585509607fc2b87a7f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [],\n resource\n) when {\n true && (!Action::\"action\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"$\u0000\u0000"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2f05c0b59d4013ce1145e6f4fa165f847aae82f2":{"name":"2f05c0b59d4013ce1145e6f4fa165f847aae82f2","schema_json":{"L::A000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == L::A000::a::\"+\",\n action in [L::A000::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"L::A000::a","id":"1"},"attrs":{},"parents":[]},{"uid":{"type":"L::A000::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"L::A000::a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L::A000::a","id":"+"},"resource":{"type":"L::A000::a","id":"+"},"action":{"type":"L::A000::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"5ed0e1028ef9da7356fec30491cd6aa4dd670ac7":{"name":"5ed0e1028ef9da7356fec30491cd6aa4dd670ac7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"rrr"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"rr"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"rr"},"resource":{"type":"a","id":"rr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"rr"},"resource":{"type":"a","id":"rr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"rrr"},"resource":{"type":"a","id":"rrr"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d472d084ca3788830980ecb74e2c12afa681a1d5":{"name":"d472d084ca3788830980ecb74e2c12afa681a1d5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(-(!false)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":::q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::q"},"resource":{"type":"a","id":":::q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b4dc1d4785707448f03dc5a5dcf34493a76ef134":{"name":"b4dc1d4785707448f03dc5a5dcf34493a76ef134","schema_json":{"Gxxxx100g":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in Gxxxx100g::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxxxx100g::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Gxxxx100g::a","id":"k/\u001f\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxx100g::a","id":""},"resource":{"type":"Gxxxx100g::a","id":""},"action":{"type":"Gxxxx100g::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"89d3fec3b348145d73322847f3cf3fd49189b925":{"name":"89d3fec3b348145d73322847f3cf3fd49189b925","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"352f61b4d81394cf50e3228ce1bce32da88862f5":{"name":"352f61b4d81394cf50e3228ce1bce32da88862f5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true && (if (principal has \"\") then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"RR"},"resource":{"type":"a","id":"RR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"809781fa771e6743817dcaf47588007711137bfb":{"name":"809781fa771e6743817dcaf47588007711137bfb","schema_json":{"R::Wj::A::AJHH":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == R::Wj::A::AJHH::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::Wj::A::AJHH::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::Wj::A::AJHH::a","id":""},"resource":{"type":"R::Wj::A::AJHH::a","id":""},"action":{"type":"R::Wj::A::AJHH::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9a616543bd8998923ac6f94a910800990ab0ecb8":{"name":"9a616543bd8998923ac6f94a910800990ab0ecb8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A00":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"b600\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"b600\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"b600"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":"0"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"b600"},"resource":{"type":"a","id":"b600"},"action":{"type":"Action","id":"action"},"context":{"A00":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f5609e4fb14b5b0c8878c035686e65432026e2e3":{"name":"f5609e4fb14b5b0c8878c035686e65432026e2e3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bs":{"type":"String","required":false},"v":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"80"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"80"},"resource":{"type":"a","id":"80"},"action":{"type":"Action","id":"action"},"context":{"v":"","Bs":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9ebea5ee4c2e11650b673b3de9b6923a9c2b4d6a":{"name":"9ebea5ee4c2e11650b673b3de9b6923a9c2b4d6a","schema_json":{"B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B::a","id":"eng"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"ded_m"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"::fffd"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"in"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":"e"},"attrs":{},"parents":[]},{"uid":{"type":"B::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B::a","id":"::fffd"},"resource":{"type":"B::a","id":"::fffd"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2730bb0abe3e54013677dcccf7b04f96fb0be285":{"name":"2730bb0abe3e54013677dcccf7b04f96fb0be285","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\",\n action,\n resource\n) when {\n true && 7134266958731542649\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1e0eee047b45a55f065f42609975d13466df1003":{"name":"1e0eee047b45a55f065f42609975d13466df1003","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"S"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0007"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"x"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast\u0001\u0001r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4e56e3d450ac86ca6e9725bd433e113ced63d2b6":{"name":"4e56e3d450ac86ca6e9725bd433e113ced63d2b6","schema_json":{"":{"commonTypes":{},"entityTypes":{"mzzzzZz":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["mzzzzZz"],"principalTypes":["mzzzzZz"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"mzzzzZz","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzzZz","id":""},"resource":{"type":"mzzzzZz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8ba8fb47f07ac9b58b2763b1020e5a2e2e4acf79":{"name":"8ba8fb47f07ac9b58b2763b1020e5a2e2e4acf79","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":"\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":"\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":"\u0000"},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":""},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fdfa1af780d53db9313ac161f3fc5a7335836ba7":{"name":"fdfa1af780d53db9313ac161f3fc5a7335836ba7","schema_json":{"":{"commonTypes":{},"entityTypes":{"W":{"memberOfTypes":["r","F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["W","r"],"principalTypes":["W","F333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"W","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"F333","id":""}]},{"uid":{"type":"W","id":"::!:"},"attrs":{},"parents":[{"type":"r","id":""},{"type":"F333","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"F333","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"W","id":"::!:"},"resource":{"type":"W","id":"::!:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2dfeef893ce30fabc766d84a556edd70f9749fcb":{"name":"2dfeef893ce30fabc766d84a556edd70f9749fcb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@m(\"\")\n@q(\"\")\n@r(\"\")\n@r350000000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f0a68af24489b18f1ed93c2952787ce4d99bddc8":{"name":"f0a68af24489b18f1ed93c2952787ce4d99bddc8","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource == s::a::\"\\0\\0\\0Z\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":"\u0001"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":"\u0001"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000Z\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e6db16ad2735efa7f9e3d5a764bd3b59d8085bdc":{"name":"e6db16ad2735efa7f9e3d5a764bd3b59d8085bdc","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"::":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":""},"resource":{"type":"F","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4fdc4e1419abd839789e5a013473f5b24dfef7f3":{"name":"4fdc4e1419abd839789e5a013473f5b24dfef7f3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"04ab8774dce503da2421cd6d038f69c5601734bc":{"name":"04ab8774dce503da2421cd6d038f69c5601734bc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\\0\")\npermit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (!((false has \"\") == principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fdbc43fb8590b30134d3051354baca39abcc4846":{"name":"fdbc43fb8590b30134d3051354baca39abcc4846","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && principal) && ((!(principal + principal)) + principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8d048b9fcca970f83aaf76afb16a4c7ba2afa0e8":{"name":"8d048b9fcca970f83aaf76afb16a4c7ba2afa0e8","schema_json":{"nww_ww000001":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in nww_ww000001::a::\"fff\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"nww_ww000001::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"nww_ww000001::a","id":"fff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"nww_ww000001::a","id":"fff"},"resource":{"type":"nww_ww000001::a","id":"fff"},"action":{"type":"nww_ww000001::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"541b68ab4077e66b57fe10c02e4930a4a5167efd":{"name":"541b68ab4077e66b57fe10c02e4930a4a5167efd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"FFF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"F":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"DFFF"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"DFFF"},"resource":{"type":"a","id":"DFFF"},"action":{"type":"Action","id":"FFF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"936dfd337ccf0412600b478aeb2ec982ef624919":{"name":"936dfd337ccf0412600b478aeb2ec982ef624919","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"jj":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"av"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"jj"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"26b830fd9423f8de3ddc676eaea3bc442a68fe12":{"name":"26b830fd9423f8de3ddc676eaea3bc442a68fe12","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && a::\"\\0\") && a::\".\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"."},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"77708836eae103c79faa5430bb540443ada6b188":{"name":"77708836eae103c79faa5430bb540443ada6b188","schema_json":{"l::Kdw6wyUy6y78":{"commonTypes":{},"entityTypes":{"Fww6y788":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fww6y788"],"principalTypes":["Fww6y788"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"resource":{"type":"l::Kdw6wyUy6y78::Fww6y788","id":""},"action":{"type":"l::Kdw6wyUy6y78::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a9bf1361a8f55899e5690f4edb3f63f151eb4345":{"name":"a9bf1361a8f55899e5690f4edb3f63f151eb4345","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"F/t`\\u{3}\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"F/t`\u0003"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"/t"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"F/t`\u0003"},"resource":{"type":"a","id":"F/t`\u0003"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"163083371b5763682e22beff81ec7dc11208e336":{"name":"163083371b5763682e22beff81ec7dc11208e336","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && a::\"\") && (principal || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e3c0663125e18d6e4061ff31dcaeaca64b9fe7d7":{"name":"e3c0663125e18d6e4061ff31dcaeaca64b9fe7d7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"*fsun/\\0\\0K\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"*fsun/\u0000\u0000K"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\tf)\u0000"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"*fsun/\u0000\u0000K"},"resource":{"type":"a","id":"*fsun/\u0000\u0000K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7c34e0067e81ec637d7a2eb9a4c1d03e6ea74ebd":{"name":"7c34e0067e81ec637d7a2eb9a4c1d03e6ea74ebd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0i\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"91d90806521341a9dab4b6e1c3b202e99375b498":{"name":"91d90806521341a9dab4b6e1c3b202e99375b498","schema_json":{"mxxv::mxxv":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"fv":{"type":"Boolean","required":false},"v":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mxxv::mxxv::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mxxv::mxxv::a","id":""},"resource":{"type":"mxxv::mxxv::a","id":""},"action":{"type":"mxxv::mxxv::Action","id":"action"},"context":{"v":{},"fv":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e1ab6dbdab417662086f05cf5cef4783c9527df5":{"name":"e1ab6dbdab417662086f05cf5cef4783c9527df5","schema_json":{"r::r::r00::B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Wjjjjjux2":{"type":"Entity","name":"r::r::r00::B::a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r00::B::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r00::B::a","id":""},"resource":{"type":"r::r::r00::B::a","id":""},"action":{"type":"r::r::r00::B::Action","id":""},"context":{"Wjjjjjux2":{"__entity":{"id":"","type":"r::r::r00::B::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"69d41647b14ed47571fe950f2fbda31127455843":{"name":"69d41647b14ed47571fe950f2fbda31127455843","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (true in true)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2e0f8405e4eb5dca742c420943a4d237a90f3dc7":{"name":"2e0f8405e4eb5dca742c420943a4d237a90f3dc7","schema_json":{"ph9kXkkkk40000::ifh":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"ph9kXkkkk40000::ifh::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"ph9kXkkkk40000::ifh::a","id":""},"resource":{"type":"ph9kXkkkk40000::ifh::a","id":""},"action":{"type":"ph9kXkkkk40000::ifh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1ffe07c987be353018d565e8e6efd95c7c100ef5":{"name":"1ffe07c987be353018d565e8e6efd95c7c100ef5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && [a::\"\", \"\", !principal, principal]\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ce56cd89a9f467a753248fecdab1afce4c35b6e4":{"name":"ce56cd89a9f467a753248fecdab1afce4c35b6e4","schema_json":{"Fwww::Ay":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@y(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwww::Ay::a","id":"j:9\u0001\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"Fwww::Ay::a","id":"::\u001a"},"attrs":{},"parents":[]},{"uid":{"type":"Fwww::Ay::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwww::Ay::a","id":"::\u001a"},"resource":{"type":"Fwww::Ay::a","id":"::\u001a"},"action":{"type":"Fwww::Ay::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5b53a9d55eee49d43010321b95a98f3f9a30e2db":{"name":"5b53a9d55eee49d43010321b95a98f3f9a30e2db","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && Action::\"action\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0010\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0010\u0001"},"resource":{"type":"a","id":"\u0010\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a8a34bb71ea2c2b440c290ac0a95cc0599bd8148":{"name":"a8a34bb71ea2c2b440c290ac0a95cc0599bd8148","schema_json":{"":{"commonTypes":{},"entityTypes":{"lyyUIKldYqrj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Dl":{"type":"Long","required":true}},"additionalAttributes":false}}},"actions":{"s":{"appliesTo":{"resourceTypes":["lyyUIKldYqrj"],"principalTypes":["lyyUIKldYqrj"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"lyyUIKldYqrj","id":""},"attrs":{"Dl":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"lyyUIKldYqrj","id":""},"resource":{"type":"lyyUIKldYqrj","id":""},"action":{"type":"Action","id":"s"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"20177d26bdaecebb3d618c30dd7055ed9373eab2":{"name":"20177d26bdaecebb3d618c30dd7055ed9373eab2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"\",Action::\"\"],\n resource == a::\"+\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ba3e19b3c147885c792ad04d896258f6800adc01":{"name":"ba3e19b3c147885c792ad04d896258f6800adc01","schema_json":{"":{"commonTypes":{},"entityTypes":{"D655zz":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["D655zz"],"principalTypes":["D655zz"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in D655zz::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"D655zz","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"D655zz","id":""},"resource":{"type":"D655zz","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"a3e25c38d3d45cf512b9e1553fa857ce9adafd6b":{"name":"a3e25c38d3d45cf512b9e1553fa857ce9adafd6b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"jj\\u{1}\\0\\0\\0r\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"resource":{"type":"a","id":"jj\u0001\u0000\u0000\u0000r"},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"2a92a0a79c92959ca359751d8de6dfbe1dc0babe":{"name":"2a92a0a79c92959ca359751d8de6dfbe1dc0babe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"fffffff* f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"fffffff* f"},"resource":{"type":"a","id":"fffffff* f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9e78370f0df2823e97e385eba2a8ae7106f923dd":{"name":"9e78370f0df2823e97e385eba2a8ae7106f923dd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && \"\\0\\0\") && resource\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4fec58e1256c0fcd836305b87097c80140f81ec3":{"name":"4fec58e1256c0fcd836305b87097c80140f81ec3","schema_json":{"Khdkk":{"commonTypes":{},"entityTypes":{"Akkkk000":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Akkkk000","r"],"principalTypes":["Akkkk000","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khdkk::Akkkk000","id":""},"attrs":{},"parents":[{"type":"Khdkk::r","id":""}]},{"uid":{"type":"Khdkk::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khdkk::Akkkk000","id":""},"resource":{"type":"Khdkk::Akkkk000","id":""},"action":{"type":"Khdkk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ea67eaf13be16e92be8c2465e7fd55899e0abf80":{"name":"ea67eaf13be16e92be8c2465e7fd55899e0abf80","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (((a::\"\" like \"\") like \"\") like \"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7a83868b9c4dd125773856602c9883d76442cabb":{"name":"7a83868b9c4dd125773856602c9883d76442cabb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F554_zzSzzzimzz":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F554_zzSzzzimzz":115},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e66cee88d3e5598a81681338e16b30092c33dc2b":{"name":"e66cee88d3e5598a81681338e16b30092c33dc2b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\\u{2}\\u{5}UUUU\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0005UUUU"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0005UUUU"},"resource":{"type":"a","id":"\u0002\u0005UUUU"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b9684eccf126c884dcfb17a3d773511d09ff8a7d":{"name":"b9684eccf126c884dcfb17a3d773511d09ff8a7d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n (true && (((!true) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"107926a401aafb1e4f5723ba817fd79792b4541b":{"name":"107926a401aafb1e4f5723ba817fd79792b4541b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && principal) && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4d6b9d104867ca37be3d2b673c999a1ef884e18c":{"name":"4d6b9d104867ca37be3d2b673c999a1ef884e18c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\":\\0\\0\",\n action,\n resource in a::\":\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":\u0000\u0000"},"resource":{"type":"a","id":":\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bf6829d08b3bf661e5f3c36155c1e46fb033075a":{"name":"bf6829d08b3bf661e5f3c36155c1e46fb033075a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && ((context has \"?\") == a::\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"52f28fbf92e2773629b6cc1e1c2cc674300784c9":{"name":"52f28fbf92e2773629b6cc1e1c2cc674300784c9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"&\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f63422baf5030e519ee155f367080211093dd268":{"name":"f63422baf5030e519ee155f367080211093dd268","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\"],\n resource in a::\"070\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"6"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"a70eeca062f586c523963246d1762f1b3f9826a5":{"name":"a70eeca062f586c523963246d1762f1b3f9826a5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (!(!(false == false)))) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c78adcfd6e77d66bef3e752d68b059d250b428ed":{"name":"c78adcfd6e77d66bef3e752d68b059d250b428ed","schema_json":{"r::r::r::T::r":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::T::r::r","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::T::r::A","id":""},"attrs":{},"parents":[{"type":"r::r::r::T::r::r","id":""},{"type":"r::r::r::T::r::r","id":"c"}]},{"uid":{"type":"r::r::r::T::r::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::T::r::A","id":""},"resource":{"type":"r::r::r::T::r::A","id":""},"action":{"type":"r::r::r::T::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"67f911ff65c57a6917f690361350668b20fb0919":{"name":"67f911ff65c57a6917f690361350668b20fb0919","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhhh"],"principalTypes":["Kfhhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhhh","id":".."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":"\u0013\u0000\u0000\u0002.."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhhh","id":"."},"resource":{"type":"Kfhhhhhh","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f89aa2c2bfe7d67f818632e5db586c9004d88871":{"name":"f89aa2c2bfe7d67f818632e5db586c9004d88871","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"n":{"type":"Entity","name":"a","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"*'"},"attrs":{"n":{"__entity":{"id":"*'","type":"a"}},"r":false,"A":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"n":{"__entity":{"id":"*'","type":"a"}},"A":false,"r":false},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{"A":false,"r":false,"n":{"__entity":{"id":"","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"*'"},"resource":{"type":"a","id":"*'"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9df18b254afe6ee11295e6076bcdffef907e2f57":{"name":"9df18b254afe6ee11295e6076bcdffef907e2f57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (false && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"f\u0000@f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f\u0000@f"},"resource":{"type":"a","id":"f\u0000@f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"bba8300156d7b101f3fabdb9a5b66650eef37d04":{"name":"bba8300156d7b101f3fabdb9a5b66650eef37d04","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"&\",\n action,\n resource in a::\"&\"\n) when {\n true && (!(!(!Action::\"action\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3f56d8aabac70355cefffd94c1cdd0c8632bd415":{"name":"3f56d8aabac70355cefffd94c1cdd0c8632bd415","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"+\u0006\u0000\b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+\u0006\u0000\b"},"resource":{"type":"a","id":"+\u0006\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"28e96c657852232c265a56e24b9d12ee242fa477":{"name":"28e96c657852232c265a56e24b9d12ee242fa477","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A00000000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"6"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"resource":{"type":"a","id":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n6107008678"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9ffbdd023a6b54e27b4680eedfd01333a57319fd":{"name":"9ffbdd023a6b54e27b4680eedfd01333a57319fd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"f:\\0\\066\",\n action == Action::\"action\",\n resource == a::\"f:\\0\\066\"\n) when {\n true && (!(!(!false)))\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f:\u0000\u000066"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f:\u0000\u000066"},"resource":{"type":"a","id":"f:\u0000\u000066"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"66a64b3581d4f1bb3143a0cc6ebf6919af364cd2":{"name":"66a64b3581d4f1bb3143a0cc6ebf6919af364cd2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\"],\n resource in a::\"60\"\n) when {\n (true && ((!(!Dosnm00000000::\"\")) * 0)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3b21176e99540ef52dd4daacf1eb70d71ecdce0b":{"name":"3b21176e99540ef52dd4daacf1eb70d71ecdce0b","schema_json":{"A0":{"commonTypes":{},"entityTypes":{"Fwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwww"],"principalTypes":["Fwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A0::Fwww::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0::Fwww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"09e4deab2631977826e591319301567a917009b8":{"name":"09e4deab2631977826e591319301567a917009b8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f\u0003"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3e4d7a1c10e8f73b07964cc389aeac2a26364f36":{"name":"3e4d7a1c10e8f73b07964cc389aeac2a26364f36","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && (false.containsAll(context))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"89ea3966b3c49ea8d1c895941cae13c6f0a7fac6":{"name":"89ea3966b3c49ea8d1c895941cae13c6f0a7fac6","schema_json":{"":{"commonTypes":{},"entityTypes":{"xYqs":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"_WkgqaWM":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["xYqs"],"principalTypes":["xYqs"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"xYqs","id":""},"attrs":{"_WkgqaWM":[0,0,0]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"xYqs","id":""},"resource":{"type":"xYqs","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6a9d1b9638b00d05d7795dd89b30162da95c9441":{"name":"6a9d1b9638b00d05d7795dd89b30162da95c9441","schema_json":{"B":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [B::Action::\"action\"],\n resource == B::a::\"\\0fffffbffff\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B::a","id":"\u0000fffffbffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"B::a","id":""},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"B::a","id":"\u0000fffffbffff"},"resource":{"type":"B::a","id":"\u0000fffffbffff"},"action":{"type":"B::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f2e255f39e2eef37a9a9255922f0efaa477fd456":{"name":"f2e255f39e2eef37a9a9255922f0efaa477fd456","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\",\n action,\n resource == a::\"\\u{2}\\u{2}\"\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ad94686eeaa8a8c6ca06164decd6776f55c5ee96":{"name":"ad94686eeaa8a8c6ca06164decd6776f55c5ee96","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && (!(principal == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000FFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e3b78e66463b8a1a89f57b5c2600623f923d00cf":{"name":"e3b78e66463b8a1a89f57b5c2600623f923d00cf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\\0\"\n) when {\n true && ((true - principal) <= principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cd02c1dbe98db92a4c97fd462eb40a797cc10903":{"name":"cd02c1dbe98db92a4c97fd462eb40a797cc10903","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"ya\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ya"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ya"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"72a0f7c100bac2cc5512c6d78dc7c4bd2c3ff426":{"name":"72a0f7c100bac2cc5512c6d78dc7c4bd2c3ff426","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{"x":{"__entity":{"id":"\u0000\u0000","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8499dc3608bd9a3b4dcb97a74e219d48b1de6f5e":{"name":"8499dc3608bd9a3b4dcb97a74e219d48b1de6f5e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"ff\\0\",\n action == Action::\"action\",\n resource\n) when {\n (true && (((!a::\"ff\\0\") like \"ԙ*$*\") == (!principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a523912ab1401f9cc3ac864f868d3d747c0edda4":{"name":"a523912ab1401f9cc3ac864f868d3d747c0edda4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@f(\"\")\n@r(\"\")\nforbid(\n principal,\n action,\n resource == a::\"\\0\\0\\0\\0@\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"95d6efb049d43923e0dc8fba8f48168cf6dd1e52":{"name":"95d6efb049d43923e0dc8fba8f48168cf6dd1e52","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"ffffF\\0f\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ffffF\u0000f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffF\u0000f"},"resource":{"type":"a","id":"ffffF\u0000f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4f098b0f164c64387ef81d5852a0ac07fd76c394":{"name":"4f098b0f164c64387ef81d5852a0ac07fd76c394","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"IR":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000d"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000d"},"resource":{"type":"a","id":"\u0000d"},"action":{"type":"Action","id":"action"},"context":{"IR":false,"r":false},"decision":"Deny","reasons":[],"errors":[]}]},"3286680bbb9766c861069bf469051e43f6c6d9f8":{"name":"3286680bbb9766c861069bf469051e43f6c6d9f8","schema_json":{"Fwowwwxm":{"commonTypes":{},"entityTypes":{"Edml":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"':::":{"appliesTo":{"resourceTypes":["Edml"],"principalTypes":["Edml"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwowwwxm::Edml","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fwowwwxm::Edml","id":":5"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwowwwxm::Edml","id":":5"},"resource":{"type":"Fwowwwxm::Edml","id":":5"},"action":{"type":"Fwowwwxm::Action","id":"':::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"96f3ecf641a15ca829ea2ebe4e789148bf1d0cfa":{"name":"96f3ecf641a15ca829ea2ebe4e789148bf1d0cfa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"08f0aa0f6afb81dfd4b5b00b97a02783c9337d10":{"name":"08f0aa0f6afb81dfd4b5b00b97a02783c9337d10","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F\u0000RR\u0000\u0012"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"F\u0000RR\u0000\u0012"},"resource":{"type":"a","id":"F\u0000RR\u0000\u0012"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a8ccc3c4ca57bf8bddb318a4387ed4381c1b87c4":{"name":"a8ccc3c4ca57bf8bddb318a4387ed4381c1b87c4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@b77kjlhYa000000(\"\")\n@vdYqrcpv(\"m\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4d95dd953c772afec1afee2f596e2cbd1418eb14":{"name":"4d95dd953c772afec1afee2f596e2cbd1418eb14","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"j\",\n action in [Action::\"action\"],\n resource == a::\"j\"\n) when {\n ((true && principal) && context) && (if principal then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"25ba1cab0ed510b921e1277889a891d845f19386":{"name":"25ba1cab0ed510b921e1277889a891d845f19386","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"l":{"type":"Set","element":{"type":"Set","element":{"type":"String"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"attrs":{"l":[["A\u0010AAA","","","","","",""]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u000b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"833ebac24f5aa87cfbcd4e7356047ee94335bcbe":{"name":"833ebac24f5aa87cfbcd4e7356047ee94335bcbe","schema_json":{"r::r::aLKKQ3J::r":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::aLKKQ3J::r::A","id":""},"attrs":{},"parents":[{"type":"r::r::aLKKQ3J::r::r","id":""}]},{"uid":{"type":"r::r::aLKKQ3J::r::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::aLKKQ3J::r::A","id":""},"resource":{"type":"r::r::aLKKQ3J::r::A","id":""},"action":{"type":"r::r::aLKKQ3J::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"49fb64b3377b5f4f87acd0a3462b36d964b2b87a":{"name":"49fb64b3377b5f4f87acd0a3462b36d964b2b87a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dd090f0e0c1e0657f8650dacd5c0672fc6110e0e":{"name":"dd090f0e0c1e0657f8650dacd5c0672fc6110e0e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"5218\\0\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"5218\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"397320fbd52194b13fa26e8f971001d9f710c4ed":{"name":"397320fbd52194b13fa26e8f971001d9f710c4ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"RRRR":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"R\",\n action == Action::\"RRRR\",\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RRR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"RRRR"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"cfdc0aa13f242dd5caecf75aed878d8bdf5015c0":{"name":"cfdc0aa13f242dd5caecf75aed878d8bdf5015c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action,\n resource == a::\"00\"\n) when {\n ((true && a::\"00\") && ((-(false)) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"16837047727ca7d0c2d7ce7be3a30d78e25c1313":{"name":"16837047727ca7d0c2d7ce7be3a30d78e25c1313","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"b\\'f\"\n) when {\n (true && ((a::\"b\\'f\".greaterThan(a::\"b\\'f\" == principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"b'f"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"b'f"},"resource":{"type":"a","id":"b'f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a23157ddf99a2985c5adf4af031f93dc34037e74":{"name":"a23157ddf99a2985c5adf4af031f93dc34037e74","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c80a1d4b4df4746dc42a9f0cb848799bebbe9eea":{"name":"c80a1d4b4df4746dc42a9f0cb848799bebbe9eea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"Boolean","required":false},"CZjg":{"type":"String","required":false},"Q":{"type":"String","required":false},"Q120":{"type":"Boolean","required":false},"f":{"type":"String","required":false},"q":{"type":"String","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"CZjg":"","Q120":false,"A0":false,"q":"","f":"","Q":"","r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f53c285085b1827722e7157fba06156c27c94ca6":{"name":"f53c285085b1827722e7157fba06156c27c94ca6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"r3333mb0":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":false,"r3333mb0":{"__entity":{"id":"","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4442a82e7f7990680c87651d1aaa02d12d4cf237":{"name":"4442a82e7f7990680c87651d1aaa02d12d4cf237","schema_json":{"r":{"commonTypes":{},"entityTypes":{"D":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["D"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","D"],"principalTypes":["r","D"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r","id":"\u0000"},"attrs":{},"parents":[{"type":"r::D","id":""},{"type":"r::D","id":"1"}]},{"uid":{"type":"r::D","id":"1"},"attrs":{},"parents":[]},{"uid":{"type":"r::r","id":""},"attrs":{},"parents":[{"type":"r::D","id":""}]},{"uid":{"type":"r::D","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r","id":""},"resource":{"type":"r::r","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"42e56b6e982653162a69d3c87fceb21f39ef6f74":{"name":"42e56b6e982653162a69d3c87fceb21f39ef6f74","schema_json":{"mzzzzz0zwwwwwz":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in mzzzzz0zwwwwwz::a::\"\",\n action,\n resource in mzzzzz0zwwwwwz::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mzzzzz0zwwwwwz::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"01eb2efb0a033854325d8cb0380655592b5ee0e1":{"name":"01eb2efb0a033854325d8cb0380655592b5ee0e1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"83d7731c1f88066e65f32ca42ad015cd295ca475":{"name":"83d7731c1f88066e65f32ca42ad015cd295ca475","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && (true == false)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9e708896b94e41d9f73b740298285c0caa6cff9d":{"name":"9e708896b94e41d9f73b740298285c0caa6cff9d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"vaYlang/":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null},"ke/::::":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"a","id":""},"action":{"type":"Action","id":"vaYlang/"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"01550e32edc1062fcc9522332e894cdad594b139":{"name":"01550e32edc1062fcc9522332e894cdad594b139","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{"G":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"n","id":""},{"type":"r","id":""},{"type":"r","id":"::"}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":"::"},{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{"G":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0be4a052045072582b439dc5c9b80a3d8bb97296":{"name":"0be4a052045072582b439dc5c9b80a3d8bb97296","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dd7786bc93ee6c4c89dd6f523f23a2de8a4ee390":{"name":"dd7786bc93ee6c4c89dd6f523f23a2de8a4ee390","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@WLLSjjjjjXj0jj(\"\\u{c}\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0014"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d12354a9098237c973efdf51fabca99ad508435a":{"name":"d12354a9098237c973efdf51fabca99ad508435a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@C(\"c\")\n@ga3(\"\")\n@r(\"\\u{2}\\u{2}\")\n@x1dl222000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6a23c5fb1ef322b8f01e0ab9652bc294e36db2fa":{"name":"6a23c5fb1ef322b8f01e0ab9652bc294e36db2fa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"FFFF"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000FFFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"49769b289305dae08c5fd44c2e8f9806b012993b":{"name":"49769b289305dae08c5fd44c2e8f9806b012993b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && Jzznz000000000::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e47f4d616164909bc939e3907e7dff4f7ce88571":{"name":"e47f4d616164909bc939e3907e7dff4f7ce88571","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"ff\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"097833aed4e31e2f3e0acc0e3026ea9f7c020fc6":{"name":"097833aed4e31e2f3e0acc0e3026ea9f7c020fc6","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"VhBhhhhkkkkkkkkkk":{"memberOfTypes":["A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["VhBhhhhkkkkkkkkkk","A"],"principalTypes":["VhBhhhhkkkkkkkkkk","A"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[]},{"uid":{"type":"VhBhhhhkkkkkkkkkk","id":""},"attrs":{},"parents":[{"type":"A","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VhBhhhhkkkkkkkkkk","id":""},"resource":{"type":"VhBhhhhkkkkkkkkkk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33fd42aeebe4235b607ec620224210d394e169b6":{"name":"33fd42aeebe4235b607ec620224210d394e169b6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"feb6b9ba954ed24c15e13e0b191576ff48e4e578":{"name":"feb6b9ba954ed24c15e13e0b191576ff48e4e578","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"::":{"type":"Boolean","required":false},"unnio:":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{"::":false}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"03628ca780763f86b2c24cfdbd7a98bc0df23e2d":{"name":"03628ca780763f86b2c24cfdbd7a98bc0df23e2d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9e9dffc95a866861e43df9e9012d6be10996ed36":{"name":"9e9dffc95a866861e43df9e9012d6be10996ed36","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && (principal has \"A\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":""},"parents":[]},{"uid":{"type":"a","id":"k/\u001b\u001b\u001b\u001b\u001b"},"attrs":{"A":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"378c8e39436421f57d284ffc9da9160e430d1748":{"name":"378c8e39436421f57d284ffc9da9160e430d1748","schema_json":{"r::r::r::p":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::p::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::p::a","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::p::a","id":"RR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::p::a","id":"R"},"resource":{"type":"r::r::r::p::a","id":"R"},"action":{"type":"r::r::r::p::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cb91f70a3b580008e79ad7d2f79c554604d4bf4f":{"name":"cb91f70a3b580008e79ad7d2f79c554604d4bf4f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource == a::\"\"\n) when {\n ((true && Action::\"action\") && (-(-(Action::\"action\" == Action::\"action\")))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b02a56cde55e6c6371c50bfa2a93a381cdc32495":{"name":"b02a56cde55e6c6371c50bfa2a93a381cdc32495","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"fffff,ff\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && a::\"fffff,ff\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"fffff,ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"fffff,ff"},"resource":{"type":"a","id":"fffff,ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0370b20e062093c32358fa6b1e78f8221aaedb96":{"name":"0370b20e062093c32358fa6b1e78f8221aaedb96","schema_json":{"KYdRh000akkCkkkk":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{".":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"KYdRh000akkCkkkk::A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"KYdRh000akkCkkkk::A","id":""},"resource":{"type":"KYdRh000akkCkkkk::A","id":""},"action":{"type":"KYdRh000akkCkkkk::Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"29d43a94a589a278779f275e33ce27df9bce935f":{"name":"29d43a94a589a278779f275e33ce27df9bce935f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"N00":{"type":"Record","attributes":{"":{"type":"Set","element":{"type":"Boolean"},"required":false},"zz":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zzzzPR"},"attrs":{"N00":{"":[],"zz":{"__entity":{"id":"zzzzPR","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":"\n"},"attrs":{"N00":{"":[],"zz":{"__entity":{"id":"zzzzPR","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"N00":{"":[],"zz":{"__entity":{"id":"zzzzPR","type":"a"}}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzPR"},"resource":{"type":"a","id":"zzzzPR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d07c1baa0ff4d7bf182af9d758aff489eb53b342":{"name":"d07c1baa0ff4d7bf182af9d758aff489eb53b342","schema_json":{"rbjjjijjjjjgjj":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == rbjjjijjjjjgjj::a::\"\\0\",\n action in [rbjjjijjjjjgjj::Action::\"action\"],\n resource == rbjjjijjjjjgjj::a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"rbjjjijjjjjgjj::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"resource":{"type":"rbjjjijjjjjgjj::a","id":"\u0000"},"action":{"type":"rbjjjijjjjjgjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"18cc563d980fdc60cd35b4446cf175798ab1733d":{"name":"18cc563d980fdc60cd35b4446cf175798ab1733d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n ((true && (((if false then a::\"\" else false) && principal) && principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"947f3f01090424768ca035ac35c1040d5e460756":{"name":"947f3f01090424768ca035ac35c1040d5e460756","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\\\\\")\nforbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"4ec9d64422d2c14fcfc9d543825652a3f4f6d41c":{"name":"4ec9d64422d2c14fcfc9d543825652a3f4f6d41c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::"},"attrs":{"F":[[],[]]},"parents":[]},{"uid":{"type":"a","id":":::C:\n::::"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1b4ac84a704c0e014cdc1fa3265d08a23a0634f8":{"name":"1b4ac84a704c0e014cdc1fa3265d08a23a0634f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"Khhzhhhk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Khhzhhhk"],"principalTypes":["Khhzhhhk"],"context":{"type":"Record","attributes":{"Akkkk0":{"type":"Set","element":{"type":"Extension","name":"ipaddr"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khhzhhhk","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Khhzhhhk","id":"."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhzhhhk","id":"."},"resource":{"type":"Khhzhhhk","id":"."},"action":{"type":"Action","id":"action"},"context":{"Akkkk0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c5160087a8383d30a43c88bb5343997f73973e18":{"name":"c5160087a8383d30a43c88bb5343997f73973e18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Qnnnnn":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qnnnnn":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6f80f1549b17696747e5cba66bb4997ff843d81f":{"name":"6f80f1549b17696747e5cba66bb4997ff843d81f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"c":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0002\u0002":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"C":[]},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"77e781d02ac0279776ed46250f81c57bfae604ed":{"name":"77e781d02ac0279776ed46250f81c57bfae604ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource in a::\"$\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"$\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"$\u0000"},"resource":{"type":"a","id":"$\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9cbfe496d6bf481368f0dc5de0a9992f17276db2":{"name":"9cbfe496d6bf481368f0dc5de0a9992f17276db2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\"],\n resource in a::\"60\"\n) when {\n (true && ((!(!true)) * 3158326)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1f9477303c48393a52f4d9b02581a9c8d70b7b4e":{"name":"1f9477303c48393a52f4d9b02581a9c8d70b7b4e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"FE333333":{"type":"String","required":false},"FkDRWErcp_vjk":{"type":"String","required":false},"K":{"type":"String","required":false},"s0000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"FE333333":"","K":"","FkDRWErcp_vjk":"","s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"010687967c45f710b5f5b53ea6cfcdef2d2c48c0":{"name":"010687967c45f710b5f5b53ea6cfcdef2d2c48c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"#\",\n action in [Action::\"action\"],\n resource == a::\"#\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"#"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"19ecbb29df5f7f28be216376e2fa55fb1bb28403":{"name":"19ecbb29df5f7f28be216376e2fa55fb1bb28403","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Entity","name":"a","required":true},"g":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":{"__entity":{"id":"","type":"a"}},"g":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"981cee9e86297375f8bca3b9b1e9b4fc7124dfd0":{"name":"981cee9e86297375f8bca3b9b1e9b4fc7124dfd0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+\u0000\u0000+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+\u0000\u0000+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c2c15353c3261b6f53162583408aebbf8d259e8":{"name":"1c2c15353c3261b6f53162583408aebbf8d259e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"zz\",\n action,\n resource == a::\"zz\"\n) when {\n (true && (a::\"zz\" == (a::\"zz\" == (!a::\"zz\")))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"zz"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"zz"},"resource":{"type":"a","id":"zz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9b0014bb61edcb995cd44da5fd160c6639fa0ccb":{"name":"9b0014bb61edcb995cd44da5fd160c6639fa0ccb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ffffff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"53e72c4fde0d52b6941af1e722e15e03c51d13a2":{"name":"53e72c4fde0d52b6941af1e722e15e03c51d13a2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (\"\" == \"\")) && (if principal then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d3df52fde414d6b60cc8266d7cd0f8a85523d43d":{"name":"d3df52fde414d6b60cc8266d7cd0f8a85523d43d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000jdk/\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000jdk/\u0000"},"resource":{"type":"a","id":"\u0000jdk/\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"88a7c7e768ffb56f9cbd17b64c9406503b7c514e":{"name":"88a7c7e768ffb56f9cbd17b64c9406503b7c514e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{")":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},".":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"J":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2bbf8c5159544988a0b9a9e3cb449aabcbd76e19":{"name":"2bbf8c5159544988a0b9a9e3cb449aabcbd76e19","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"FwwwwQw0":{"type":"Entity","name":"A::a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{"FwwwwQw0":{"__entity":{"id":">x","type":"A::a"}}},"parents":[]},{"uid":{"type":"A::a","id":">x"},"attrs":{"FwwwwQw0":{"__entity":{"id":">x","type":"A::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":">x"},"resource":{"type":"A::a","id":">x"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8f1815ad76c410ffe775dd9f418c45a13df5d3ee":{"name":"8f1815ad76c410ffe775dd9f418c45a13df5d3ee","schema_json":{"r::F_w33w33":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in r::F_w33w33::a::\"\",\n action in [r::F_w33w33::Action::\"action\"],\n resource in r::F_w33w33::a::\"\"\n) when {\n (false && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"r::F_w33w33::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"r::F_w33w33::a","id":""},"resource":{"type":"r::F_w33w33::a","id":""},"action":{"type":"r::F_w33w33::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ac209d438f68b0565007a4f5d5186d550022dcf4":{"name":"ac209d438f68b0565007a4f5d5186d550022dcf4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":8\u0000[\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":8\u0000[\u0000"},"resource":{"type":"a","id":":8\u0000[\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":8\u0000[\u0000"},"resource":{"type":"a","id":":8\u0000[\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":8\u0000[\u0000"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c1c19d5d03c6d67f35702459eaf182a1b36471ad":{"name":"c1c19d5d03c6d67f35702459eaf182a1b36471ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"O":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"l":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O"],"principalTypes":["O"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == O::\"\",\n action in [Action::\"action\"],\n resource in O::\"\"\n) when {\n (true && (principal == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"O","id":""},"attrs":{"l":[{},{}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3bb2b0bd7d31d589039ea349f2461b7a90c8238c":{"name":"3bb2b0bd7d31d589039ea349f2461b7a90c8238c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@I220000000000000(\"\")\n@r(\"6\")\n@u(\"\")\n@v(\"\")\n@z(\"33\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"O\u0002~\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"O\u0002~\u0002"},"resource":{"type":"a","id":"O\u0002~\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"00eb275e6ffa699466621733a7e0ff7e2d01bd19":{"name":"00eb275e6ffa699466621733a7e0ff7e2d01bd19","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9ce497ef6011984bdf055e29fad4bfe660e82bd9":{"name":"9ce497ef6011984bdf055e29fad4bfe660e82bd9","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["n"],"principalTypes":["n"],"context":{"type":"Record","attributes":{"B00Rw":{"type":"Record","attributes":{"":{"type":"String","required":false},"Fwww\u00053":{"type":"String","required":false},"k":{"type":"Record","attributes":{"":{"type":"String","required":false}},"additionalAttributes":false,"required":false},"wa":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"B00Rw":{"":"","Fwww\u00053":"","k":{"":""},"wa":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"10aea06c714dbebcb199fd92684892b0df616040":{"name":"10aea06c714dbebcb199fd92684892b0df616040","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\\0\"\n) when {\n (true && (-(principal * 207738712576))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ee4b7cbdbb7fcfed6d5e64fdb6e9745a6e70302e":{"name":"ee4b7cbdbb7fcfed6d5e64fdb6e9745a6e70302e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"jL\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"jL\u0000\u0000\u0000"},"resource":{"type":"a","id":"jL\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"dea7b56767cd2bc51eeb85f5762944619a27c1a6":{"name":"dea7b56767cd2bc51eeb85f5762944619a27c1a6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}\",\n action in [Action::\"action\"],\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}c\\0\\0\\0\\0\\0\\0\\u{6}\\u{2}\\u{2}\\u{4}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002c\u0000\u0000\u0000\u0000\u0000\u0000\u0006\u0002\u0002\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1e62fd9578557687c21fad0da1757d106731d0bb":{"name":"1e62fd9578557687c21fad0da1757d106731d0bb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"#z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"#z"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"684f7f301b4fa13998d7837e8b5e770050b2ab5f":{"name":"684f7f301b4fa13998d7837e8b5e770050b2ab5f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"#\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"#"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"#"},"resource":{"type":"a","id":"#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f8b70a48a3ee96d3cd64840db2e892897fc8d663":{"name":"f8b70a48a3ee96d3cd64840db2e892897fc8d663","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"::\t\n"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d2cfd1c0506202b975092074ed485a6c72de7c35":{"name":"d2cfd1c0506202b975092074ed485a6c72de7c35","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F55555ww":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F55555ww":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a508a0f21fc70ea9462d31de012cf3c2151d9cc9":{"name":"a508a0f21fc70ea9462d31de012cf3c2151d9cc9","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Fwwwwwww":{"type":"Entity","name":"F","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":"\u001a:"},"attrs":{"Fwwwwwww":{"__entity":{"id":"::","type":"F"}}},"parents":[]},{"uid":{"type":"F","id":"::"},"attrs":{"Fwwwwwww":{"__entity":{"id":"::","type":"F"}}},"parents":[]},{"uid":{"type":"F","id":""},"attrs":{"Fwwwwwww":{"__entity":{"id":"::","type":"F"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":"::"},"resource":{"type":"F","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bac24b8211fc5e04a8a41541f7da05df048166e7":{"name":"bac24b8211fc5e04a8a41541f7da05df048166e7","schema_json":{"R::AJHH":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Wj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["A","Wj"],"principalTypes":["A"],"context":{"type":"Record","attributes":{"xmljjj000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::AJHH::Wj","id":""},"attrs":{},"parents":[]},{"uid":{"type":"R::AJHH::A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::AJHH::A","id":""},"resource":{"type":"R::AJHH::A","id":""},"action":{"type":"R::AJHH::Action","id":""},"context":{"xmljjj000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"aef35a4c59c7b94df6c961749a09f12d8a58a352":{"name":"aef35a4c59c7b94df6c961749a09f12d8a58a352","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"\"\n) when {\n ((true && ({\"\": \"\"}[\"\"])) && A::\"\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bb766ff1ac0c9b4d4cf4108a2172ab49254e9992":{"name":"bb766ff1ac0c9b4d4cf4108a2172ab49254e9992","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"u\u0000\u0000:":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":"/n"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":"ff\u0002"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":"\u0002f"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"/n"},"resource":{"type":"a","id":"/n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"61a7966ca468f51a54bd8c76ef50d030f1586aeb":{"name":"61a7966ca468f51a54bd8c76ef50d030f1586aeb","schema_json":{"A0":{"commonTypes":{},"entityTypes":{"Fwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"):":{"appliesTo":{"resourceTypes":["Fwww"],"principalTypes":["Fwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["Fwww"],"principalTypes":["Fwww"],"context":{"type":"Record","attributes":{"Fv10Z":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0::Fwww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::Fwww","id":""},"action":{"type":"A0::Action","id":"):"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7eab303c0a078d7b3ec3fa9d5fb0afa6bdbc1d7a":{"name":"7eab303c0a078d7b3ec3fa9d5fb0afa6bdbc1d7a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"684c3304577b5101215d70be7e3b2decfb3073cb":{"name":"684c3304577b5101215d70be7e3b2decfb3073cb","schema_json":{"":{"commonTypes":{},"entityTypes":{"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"_1":{"memberOfTypes":["sWqsl2kcqaWMlq000","w"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"sWqsl2kcqaWMlq000":{"memberOfTypes":["w"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["sWqsl2kcqaWMlq000","w"],"principalTypes":["sWqsl2kcqaWMlq000","w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"w","id":""},"attrs":{},"parents":[]},{"uid":{"type":"_1","id":""},"attrs":{},"parents":[{"type":"sWqsl2kcqaWMlq000","id":""},{"type":"w","id":""}]},{"uid":{"type":"sWqsl2kcqaWMlq000","id":""},"attrs":{},"parents":[{"type":"w","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"sWqsl2kcqaWMlq000","id":""},"resource":{"type":"sWqsl2kcqaWMlq000","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bf2db13b966c9eb3b197e601f867b59aeb753000":{"name":"bf2db13b966c9eb3b197e601f867b59aeb753000","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"String"},"required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":["\u0000"]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]}]},"6c66c9279f1c5e69a767457ec2006f22e3966fe2":{"name":"6c66c9279f1c5e69a767457ec2006f22e3966fe2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (!\"\\0\")) && false) && (!true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"14b065cf3741fb0c5e55a960037b1a499946d27e":{"name":"14b065cf3741fb0c5e55a960037b1a499946d27e","schema_json":{"":{"commonTypes":{},"entityTypes":{"wn":{"memberOfTypes":["m"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"m":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["wn","m"],"principalTypes":["wn","m"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m","id":""},"attrs":{},"parents":[]},{"uid":{"type":"wn","id":"zz"},"attrs":{},"parents":[{"type":"m","id":""}]},{"uid":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"attrs":{},"parents":[{"type":"m","id":""}]},{"uid":{"type":"wn","id":""},"attrs":{},"parents":[{"type":"m","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"resource":{"type":"wn","id":"r0\nz+\u0000\u0000\u00000z!zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"236b45d00bcb1c2429e428ea268f631fa5ef626e":{"name":"236b45d00bcb1c2429e428ea268f631fa5ef626e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@K66666000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"󅅈\u0005\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"@\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c71ff5a505f8daaa53753fbc50a295f82ac9cc01":{"name":"c71ff5a505f8daaa53753fbc50a295f82ac9cc01","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"u\u0000\u0000:":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d66406ba3a77c11c5dd3fe24989da26551820f92":{"name":"d66406ba3a77c11c5dd3fe24989da26551820f92","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && (!(\"\".containsAll(\"\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"73f09692588e0571b635451fc1b3763246eec60f":{"name":"73f09692588e0571b635451fc1b3763246eec60f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"*"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8aa4ebd47d7917bd7bbff21387a19e83c2c66c79":{"name":"8aa4ebd47d7917bd7bbff21387a19e83c2c66c79","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Q":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zzzzzzzzzz"},"attrs":{"r":false,"Q":false},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"r":false,"Q":false},"parents":[]},{"uid":{"type":"a","id":"zz"},"attrs":{"r":false,"Q":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzzzzzzz"},"resource":{"type":"a","id":"zzzzzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a8be60afeb8db1fed2a125cc52b40297b7219269":{"name":"a8be60afeb8db1fed2a125cc52b40297b7219269","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vhhhhhhkkkk000333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vhhhhhhkkkk000333"],"principalTypes":["Vhhhhhhkkkk000333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhhhhkkkk000333","id":"...."},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhhhhkkkk000333","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhhhhkkkk000333","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhhhhkkkk000333","id":"\u0013"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhhhhkkkk000333","id":"...."},"resource":{"type":"Vhhhhhhkkkk000333","id":"...."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"de6f90ef4c5f6bf96e92b97b4a919db6d534490e":{"name":"de6f90ef4c5f6bf96e92b97b4a919db6d534490e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u001f":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"action":{"type":"Action","id":"\u001f"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"da0e00d2c1e3dba4bfcbe7533a16b216860a3b56":{"name":"da0e00d2c1e3dba4bfcbe7533a16b216860a3b56","schema_json":{"":{"commonTypes":{},"entityTypes":{"F1200sww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"yJdwwwwwwk":{"type":"Set","element":{"type":"Extension","name":"decimal"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F1200sww"],"principalTypes":["F1200sww"],"context":{"type":"Record","attributes":{"s0000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F1200sww","id":""},"attrs":{"yJdwwwwwwk":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F1200sww","id":""},"resource":{"type":"F1200sww","id":""},"action":{"type":"Action","id":"action"},"context":{"s0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d534f64a39365338a80032452226d39343fb93c3":{"name":"d534f64a39365338a80032452226d39343fb93c3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"`\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"fae02fa9de9b4bdbb061e07c183ff5bab73d20cf":{"name":"fae02fa9de9b4bdbb061e07c183ff5bab73d20cf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && Action::\"action\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"886716dc4d577af974592c0d379d18e2f2fc691b":{"name":"886716dc4d577af974592c0d379d18e2f2fc691b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@G677A6C6(\"\\u{6}\\u{6}\\u{6}\\u{6}\\u{6}\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1c56d0ecf8bcdccadcf11f9c01742360b1f5cbfd":{"name":"1c56d0ecf8bcdccadcf11f9c01742360b1f5cbfd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\\0\\0\\0\\0\\0:::\\0\\0\"\n) when {\n (true && (!(!principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"44a7ea864f87d288a04dccf9e5b193ec1bee64fd":{"name":"44a7ea864f87d288a04dccf9e5b193ec1bee64fd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\u0004":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"S":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"S":""},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0004"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"db83110c98cad112b5100aee32dc1c44bead590f":{"name":"db83110c98cad112b5100aee32dc1c44bead590f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Qxxx":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zz\u0012zzzzz\u0012z"},"attrs":{"Qxxx":0},"parents":[]},{"uid":{"type":"a","id":"zz"},"attrs":{"Qxxx":0},"parents":[]},{"uid":{"type":"a","id":"zzzzzzz"},"attrs":{"Qxxx":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzzzz"},"resource":{"type":"a","id":"zzzzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"15d41567b88033bb0775f7ad9bdef157ce618cd9":{"name":"15d41567b88033bb0775f7ad9bdef157ce618cd9","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{".":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":".."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"resource":{"type":"Kfhhhhh","id":"...\u0013\u0010\u0000\u0002"},"action":{"type":"Action","id":"."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"df02c68b117bfe1a2bf107444803980582b649dc":{"name":"df02c68b117bfe1a2bf107444803980582b649dc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"wgldmlAlA":{"type":"Record","attributes":{"":{"type":"String","required":false},"\u0006":{"type":"String","required":false},"/\n\u0004":{"type":"String","required":false},"inf":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\u0006":"","/\n\u0004":"","inf":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cb69cec9fa08db715b220aaf9ab251898986e8a8":{"name":"cb69cec9fa08db715b220aaf9ab251898986e8a8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0i\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0000\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"85ee31bca0778b20851e4eec1a4b60f2554faae2":{"name":"85ee31bca0778b20851e4eec1a4b60f2554faae2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (!(!(!false)))) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"18a6848b2ef612f366035575c1c9557a4688746b":{"name":"18a6848b2ef612f366035575c1c9557a4688746b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0ae181d83134f6a128eacb2e9bda0c54197e0d50":{"name":"0ae181d83134f6a128eacb2e9bda0c54197e0d50","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"T":{"type":"String","required":false},"r":{"type":"String","required":false},"vh92222":{"type":"String","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vh92222":"","r":"","T":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b1bd4a844da9e80d56caf2319d0b09d9746274f6":{"name":"b1bd4a844da9e80d56caf2319d0b09d9746274f6","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F777327b":{"type":"String","required":true},"qx":{"type":"Entity","name":"cP::v::a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::a","id":""},"resource":{"type":"cP::v::a","id":""},"action":{"type":"cP::v::Action","id":""},"context":{"qx":{"__entity":{"id":"","type":"cP::v::a"}},"F777327b":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d299f39a7eb5e9da51373ff547790271ab553d63":{"name":"d299f39a7eb5e9da51373ff547790271ab553d63","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"FF":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"FDFFFF":{"appliesTo":null,"memberOf":null},"FFF":{"appliesTo":null,"memberOf":null},"F":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"FF"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"16c992ac81a16c5bba204e9ba8e7b5b4f15f3c49":{"name":"16c992ac81a16c5bba204e9ba8e7b5b4f15f3c49","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && (!((a::\"\" like \"\\0\") like \"\\0\"))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"14e83b8120617ff2c6781d31c8c787af29d10bd7":{"name":"14e83b8120617ff2c6781d31c8c787af29d10bd7","schema_json":{"":{"commonTypes":{},"entityTypes":{"y":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["y"],"principalTypes":["y"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in y::\"0\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == y::\"0\"\n) when {\n true && (!(!(!y::\"0\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"y","id":"0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"y","id":""},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"y","id":"0"},"resource":{"type":"y","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9f5522350d3834fa1f5ff8c9513993a027eec041":{"name":"9f5522350d3834fa1f5ff8c9513993a027eec041","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"177a22b9e2eae9a5db91db8c064db7dbc4976235":{"name":"177a22b9e2eae9a5db91db8c064db7dbc4976235","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && (!a::\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ae8da091a8eed99d190d1653722ecbdf451e5415":{"name":"ae8da091a8eed99d190d1653722ecbdf451e5415","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@G66A0000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"resource":{"type":"a","id":"\u0005\n\u0006zoneinfo/\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b179feb1214ecdeeca4643f1724304e90f0c5b52":{"name":"b179feb1214ecdeeca4643f1724304e90f0c5b52","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [A::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":"\u0000'\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000'\u0000\u0000"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0000'\u0000\u0000"},"resource":{"type":"A::a","id":"\u0000'\u0000\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":"\u0000'\u0000\u0000"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9364062f6d09c68d2d9c28648af46c9e3827b006":{"name":"9364062f6d09c68d2d9c28648af46c9e3827b006","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"z\u0001\u0000z\u0000\u0000\fzzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"zzzzzz\u0001zzz"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzzz\u0001zzz"},"resource":{"type":"a","id":"zzzzzz\u0001zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8dbbe63b2dfe8b0977f20105145fe5112b23aebf":{"name":"8dbbe63b2dfe8b0977f20105145fe5112b23aebf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{6}:\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{6}:\"\n) when {\n true && (!\"z\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006:"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006:"},"resource":{"type":"a","id":"\u0006:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"314fc8d30b5448db2732113e3807647a0b3b8328":{"name":"314fc8d30b5448db2732113e3807647a0b3b8328","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"String","required":false},"F":{"type":"String","required":false},"Qxx":{"type":"String","required":false},"bxx00000":{"type":"String","required":false},"r":{"type":"String","required":false},"r020t0":{"type":"String","required":false},"r022":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r022":"","A0":"","Qxx":"","bxx00000":"","r020t0":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c8aa8f4d875d4a3a34381e1c24c60db9dbcfd5e4":{"name":"c8aa8f4d875d4a3a34381e1c24c60db9dbcfd5e4","schema_json":{"Q::A::w::V":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in Q::A::w::V::a::\"000000\",\n action == Q::A::w::V::Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Q::A::w::V::a","id":"000000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Q::A::w::V::a","id":"000000"},"resource":{"type":"Q::A::w::V::a","id":"000000"},"action":{"type":"Q::A::w::V::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2f4bf1e01f710500d499dc15cc5b1ec2a663875d":{"name":"2f4bf1e01f710500d499dc15cc5b1ec2a663875d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"S":{"type":"Record","attributes":{"":{"type":"String","required":false},"\u0005":{"type":"String","required":false},"daf\u0006":{"type":"Record","attributes":{"ff":{"type":"String","required":false}},"additionalAttributes":false,"required":false},"f":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"S":{"":"","\u0005":"","daf\u0006":{"ff":""},"f":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b5f7789e9c3cd200a626d2f5ad9b8cb496564749":{"name":"b5f7789e9c3cd200a626d2f5ad9b8cb496564749","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action,\n resource in a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"7"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"36ede146bf89ead70984d79c687672b07fe8688d":{"name":"36ede146bf89ead70984d79c687672b07fe8688d","schema_json":{"r::W::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::W::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"38c8127d570b3df790b767d9521379cebf56f2b0":{"name":"38c8127d570b3df790b767d9521379cebf56f2b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"00\"\n) when {\n ((true && (!(!false))) && ((!(!principal)) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"226abd401950859a4fc3fe5f82182ed5cd403d17":{"name":"226abd401950859a4fc3fe5f82182ed5cd403d17","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\\u{1b}\\\"\\u{2}\\u{2}\\u{2}\\u{2}\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{2}1\\u{1b}\\\"\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u00021\u001b\"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"278957d677eb2e94f531e9a2807e533952572469":{"name":"278957d677eb2e94f531e9a2807e533952572469","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"WjjX":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"r00`006*7970"},"attrs":{"WjjX":[134361461516146,0,0,0,0,0,0]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"r00`006*7970"},"resource":{"type":"a","id":"r00`006*7970"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"21090bbf8422f2532c15c37a5f34dd6c28814fb8":{"name":"21090bbf8422f2532c15c37a5f34dd6c28814fb8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\\0\"\n) when {\n true && (!(if (if principal then principal else principal) then principal else principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3dd9ae8abf6cbd88f196b47738a3eb19d6150691":{"name":"3dd9ae8abf6cbd88f196b47738a3eb19d6150691","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bhh02":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e43090634cf2b752698e0a212a93dc3874388910":{"name":"e43090634cf2b752698e0a212a93dc3874388910","schema_json":{"":{"commonTypes":{},"entityTypes":{"VL0jb":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["VL0jb"],"principalTypes":["VL0jb"],"context":{"type":"Record","attributes":{"A0q10":{"type":"String","required":false},"AX":{"type":"String","required":false},"B00000000":{"type":"String","required":false},"h":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"VL0jb","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VL0jb","id":""},"resource":{"type":"VL0jb","id":""},"action":{"type":"Action","id":"action"},"context":{"A0q10":"","AX":"","B00000000":"","h":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"26a751441be1af538d726a9dc0095d0d32a5a4e6":{"name":"26a751441be1af538d726a9dc0095d0d32a5a4e6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"String","required":false},"x":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6689189acee4bd4b0369b67ee964a96291c4cb50":{"name":"6689189acee4bd4b0369b67ee964a96291c4cb50","schema_json":{"A000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"dafny/Fun":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A000::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"A000::a","id":""},"action":{"type":"A000::Action","id":"dafny/Fun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"49f2b384a40672e51691593bab92fcb170160508":{"name":"49f2b384a40672e51691593bab92fcb170160508","schema_json":{"W::A::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == W::A::v::a::\"\",\n action in [W::A::v::Action::\"action\"],\n resource in W::A::v::a::\"\"\n) when {\n ((true && (if (principal has \"\") then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"W::A::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"W::A::v::a","id":""},"resource":{"type":"W::A::v::a","id":""},"action":{"type":"W::A::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5814e165b69dd35205c7ccf223a4e8c9bfc7b8ab":{"name":"5814e165b69dd35205c7ccf223a4e8c9bfc7b8ab","schema_json":{"":{"commonTypes":{},"entityTypes":{"R7B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["R7B"],"principalTypes":["R7B"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R7B","id":""},"attrs":{},"parents":[]},{"uid":{"type":"R7B","id":".........sun/sec"},"attrs":{},"parents":[]},{"uid":{"type":"R7B","id":"ri"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R7B","id":".........sun/sec"},"resource":{"type":"R7B","id":".........sun/sec"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"28891adf643671b6a56d0286918ffe88af4841eb":{"name":"28891adf643671b6a56d0286918ffe88af4841eb","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwwwwQw0":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"_4wwwwwa":{"type":"Record","attributes":{},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"em":{"appliesTo":{"resourceTypes":["FwwwwQw0"],"principalTypes":["FwwwwQw0"],"context":{"type":"Record","attributes":{"A0000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwwwwQw0","id":""},"attrs":{"_4wwwwwa":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwwwwQw0","id":""},"resource":{"type":"FwwwwQw0","id":""},"action":{"type":"Action","id":"em"},"context":{"A0000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1fabfd4adae9475431f26acad714a64fb10bb048":{"name":"1fabfd4adae9475431f26acad714a64fb10bb048","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"0\",\n action in [Action::\"action\"],\n resource in a::\"0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"5043$\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"0"},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9e383d82ba301840ca5735f1cd71479507f1be99":{"name":"9e383d82ba301840ca5735f1cd71479507f1be99","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n (true && (context like \"\\u{1}*\\0\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5606d8fe3357406fbb4463cdcd30b605640519e6":{"name":"5606d8fe3357406fbb4463cdcd30b605640519e6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && (((!principal) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b69eb2d5856d53c84b344d82608ba83c0c06f013":{"name":"b69eb2d5856d53c84b344d82608ba83c0c06f013","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"::::::::::::::::::::::2:":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"::::::::::::::::::::::2:"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dbedd956b047b4891bb50fcd1196fe7ff07be347":{"name":"dbedd956b047b4891bb50fcd1196fe7ff07be347","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"omRR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RRRRRR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"c"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RRRRR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"RRRRR"},"resource":{"type":"a","id":"RRRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"314551a580d1c09170f5fbfbdfa1339d757e36e7":{"name":"314551a580d1c09170f5fbfbdfa1339d757e36e7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && a::\"\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b6028c08fe3641d2fc2bb7a3d997cfe37559603a":{"name":"b6028c08fe3641d2fc2bb7a3d997cfe37559603a","schema_json":{"":{"commonTypes":{},"entityTypes":{"i":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["i"],"principalTypes":["i"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Gjj0jjjjj(\"\")\nforbid(\n principal in i::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"i","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"i","id":""},"resource":{"type":"i","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"c9fd461dff91be35baf80482fe3405defbcaf17c":{"name":"c9fd461dff91be35baf80482fe3405defbcaf17c","schema_json":{"l6yyUI306666":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@f00000000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"l6yyUI306666::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"l6yyUI306666::a","id":""},"resource":{"type":"l6yyUI306666::a","id":""},"action":{"type":"l6yyUI306666::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"637c6f895c90347181745b2e86fbfea9f9c9f3e9":{"name":"637c6f895c90347181745b2e86fbfea9f9c9f3e9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0003\u0000\u0000n/"},"attrs":{"A":[{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}},{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}},{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}}]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"899af85fdc4cc68f97e4bc481b4368e61d1ec35f":{"name":"899af85fdc4cc68f97e4bc481b4368e61d1ec35f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource in a::\"\"\n) when {\n (true && (504441641179441770 == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"46f466ac9e298b4a1a776d92ab79d7cb0d2a8f7c":{"name":"46f466ac9e298b4a1a776d92ab79d7cb0d2a8f7c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\"],\n resource\n) when {\n (true && Action::\"\") && A0::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9af390b61a62b2ee11318ec317eb252b6ee223f9":{"name":"9af390b61a62b2ee11318ec317eb252b6ee223f9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0010\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0010\u0000\u0000"},"resource":{"type":"a","id":"\u0010\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d1aa4eb8fa4700e7a7a3070a9e457845783747e7":{"name":"d1aa4eb8fa4700e7a7a3070a9e457845783747e7","schema_json":{"":{"commonTypes":{},"entityTypes":{"Hyyyy26666":{"memberOfTypes":["k66666666"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"k66666666":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["k66666666"],"principalTypes":["Hyyyy26666","k66666666"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Hyyyy26666","id":""},"attrs":{},"parents":[{"type":"k66666666","id":""}]},{"uid":{"type":"k66666666","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Hyyyy26666","id":""},"resource":{"type":"k66666666","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f48cb1bfb8d0d62ce600c42dbe69d0122443a02e":{"name":"f48cb1bfb8d0d62ce600c42dbe69d0122443a02e","schema_json":{"FwwwwGww::K":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Af6224Y":{"type":"Set","element":{"type":"Boolean"},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"lC05":{"type":"Entity","name":"FwwwwGww::K::a","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwwwwGww::K::a","id":""},"attrs":{"Af6224Y":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwwwwGww::K::a","id":""},"resource":{"type":"FwwwwGww::K::a","id":""},"action":{"type":"FwwwwGww::K::Action","id":"action"},"context":{"lC05":{"__entity":{"id":"","type":"FwwwwGww::K::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9deac7d6cae0d5e05635469c985c01f9a22e0d1b":{"name":"9deac7d6cae0d5e05635469c985c01f9a22e0d1b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"_q":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"f":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && ({\"\": \"\"}[\"f\"])) && ({\"\": \"\"}[\"f\"])\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"_q"},"context":{"f":""},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3827da6b1d7c162c41f57c178ea845a2baf5d2bc":{"name":"3827da6b1d7c162c41f57c178ea845a2baf5d2bc","schema_json":{"W::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == W::v::a::\"\",\n action in [W::v::Action::\"action\"],\n resource == W::v::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"W::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"W::v::a","id":"o"},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"0241a89fbf150dd7b0577a17c0e4ab3d89e59b34":{"name":"0241a89fbf150dd7b0577a17c0e4ab3d89e59b34","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"ff\\0\",\n action == Action::\"action\",\n resource == a::\"ff\\0\"\n) when {\n (true && (((a::\"\" like \"+*f\") like \"\") == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"11e63c6e406ca8e5bd9d4957af1c32cb531a23e6":{"name":"11e63c6e406ca8e5bd9d4957af1c32cb531a23e6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"`\",\n action in [Action::\"action\"],\n resource == a::\"`\"\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"05deb561e42a4b8f2775ceae9a4732013813160b":{"name":"05deb561e42a4b8f2775ceae9a4732013813160b","schema_json":{"":{"commonTypes":{},"entityTypes":{"sWqslWkgqaWMlqYdc":{"memberOfTypes":["_1"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"_1":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["sWqslWkgqaWMlqYdc"],"principalTypes":["sWqslWkgqaWMlqYdc"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"sWqslWkgqaWMlqYdc","id":""},"attrs":{},"parents":[{"type":"_1","id":""}]},{"uid":{"type":"_1","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4ec8aedf11f25810b9188269b87398c065e56bc4":{"name":"4ec8aedf11f25810b9188269b87398c065e56bc4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n true && (-7957297591610245121)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"250bea468a24ef02741251907f89fe5165b1b7b5":{"name":"250bea468a24ef02741251907f89fe5165b1b7b5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"940fb9372732615d0416270b347ca5f732c17dd1":{"name":"940fb9372732615d0416270b347ca5f732c17dd1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n ((true && (((if Action::\"action\" then principal else principal) like \"\") like \"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"[\n"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"[\n"},"resource":{"type":"a","id":"[\n"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"84c1d156b5b9aa6d27c9394971b2757aee759ba0":{"name":"84c1d156b5b9aa6d27c9394971b2757aee759ba0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r3A":{"type":"Record","attributes":{"":{"type":"Set","element":{"type":"Boolean"},"required":false},"zz":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zzzzRR"},"attrs":{"r3A":{"":[],"zz":{"__entity":{"id":"zzzzRR","type":"a"}}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"r3A":{"":[],"zz":{"__entity":{"id":"zzzzRR","type":"a"}}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzRR"},"resource":{"type":"a","id":"zzzzRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9b036e2436000e32c831a68ab5e8ab38102b910b":{"name":"9b036e2436000e32c831a68ab5e8ab38102b910b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r33330ww(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0010"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000::\u0000:::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000::\u0000:::"},"resource":{"type":"a","id":"\u0000\u0000::\u0000:::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a9f6c469b11bb65de265771a4ce262eef2da607b":{"name":"a9f6c469b11bb65de265771a4ce262eef2da607b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}s\\0\\0\\0\",\n action in [],\n resource in a::\"\\u{2}s\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"aiq"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"54e5dc2f0578b39656e5ae8ca26c01e0d05c9ad7":{"name":"54e5dc2f0578b39656e5ae8ca26c01e0d05c9ad7","schema_json":{"":{"commonTypes":{},"entityTypes":{"v":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":["v"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"\u0001":{"appliesTo":{"resourceTypes":["B","v"],"principalTypes":["B","v"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"B","id":""},"attrs":{},"parents":[{"type":"v","id":""}]},{"uid":{"type":"v","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"517d43cc4dd6ddff2167d82132c7617d46c3e05e":{"name":"517d43cc4dd6ddff2167d82132c7617d46c3e05e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"Boolean","required":false},"I":{"type":"Boolean","required":false},"Q120":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"I":false,"A0":false,"Q120":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b20c535ead0b171e75e413ad7a22add8b94fe12e":{"name":"b20c535ead0b171e75e413ad7a22add8b94fe12e","schema_json":{"r::r":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["G"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","G"],"principalTypes":["r","G"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::G","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r","id":""},"attrs":{},"parents":[{"type":"r::r::G","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r","id":""},"resource":{"type":"r::r::r","id":""},"action":{"type":"r::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"95022c341ce992d2f23bd1594f5fafbd01ce6fd5":{"name":"95022c341ce992d2f23bd1594f5fafbd01ce6fd5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"N222100000V1kl":{"type":"Long","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{"N222100000V1kl":72056692094795611},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"N222100000V1kl":72056692094795611},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bbc1b27f8b8e179db4fc826a1ac81a70c7f0f014":{"name":"bbc1b27f8b8e179db4fc826a1ac81a70c7f0f014","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\"],\n resource in a::\"00\"\n) when {\n (true && a::\"00\") && true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"560674e150b4ad2d396a2e517a4675286ab4e8d7":{"name":"560674e150b4ad2d396a2e517a4675286ab4e8d7","schema_json":{"":{"commonTypes":{},"entityTypes":{"F":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["F"],"principalTypes":["F"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F","id":""},"attrs":{},"parents":[]},{"uid":{"type":"F","id":"::::::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F","id":"::::::"},"resource":{"type":"F","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"06a6d9d020ff8d224d8108b8b626d0d96cf5c696":{"name":"06a6d9d020ff8d224d8108b8b626d0d96cf5c696","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && (true == false)\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0504bae36ea3c93f493e67cc4c72c44f50889906":{"name":"0504bae36ea3c93f493e67cc4c72c44f50889906","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"\",Action::\"\"],\n resource == a::\"+\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"691e9453786f2fc93c9edcf3df9e10a9e63370b2":{"name":"691e9453786f2fc93c9edcf3df9e10a9e63370b2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && ((Action::\"action\" has \"\") like \"\")) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f5a4dc319b2aa4253b6b016662127e5ad69149ab":{"name":"f5a4dc319b2aa4253b6b016662127e5ad69149ab","schema_json":{"A::A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::A::a","id":""},"resource":{"type":"A::A::a","id":""},"action":{"type":"A::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cfb3c703fbb3741577a9fb16f3199d65bd6d7757":{"name":"cfb3c703fbb3741577a9fb16f3199d65bd6d7757","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"inac10z00j00011":{"type":"Long","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"inac10z00j00011":7022872558093468160},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"26ad7265526991a750a796535cebd2affe962356":{"name":"26ad7265526991a750a796535cebd2affe962356","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\b"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7b316784cf9e60631768b35cb7a7e15ba6d01c05":{"name":"7b316784cf9e60631768b35cb7a7e15ba6d01c05","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && ((-1537158028109086738) * 60138)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"15343f50af0a75480ffdaceaf71b379e1d66df18":{"name":"15343f50af0a75480ffdaceaf71b379e1d66df18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && \"\") && principal) && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b9ba0cd046f46175d9c494da778329fb92e1b1c8":{"name":"b9ba0cd046f46175d9c494da778329fb92e1b1c8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && A::\"\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e0ebbf3d5634bff7fd8eeec171b1d07009eb1d3a":{"name":"e0ebbf3d5634bff7fd8eeec171b1d07009eb1d3a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"(\\0\\0\\0\\0\\0\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"(\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"(\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"(\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"(\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"793fa6a9f31eb328da35f6e47331fdee10e41a18":{"name":"793fa6a9f31eb328da35f6e47331fdee10e41a18","schema_json":{"Qxxxxxxxxxx":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"v":{"type":"Entity","name":"Qxxxxxxxxxx::a","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Qxxxxxxxxxx::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Qxxxxxxxxxx::a","id":""},"resource":{"type":"Qxxxxxxxxxx::a","id":""},"action":{"type":"Qxxxxxxxxxx::Action","id":"action"},"context":{"v":{"__entity":{"id":"","type":"Qxxxxxxxxxx::a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f081a19560e2eeb8f15df2a030a10294a8a2e9c8":{"name":"f081a19560e2eeb8f15df2a030a10294a8a2e9c8","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["e"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"e":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["e"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"C":{"memberOfTypes":["K","A","n","e"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["C","K"],"principalTypes":["C","K","A","n","e"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C","id":""},"attrs":{},"parents":[{"type":"e","id":""},{"type":"K","id":""},{"type":"A","id":""},{"type":"n","id":""}]},{"uid":{"type":"K","id":""},"attrs":{},"parents":[]},{"uid":{"type":"e","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"e","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"e","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C","id":""},"resource":{"type":"C","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22ddab875772d1225e1517bed1634f565ce97b02":{"name":"22ddab875772d1225e1517bed1634f565ce97b02","schema_json":{"Khhkkhk":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khhkkhk::a","id":"\r"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"92b3f452e8ee9c7482beaec7bd4a4f1bdc9f3f6e":{"name":"92b3f452e8ee9c7482beaec7bd4a4f1bdc9f3f6e","schema_json":{"Wjjhjjjjjjjjjj":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"WamkldYj000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Wjjhjjjjjjjjjj::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Wjjhjjjjjjjjjj::a","id":""},"resource":{"type":"Wjjhjjjjjjjjjj::a","id":""},"action":{"type":"Wjjhjjjjjjjjjj::Action","id":""},"context":{"WamkldYj000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b561573781ed4992f1172af07a4084a2458fd243":{"name":"b561573781ed4992f1172af07a4084a2458fd243","schema_json":{"VBhhhghhkkkkkk30k":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"VBhhhghhkkkkkk30k::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"resource":{"type":"VBhhhghhkkkkkk30k::a","id":"."},"action":{"type":"VBhhhghhkkkkkk30k::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3225e27e335e266ee0f5ca87b8e7d2d975de124d":{"name":"3225e27e335e266ee0f5ca87b8e7d2d975de124d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (Action::\"\" == (\"\" == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e6c99b85551ee672fc984d21d2ad02a294268de8":{"name":"e6c99b85551ee672fc984d21d2ad02a294268de8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8fcf6fb356e870b0ab44b3271cc76e30390be46a":{"name":"8fcf6fb356e870b0ab44b3271cc76e30390be46a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\"],\n resource\n) when {\n false && Action::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":";"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0f39380d0206e60dc83bc69a8f1802916f53f63a":{"name":"0f39380d0206e60dc83bc69a8f1802916f53f63a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"j\u00007\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dcf094ea4aaaada209c625352c25d5a698376713":{"name":"dcf094ea4aaaada209c625352c25d5a698376713","schema_json":{"r::r::KLKKJJ0::r::r::A::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"resource":{"type":"r::r::KLKKJJ0::r::r::A::r::a","id":""},"action":{"type":"r::r::KLKKJJ0::r::r::A::r::Action","id":"action"},"context":{"A":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d9babe98f71c08bfabda643b5fdb07ee5be7f6bc":{"name":"d9babe98f71c08bfabda643b5fdb07ee5be7f6bc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"60\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"7356322h\u0000"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"19c5f1424d35a2cbe0426ad84c57761d16f5637c":{"name":"19c5f1424d35a2cbe0426ad84c57761d16f5637c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"j02h0":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0#\\0\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000#\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000#\u0000\u0000"},"resource":{"type":"a","id":"\u0000#\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"j02h0":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0192e411e8989f19f3282f9c840c90a53b6d43b0":{"name":"0192e411e8989f19f3282f9c840c90a53b6d43b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a96f74e880792fd63ae1068f22554fd8d3dce2e4":{"name":"a96f74e880792fd63ae1068f22554fd8d3dce2e4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"00\"\n) when {\n (true && (-(!(zo0o::\"\\0\" in principal)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b88adf50c73122ba2eb6f1684bf6e249d16e9a08":{"name":"b88adf50c73122ba2eb6f1684bf6e249d16e9a08","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1721549a1d0b75951d202ad6bad25c85a594bba8":{"name":"1721549a1d0b75951d202ad6bad25c85a594bba8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{")":{"appliesTo":{"resourceTypes":null,"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"p":{"appliesTo":null,"memberOf":null},"J":{"appliesTo":null,"memberOf":null},".A00":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":[],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"action":{"type":"Action","id":")"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1796d594c30461a66c4b4de040aae25480691034":{"name":"1796d594c30461a66c4b4de040aae25480691034","schema_json":{"v::Qx::OMRR":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"qw":{"type":"String","required":false},"v":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::Qx::OMRR::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"A":false,"qw":"","v":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f96c84bca96fd4eb21a657935bb955db3f241de4":{"name":"f96c84bca96fd4eb21a657935bb955db3f241de4","schema_json":{"A::x":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == A::x::a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A::x::a","id":"ff\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A::x::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::x::a","id":""},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"A::x::a","id":"ff\u0000"},"resource":{"type":"A::x::a","id":"ff\u0000"},"action":{"type":"A::x::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d6585fb7a37ed5d97beee8eef1c78c8d584bfd23":{"name":"d6585fb7a37ed5d97beee8eef1c78c8d584bfd23","schema_json":{"A000::p":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == A000::p::a::\"\",\n action,\n resource == A000::p::a::\"\"\n) when {\n true && (!(principal has \"\"))\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A000::p::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A000::p::a","id":""},"resource":{"type":"A000::p::a","id":""},"action":{"type":"A000::p::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"bf84f17312ea3b15a9f38b1aad4ed37d1880ac09":{"name":"bf84f17312ea3b15a9f38b1aad4ed37d1880ac09","schema_json":{"A::Gxxxx1033":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::Gxxxx1033::a","id":";"},"attrs":{},"parents":[]},{"uid":{"type":"A::Gxxxx1033::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::Gxxxx1033::a","id":";"},"resource":{"type":"A::Gxxxx1033::a","id":";"},"action":{"type":"A::Gxxxx1033::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fab46891298893ba3b4d08c901aa65d615be3ae5":{"name":"fab46891298893ba3b4d08c901aa65d615be3ae5","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\",\n action in [A::Action::\"action\",A::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ecadca702f808cf70fe36db826a2e62ea659db11":{"name":"ecadca702f808cf70fe36db826a2e62ea659db11","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"%\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"%"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"%"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"adfc05795139db386bbeb2c04e5f59813aee588f":{"name":"adfc05795139db386bbeb2c04e5f59813aee588f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"String","required":false},"f":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\b\u0000\u0003\u0000"},"attrs":{"f":"","A":""},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":"","f":""},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{"f":"","A":""},"parents":[]},{"uid":{"type":"a","id":"`"},"attrs":{"A":"","f":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4a333235e53c66d03ea15afcd6c3e07770e60d96":{"name":"4a333235e53c66d03ea15afcd6c3e07770e60d96","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"[$\u0000\u0000\u0000b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"[$\u0000\u0000\u0000b"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33e240eadef0c867b6154d470b0e7182ffbca850":{"name":"33e240eadef0c867b6154d470b0e7182ffbca850","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n ((true && (((a::\"\" == a::\"\") == (a::\"\" == principal)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"95bd608355e635217808896e538df0697c0d0d53":{"name":"95bd608355e635217808896e538df0697c0d0d53","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"l/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e9bf9a0ffb7521be078ea0d9800c27c8aaf39ee7":{"name":"e9bf9a0ffb7521be078ea0d9800c27c8aaf39ee7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(-(false)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"37a94913231a0c1763cf0519062419837a2d57e8":{"name":"37a94913231a0c1763cf0519062419837a2d57e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},")":{"appliesTo":null,"memberOf":null},"\u000e..":{"appliesTo":null,"memberOf":null},".":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"J":{"appliesTo":null,"memberOf":null},"*.":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"15d7c637ecffec277a3c3e60acb3ef3df4d6c508":{"name":"15d7c637ecffec277a3c3e60acb3ef3df4d6c508","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhh","id":"\u0000\u0002.."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"...&"},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":"...&"},"resource":{"type":"Kfhhhhh","id":"...&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b1248b892bd661b95b085cc5aea3c789d06f4c7a":{"name":"b1248b892bd661b95b085cc5aea3c789d06f4c7a","schema_json":{"":{"commonTypes":{},"entityTypes":{"f111":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["f111"],"principalTypes":["f111"],"context":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Set","element":{"type":"String"}},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in f111::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"f111","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"f111","id":""},"resource":{"type":"f111","id":""},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"083c7ab83766f808626cd347840932ef74ed67a8":{"name":"083c7ab83766f808626cd347840932ef74ed67a8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (((-(392374774407)) == principal) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"053ed1c2d50c473008af7815d07cc9326fe67aa0":{"name":"053ed1c2d50c473008af7815d07cc9326fe67aa0","schema_json":{"":{"commonTypes":{},"entityTypes":{"_1":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"sWqslWkgqaWMlqYdc":{"memberOfTypes":["_1"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["sWqslWkgqaWMlqYdc","_1"],"principalTypes":["sWqslWkgqaWMlqYdc","_1"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"sWqslWkgqaWMlqYdc","id":""},"attrs":{},"parents":[{"type":"_1","id":""}]},{"uid":{"type":"_1","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"sWqslWkgqaWMlqYdc","id":""},"resource":{"type":"sWqslWkgqaWMlqYdc","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ae2c67d1713bca35a2ef40518399e6d3af5f342b":{"name":"ae2c67d1713bca35a2ef40518399e6d3af5f342b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true && (([Action::\"action\", Bxm0000000000000::\"\", principal, principal, principal, principal, principal] in principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"94c0be79f2fdbf7665d653e48e8c770bed3d74df":{"name":"94c0be79f2fdbf7665d653e48e8c770bed3d74df","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"k"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ad60db88a7f37324e6c885200699a54b47768294":{"name":"ad60db88a7f37324e6c885200699a54b47768294","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && (\"\" in \"\")) && 0\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0c504a6e9b059221d5f7cadc7c33b075f40fa27c":{"name":"0c504a6e9b059221d5f7cadc7c33b075f40fa27c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action,\n resource in a::\"\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c5aac7e6da4d23ff344137eebfa4ca251676b6cd":{"name":"c5aac7e6da4d23ff344137eebfa4ca251676b6cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"\",Action::\"\"],\n resource\n) when {\n (true && \"~\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000b"},"resource":{"type":"a","id":"\u0000b"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6195b927cbadeb03eb8cbe5df983957b08b8eaae":{"name":"6195b927cbadeb03eb8cbe5df983957b08b8eaae","schema_json":{"zow0ssssss":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"zow0ssssss::a","id":"70"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"zow0ssssss::a","id":"70"},"resource":{"type":"zow0ssssss::a","id":"70"},"action":{"type":"zow0ssssss::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9191cdaa82bc60fc9960379614d5fa0d5da113f2":{"name":"9191cdaa82bc60fc9960379614d5fa0d5da113f2","schema_json":{"r::r":{"commonTypes":{},"entityTypes":{"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::G","id":"::::"},"attrs":{},"parents":[{"type":"r::r::r","id":""},{"type":"r::r::n","id":""}]},{"uid":{"type":"r::r::G","id":""},"attrs":{},"parents":[{"type":"r::r::n","id":""},{"type":"r::r::r","id":""}]},{"uid":{"type":"r::r::n","id":""},"attrs":{},"parents":[{"type":"r::r::r","id":""}]},{"uid":{"type":"r::r::r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::G","id":"::::"},"resource":{"type":"r::r::G","id":"::::"},"action":{"type":"r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"59c2e62a63ec7159ac56cccc6f6ea6a218cff77b":{"name":"59c2e62a63ec7159ac56cccc6f6ea6a218cff77b","schema_json":{"":{"commonTypes":{},"entityTypes":{"RH":{"memberOfTypes":["R"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"R":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["RH"],"principalTypes":["R"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"RH","id":""},"attrs":{},"parents":[{"type":"R","id":""}]},{"uid":{"type":"RH","id":"c"},"attrs":{},"parents":[{"type":"R","id":""}]},{"uid":{"type":"R","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R","id":""},"resource":{"type":"RH","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d5dccca1808c2ca94e0a53914637692a5f70c677":{"name":"d5dccca1808c2ca94e0a53914637692a5f70c677","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && \"b\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ad2cc9597f44c1ec8b139752fc4292ebe66ce710":{"name":"ad2cc9597f44c1ec8b139752fc4292ebe66ce710","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"&\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ac81cb6993afdd6f64d424ea051c57c3990a0077":{"name":"ac81cb6993afdd6f64d424ea051c57c3990a0077","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002c"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b96248c91d47d68ac560a81aebfd0ede344ad285":{"name":"b96248c91d47d68ac560a81aebfd0ede344ad285","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":["K"],"shape":{"type":"Record","attributes":{"yKJJ000":{"type":"Long","required":false}},"additionalAttributes":false}},"K":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r","K"],"principalTypes":["r","K"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{"yKJJ000":0},"parents":[{"type":"K","id":""}]},{"uid":{"type":"K","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"297a9fa0fb81c1ea84f2c745faa7437e42b691b5":{"name":"297a9fa0fb81c1ea84f2c745faa7437e42b691b5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{2}>si0\",\n action in [Action::\"\",Action::\"\",Action::\"\"],\n resource in a::\"\\u{2}>si0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002>si0"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002>si0"},"resource":{"type":"a","id":"\u0002>si0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"55dec050f175508c8f798ba60af64e2b1e4242f8":{"name":"55dec050f175508c8f798ba60af64e2b1e4242f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\\0\") && Action::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"#\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"#\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2e8149e2e167a7b8c67c06a68578c86e24971a67":{"name":"2e8149e2e167a7b8c67c06a68578c86e24971a67","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}c\\u{2}\\u{2}\\u{2}\\u{2}\",\n action in [Action::\"action\"],\n resource == a::\"\\u{2}c\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002c\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"261149a4a8004219a52422f61df14589c83382ec":{"name":"261149a4a8004219a52422f61df14589c83382ec","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [Action::\"action\"],\n resource in a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f9f3ca4ef08b3ff39c1e2f4ce34a55ab243cf31b":{"name":"f9f3ca4ef08b3ff39c1e2f4ce34a55ab243cf31b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"l\")\nforbid(\n principal == a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c741d4289e152b51cb11aa164cd6bf24920fe4b2":{"name":"c741d4289e152b51cb11aa164cd6bf24920fe4b2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"d\",\n action == Action::\"action\",\n resource\n) when {\n true && (true == \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"d"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"d"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4968fad648bcffd3a08423cb89c1886b668ed9ed":{"name":"4968fad648bcffd3a08423cb89c1886b668ed9ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"2\"\n) when {\n true && (!(false || \"\"))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"2"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"2"},"resource":{"type":"a","id":"2"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ed0a039227f28a92c320b1302316cf67fc28c00f":{"name":"ed0a039227f28a92c320b1302316cf67fc28c00f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Ahh":{"type":"Long","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"Ahh":3314649325744685056},"parents":[]},{"uid":{"type":"a","id":"&"},"attrs":{"Ahh":3314649325744685056},"parents":[]},{"uid":{"type":"a","id":"\u0013.\u00000\u0013"},"attrs":{"Ahh":3314649325744685056},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"42ed75aa47e6ff8463496a8af28b64f280165056":{"name":"42ed75aa47e6ff8463496a8af28b64f280165056","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8568db717e8ce5d5c2eae1f530d4f2bc3de2eef6":{"name":"8568db717e8ce5d5c2eae1f530d4f2bc3de2eef6","schema_json":{"":{"commonTypes":{},"entityTypes":{"Gjxxxxjjj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Gjxxxxjjj"],"principalTypes":["Gjxxxxjjj"],"context":{"type":"Record","attributes":{"WjxiG777x7A33xx0":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gjxxxxjjj","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gjxxxxjjj","id":""},"resource":{"type":"Gjxxxxjjj","id":""},"action":{"type":"Action","id":"action"},"context":{"WjxiG777x7A33xx0":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7fc5b0951ef5748665395b4d678c76faa1724d17":{"name":"7fc5b0951ef5748665395b4d678c76faa1724d17","schema_json":{"A":{"commonTypes":{},"entityTypes":{"O":{"memberOfTypes":["q","A","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"q":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O","q","A","r"],"principalTypes":["O","q","A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::O","id":""},"attrs":{},"parents":[{"type":"A::A","id":""},{"type":"A::q","id":""},{"type":"A::r","id":""}]},{"uid":{"type":"A::A","id":""},"attrs":{},"parents":[{"type":"A::r","id":""}]},{"uid":{"type":"A::r","id":""},"attrs":{"A":false},"parents":[]},{"uid":{"type":"A::q","id":""},"attrs":{},"parents":[{"type":"A::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::O","id":""},"resource":{"type":"A::O","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"79e20304effab67d62ee64404284039250203aa5":{"name":"79e20304effab67d62ee64404284039250203aa5","schema_json":{"m::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == m::r::a::\"\",\n action,\n resource in m::r::a::\"\"\n) when {\n ((true && (m::r::a::\"\" like \"**\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"m::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"m::r::a","id":""},"resource":{"type":"m::r::a","id":""},"action":{"type":"m::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"77a7f54975c9f3359639b96c27b9927dd628da05":{"name":"77a7f54975c9f3359639b96c27b9927dd628da05","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"v":{"type":"Entity","name":"a","required":false},"vRRRRRcwwRRR":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"vRRRRRcwwRRR":false,"v":{"__entity":{"id":"","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e2000abaad107d213c8ca19cb289745b6781ae4f":{"name":"e2000abaad107d213c8ca19cb289745b6781ae4f","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vhhhhhhkkkkkkkkkk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vhhhhhhkkkkkkkkkk"],"principalTypes":["Vhhhhhhkkkkkkkkkk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"resource":{"type":"Vhhhhhhkkkkkkkkkk","id":"\u0013\u0000\u0000."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fdffaf881b658a19fb59cc82cbd942a12747a9dc":{"name":"fdffaf881b658a19fb59cc82cbd942a12747a9dc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"FFFFFFFFFF&\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FFFFFFFFFF&\u0000"},"resource":{"type":"a","id":"FFFFFFFFFF&\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4398fb79db64ae19a222a5b4473fd1573a0f4c45":{"name":"4398fb79db64ae19a222a5b4473fd1573a0f4c45","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@v1(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000v"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"A0":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ebd9baf0cf40cd6b817574bf8256f59cf572d692":{"name":"ebd9baf0cf40cd6b817574bf8256f59cf572d692","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f5d577088881435fd9bf94779cae429dcd9def19":{"name":"f5d577088881435fd9bf94779cae429dcd9def19","schema_json":{"":{"commonTypes":{},"entityTypes":{"m000000":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"JaWM":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"is":{"appliesTo":{"resourceTypes":["m000000"],"principalTypes":["m000000"],"context":{"type":"Record","attributes":{"A0000000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"_re":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m000000","id":""},"attrs":{"JaWM":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m000000","id":""},"resource":{"type":"m000000","id":""},"action":{"type":"Action","id":"is"},"context":{"A0000000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ce29db8c629bdec52719f2c8d30dd323fbb2ba2e":{"name":"ce29db8c629bdec52719f2c8d30dd323fbb2ba2e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"?\",\n action in [Action::\"action\"],\n resource == a::\"?\"\n) when {\n (true && (if (principal like \"\\*\\0\\0\\0\") then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"?"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"4a56e5dfaf0885bd803a65751e7d6e4df70b5428":{"name":"4a56e5dfaf0885bd803a65751e7d6e4df70b5428","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{":":{"type":"Entity","name":"a","required":true}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::\u0000\u0000:"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{":":{"__entity":{"id":"::\u0000\u0000:","type":"a"}}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::\u0000\u0000:"},"resource":{"type":"a","id":"::\u0000\u0000:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"998e5a35bee62922f12dbacd1a07dd34007dddb7":{"name":"998e5a35bee62922f12dbacd1a07dd34007dddb7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{12}\\u{2}\\u{2}\\u{2}\"\n) when {\n ((true && ((principal has \"\") == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0012\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1571103f55b41633bd2465963f25a783b98d46ac":{"name":"1571103f55b41633bd2465963f25a783b98d46ac","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{6}\\u{6}\\u{6}\\u{6}\\0\",\n action,\n resource == a::\"\\u{6}\\u{6}\\u{6}\\u{6}\\0\"\n) when {\n true && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"060ad2040eed9fcf9c742a76d0cdba45c413e4ed":{"name":"060ad2040eed9fcf9c742a76d0cdba45c413e4ed","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"035\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"755f2966b4141044d5f3a1b1737132c905d07ac4":{"name":"755f2966b4141044d5f3a1b1737132c905d07ac4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\\u{f}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}\\u{5}\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"65c5f63b53b6783dbf4d4bb4e97b8a95b4c2b7ac":{"name":"65c5f63b53b6783dbf4d4bb4e97b8a95b4c2b7ac","schema_json":{"":{"commonTypes":{},"entityTypes":{"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Ruwa1u":{"memberOfTypes":["w"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Ruwa1u","w"],"principalTypes":["Ruwa1u","w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in w::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n ((true && principal) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"w","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Ruwa1u","id":""},"attrs":{},"parents":[{"type":"w","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"Ruwa1u","id":""},"resource":{"type":"Ruwa1u","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b9c02a049395e0a0f5861308d63cf968a6dfe177":{"name":"b9c02a049395e0a0f5861308d63cf968a6dfe177","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"resource":{"type":"a","id":"\u0000\u0000@\u0000\u0000RRRRR\fR"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca4af84c84f851f8ad08f0d1c165ac756ff361f5":{"name":"ca4af84c84f851f8ad08f0d1c165ac756ff361f5","schema_json":{"g::r::A::Q":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == g::r::A::Q::a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"g::r::A::Q::a","id":"i"},"attrs":{},"parents":[]},{"uid":{"type":"g::r::A::Q::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"g::r::A::Q::a","id":""},"resource":{"type":"g::r::A::Q::a","id":""},"action":{"type":"g::r::A::Q::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"828631470611911cad0aef42e5761d7dc69c64ad":{"name":"828631470611911cad0aef42e5761d7dc69c64ad","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"&\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9fdb5ebfe43720d72298b5a5bc00dba586d0f996":{"name":"9fdb5ebfe43720d72298b5a5bc00dba586d0f996","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"?\",\n action in [Action::\"action\"],\n resource == a::\"?\"\n) when {\n (true && (if ((if principal then principal else principal) like \"\\*\\0\\0\\0\") then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"?"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"?"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e4e2126159e441e829d39600f12fcbfedca19715":{"name":"e4e2126159e441e829d39600f12fcbfedca19715","schema_json":{"":{"commonTypes":{},"entityTypes":{"B":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"O":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"q":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["q","A","B","r"],"principalTypes":["O","q","A","B","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"r","id":""}]},{"uid":{"type":"q","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"A","id":""},{"type":"B","id":""}]},{"uid":{"type":"O","id":""},"attrs":{},"parents":[{"type":"A","id":""},{"type":"r","id":""},{"type":"B","id":""}]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"q","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d708a846df604daa636403c267203ff2284d091":{"name":"9d708a846df604daa636403c267203ff2284d091","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && ((a::\"\".containsAll(principal)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6289324e3c80fbd138d1b75acff1aa1c53ef4e2e":{"name":"6289324e3c80fbd138d1b75acff1aa1c53ef4e2e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6a7418396e090ede0881c9cd4144898403c3ebbc":{"name":"6a7418396e090ede0881c9cd4144898403c3ebbc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A2":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"\"\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":true},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{"A2":false},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"49ba0880e8c4d426ccde9f64911d1dfbaa51fe9e":{"name":"49ba0880e8c4d426ccde9f64911d1dfbaa51fe9e","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::a::\"\",\n action == A::Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000\u00072"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c9ce04d4744930aa5c288e89dbd296ae9a51ab27":{"name":"c9ce04d4744930aa5c288e89dbd296ae9a51ab27","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Kk20(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"󅅈\u0005\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ed50cb715d57475bc9dacda0ba0dd77c589832e8":{"name":"ed50cb715d57475bc9dacda0ba0dd77c589832e8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (\"c\".greaterThanOrEqual(a::\"\"))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c589f1386d9a37a56828e2f7adcde859ff2e7573":{"name":"c589f1386d9a37a56828e2f7adcde859ff2e7573","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && principal) && Action::\"action\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3916d8b81ea7add70c41de29fa49a7eae2992fc1":{"name":"3916d8b81ea7add70c41de29fa49a7eae2992fc1","schema_json":{"A000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"dafnyȹun":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A000::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"A000::Action","id":"dafnyȹun"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"51ce1fc223eb6743cb0d58410c4ccf00063b83ca":{"name":"51ce1fc223eb6743cb0d58410c4ccf00063b83ca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n ((true && [(a::\"%\" == principal) == principal, principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"%"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"920c746e731c3ace559a77d13f72dd3215c2611e":{"name":"920c746e731c3ace559a77d13f72dd3215c2611e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\"j\\0\"\n) when {\n ((true && (((context.containsAll(a::\"j\\0\")).containsAll(false)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"38814b2226b344165e2b0bfddda558ad08183d84":{"name":"38814b2226b344165e2b0bfddda558ad08183d84","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"T":{"type":"String","required":false},"r":{"type":"String","required":false},"vh92223":{"type":"String","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"T":"","vh92223":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"77d60e4b0629689724e27ae7261b0fd2f7d1dfd9":{"name":"77d60e4b0629689724e27ae7261b0fd2f7d1dfd9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@Qx87(\"\")\n@byxxGx333(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"30ea78135f731d99845eb1db7002184213ff7a6c":{"name":"30ea78135f731d99845eb1db7002184213ff7a6c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (((\"\" == \"\") == (\"\" == false)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3e086215db8ab6f898e05b2d9d42da7a189d69ea":{"name":"3e086215db8ab6f898e05b2d9d42da7a189d69ea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && [Action::\"action\", principal, principal == principal, principal]\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a48aaab8c65092eccb2f7549b8cf267a73e35a50":{"name":"a48aaab8c65092eccb2f7549b8cf267a73e35a50","schema_json":{"GXjxxjjjj":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Gxxjjjjej":{"type":"String","required":false},"Wjj00000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"GXjxxjjjj::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"GXjxxjjjj::a","id":""},"resource":{"type":"GXjxxjjjj::a","id":""},"action":{"type":"GXjxxjjjj::Action","id":""},"context":{"Gxxjjjjej":"","Wjj00000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7f4b0c162ff3c41fd812d3e6fcd35a43160ab053":{"name":"7f4b0c162ff3c41fd812d3e6fcd35a43160ab053","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0007\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca6a97aeccaccf888e717ebcac44c4ee680705b1":{"name":"ca6a97aeccaccf888e717ebcac44c4ee680705b1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(true))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b616f53e96b13c4e1daf4dbb82a0b65061c9ac99":{"name":"b616f53e96b13c4e1daf4dbb82a0b65061c9ac99","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && 7668159475125730666\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"516f7922d7f2575b6f30800f05f273038b1ada0b":{"name":"516f7922d7f2575b6f30800f05f273038b1ada0b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"+\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000da\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1e72151e17c381a5fa3d8934a5ba360339968f04":{"name":"1e72151e17c381a5fa3d8934a5ba360339968f04","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0i\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0i\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000i\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0006\u0000\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000i\u0000"},"resource":{"type":"a","id":"\u0000i\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"87202e9c047a7bda9986e7b09c06b23dd02dedbd":{"name":"87202e9c047a7bda9986e7b09c06b23dd02dedbd","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r0z33000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dc518fc7ef5b82e44d498355e9f55192dc170914":{"name":"dc518fc7ef5b82e44d498355e9f55192dc170914","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"n","id":""},{"type":"n","id":":"},{"type":"n","id":"::"},{"type":"r","id":""}]},{"uid":{"type":"n","id":":"},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"n","id":"::"},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"24a1025a6f4b8a759b0234cec2a64f21d7f31f4c":{"name":"24a1025a6f4b8a759b0234cec2a64f21d7f31f4c","schema_json":{"L::r3ww3w33":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"L::r3ww3w33::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"L::r3ww3w33::a","id":""},"resource":{"type":"L::r3ww3w33::a","id":""},"action":{"type":"L::r3ww3w33::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5a923b61d2d547463f4acc82290a4546c43a1f62":{"name":"5a923b61d2d547463f4acc82290a4546c43a1f62","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true && ([].contains(!(!false)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"71d4fe6ed6a265145c056d17295c0cc32006db90":{"name":"71d4fe6ed6a265145c056d17295c0cc32006db90","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"FF%%\\0\\0F\\u{2}\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"FF%%\\0\\0F\\u{2}\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000F\u0002\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9da24d85bb124c72cb65fa6d849d057ea3e59436":{"name":"9da24d85bb124c72cb65fa6d849d057ea3e59436","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Record","attributes":{"":{"type":"String","required":false},"aff\u0006":{"type":"Record","attributes":{"F":{"type":"String","required":false},"f\u0000\u0004":{"type":"String","required":false},"n":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"F":"","f\u0000\u0004":"","n":""}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a3505e1b24db821f7a9a7672918d58a4c6d7d532":{"name":"a3505e1b24db821f7a9a7672918d58a4c6d7d532","schema_json":{"":{"commonTypes":{},"entityTypes":{"Ov":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Om":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Ov"],"principalTypes":["Ov"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Ov","id":""},"attrs":{"Om":[]},"parents":[]},{"uid":{"type":"Ov","id":"\u0003"},"attrs":{"Om":["","un/",""]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Ov","id":""},"resource":{"type":"Ov","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22779e33ffcbb24ecc0309855ce390a342c7cbb1":{"name":"22779e33ffcbb24ecc0309855ce390a342c7cbb1","schema_json":{"r333::r::r":{"commonTypes":{},"entityTypes":{"uH":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{"R":{"type":"String","required":false},"rh":{"type":"Boolean","required":false}},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["uH","r"],"principalTypes":["uH"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r333::r::r::r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r333::r::r::uH","id":""},"attrs":{"rh":false,"R":""},"parents":[{"type":"r333::r::r::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r333::r::r::uH","id":""},"resource":{"type":"r333::r::r::uH","id":""},"action":{"type":"r333::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"16d8dd8f9f3eb287902c3fb4936841d8a2415a58":{"name":"16d8dd8f9f3eb287902c3fb4936841d8a2415a58","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"~:"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{"F":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fd4855a6b7c2e0189ede9509e242a8463c29e380":{"name":"fd4855a6b7c2e0189ede9509e242a8463c29e380","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (a::\"\".containsAll(principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c4e59c0c01de0263f75cfe881d291c300e921716":{"name":"c4e59c0c01de0263f75cfe881d291c300e921716","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource in a::\"\"\n) when {\n (true && (((\"\" < \"\") < \"\") || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8687a31c52c12c4059d6573bc0f3495392c496dd":{"name":"8687a31c52c12c4059d6573bc0f3495392c496dd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\r\r\r\r0000000466rrrr[79"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\r\r"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\r\r"},"resource":{"type":"a","id":"\r\r"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b3e498fe461062e23f64aa092d6f868d712fcc85":{"name":"b3e498fe461062e23f64aa092d6f868d712fcc85","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"700\\u{17}\",\n action,\n resource in a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"3"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"29eaecbeb520e625e4fb499d4020a6c66db79d3d":{"name":"29eaecbeb520e625e4fb499d4020a6c66db79d3d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"ff\",\n action in [Action::\"action\"],\n resource == a::\"ff\"\n) when {\n ((true && (((a::\"ff\" == false) like \"\") like \"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"ff"},"resource":{"type":"a","id":"ff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d9ed25901f66563e471830cc3992156b6cbd90e3":{"name":"d9ed25901f66563e471830cc3992156b6cbd90e3","schema_json":{"r::r::G::r":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::G::r::r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::G::r::A","id":""},"attrs":{},"parents":[{"type":"r::r::G::r::r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::G::r::A","id":""},"resource":{"type":"r::r::G::r::A","id":""},"action":{"type":"r::r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dedcfd40a2187a7611e6f099db17ad4c61ab0e1e":{"name":"dedcfd40a2187a7611e6f099db17ad4c61ab0e1e","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":"\u0000un"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"\u0000y"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"j\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"p"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"/ac"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":"\u0006"},"resource":{"type":"A::a","id":"\u0006"},"action":{"type":"A::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d069b0f4f26c6da3de746e83a900168433acaf04":{"name":"d069b0f4f26c6da3de746e83a900168433acaf04","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F":{"type":"Record","attributes":{},"additionalAttributes":false,"required":true},"stpgv":{"type":"Boolean","required":false},"vnw":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F":{},"vnw":{},"stpgv":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1302345b4a58a174e8bcc73f4426d04432a46493":{"name":"1302345b4a58a174e8bcc73f4426d04432a46493","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && (!(!(a::\"\"[\"r\"])))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f764b8185dcadd8106ba7ecf614bef990e574de6":{"name":"f764b8185dcadd8106ba7ecf614bef990e574de6","schema_json":{"mzzzzz::mzzzzz0zwwwwwz":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"resource":{"type":"mzzzzz::mzzzzz0zwwwwwz::a","id":""},"action":{"type":"mzzzzz::mzzzzz0zwwwwwz::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dba1be0e19ff7c90ca7f8272e5c246f818809428":{"name":"dba1be0e19ff7c90ca7f8272e5c246f818809428","schema_json":{"lUy6y788Fwww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"lUy6y788Fwww::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"resource":{"type":"lUy6y788Fwww::a","id":"l:i_ym\u0000\u0000\u0000&"},"action":{"type":"lUy6y788Fwww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0ad7f53251425c9d8f3f0bcb9ececdfbe65fbaac":{"name":"0ad7f53251425c9d8f3f0bcb9ececdfbe65fbaac","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && context) && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"eb549688b05eb58deaeb21ee99e7610f80eee8f6":{"name":"eb549688b05eb58deaeb21ee99e7610f80eee8f6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\b"},"resource":{"type":"a","id":"\u0000\u0000\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"114e1eaad04a5af7eef1d9a6f9052cbb6cc0c438":{"name":"114e1eaad04a5af7eef1d9a6f9052cbb6cc0c438","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":[[true,false],[true,false,false,false,true],[false,false,false,true,false],[false,false],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3a09e8d2f341ac0ed163d93913263a19a622fce2":{"name":"3a09e8d2f341ac0ed163d93913263a19a622fce2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"v\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\",\n action in [],\n resource in a::\"v\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001\u0000"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"resource":{"type":"a","id":"v\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ba86328a2ae4547692bb6a08f5ee2dc2ce4b25e9":{"name":"ba86328a2ae4547692bb6a08f5ee2dc2ce4b25e9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"809c9748537ccf9230eaa8c70c538a16a0e54c86":{"name":"809c9748537ccf9230eaa8c70c538a16a0e54c86","schema_json":{"":{"commonTypes":{},"entityTypes":{"VhBhKfhmkkk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["VhBhKfhmkkk"],"principalTypes":["VhBhKfhmkkk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in VhBhKfhmkkk::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"VhBhKfhmkkk","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VhBhKfhmkkk","id":""},"resource":{"type":"VhBhKfhmkkk","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"22207785df28376a2976a62ec8185f2b73df5c07":{"name":"22207785df28376a2976a62ec8185f2b73df5c07","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"031b9ef9898f3e8cc9ea967e5a05677582eca81e":{"name":"031b9ef9898f3e8cc9ea967e5a05677582eca81e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"F0ca":{"type":"String","required":false},"K776":{"type":"String","required":false},"qkckmpv":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"K776":"","A":"","qkckmpv":"","F0ca":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"83ce2c0c18a235290b93acbf1640314f6218792e":{"name":"83ce2c0c18a235290b93acbf1640314f6218792e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Record","attributes":{"":{"type":"String","required":false},"aff\u0006":{"type":"Record","attributes":{"f\u0000\u0004/Fu":{"type":"Record","attributes":{"":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"G":{"":"","aff\u0006":{"f\u0000\u0004/Fu":{"":""}}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"051a1bcd7902c19b6eeb3d710d3dcc6d68618ce8":{"name":"051a1bcd7902c19b6eeb3d710d3dcc6d68618ce8","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"O":{"memberOfTypes":["q","A","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"B":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"q":{"memberOfTypes":["A","B","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O","q","B","r"],"principalTypes":["O","q","A","B","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"O","id":""},"attrs":{},"parents":[{"type":"A","id":""},{"type":"q","id":""},{"type":"r","id":""},{"type":"B","id":""}]},{"uid":{"type":"q","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"B","id":""},{"type":"A","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"B","id":""},{"type":"r","id":""}]},{"uid":{"type":"B","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ff2bb115942c7257de5f24a3985fa4f2fdd49108":{"name":"ff2bb115942c7257de5f24a3985fa4f2fdd49108","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && ((!true) like \"rNativ\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ba96234b4693881a5e4ef898cd5b11a123ab4d13":{"name":"ba96234b4693881a5e4ef898cd5b11a123ab4d13","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"ff\",\n action in [Action::\"action\"],\n resource == a::\"ff\"\n) when {\n ((true && 2526451350) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"ff"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c4b350c687fa4a5bace39a9e449eb98f3e5d829b":{"name":"c4b350c687fa4a5bace39a9e449eb98f3e5d829b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"02a16a6d495ee188df2575a8539c351fe235ad58":{"name":"02a16a6d495ee188df2575a8539c351fe235ad58","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["n"],"principalTypes":["n"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"A0":{"type":"String","required":false},"CbQw7u":{"type":"String","required":false},"Qm7uuupu":{"type":"String","required":false},"s":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"n","id":""},"resource":{"type":"n","id":""},"action":{"type":"Action","id":"action"},"context":{"Qm7uuupu":"","A0":"","A":"","s":"","CbQw7u":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a3635f0fed60bfe960a1a01dd3bacb35531e2dbe":{"name":"a3635f0fed60bfe960a1a01dd3bacb35531e2dbe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"1\"\n) when {\n ((true && \"\\0\") && \"\\0\") && \"\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"1"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a09b589b0d4e870cb47c3280f1de5ec2264829ca":{"name":"a09b589b0d4e870cb47c3280f1de5ec2264829ca","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fa51f4b347bf4969490811f09fbb2fe495c09c4c":{"name":"fa51f4b347bf4969490811f09fbb2fe495c09c4c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"I":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true && (principal has \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"I":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2d6dc2f9cc6324fe07bec72a98ac623cbdecfa12":{"name":"2d6dc2f9cc6324fe07bec72a98ac623cbdecfa12","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource in a::\"\\0\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ef55486f77e837ca67f88749434504a48760bbee":{"name":"ef55486f77e837ca67f88749434504a48760bbee","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"60\"\n) when {\n true && (!(-(!true)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d778ca0053e915eb0aaf2034c5a18bcd8194605f":{"name":"d778ca0053e915eb0aaf2034c5a18bcd8194605f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource == a::\"\"\n) when {\n false && (((principal || principal) || principal) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3b5b1e469ee9944b3481a2a17500eff50f90fa8f":{"name":"3b5b1e469ee9944b3481a2a17500eff50f90fa8f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{6}\\u{6}\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{6}\\u{6}\"\n) when {\n true && (!\"z\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"222037b53e5039a2617c7dc68486cb12cc43e43e":{"name":"222037b53e5039a2617c7dc68486cb12cc43e43e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"i\\000000\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"i\u000000000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"8"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"i\u000000000"},"resource":{"type":"a","id":"i\u000000000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"874bb70abee31a9fc92403d4e9d05ff5e9d216bb":{"name":"874bb70abee31a9fc92403d4e9d05ff5e9d216bb","schema_json":{"r::r::r::r":{"commonTypes":{},"entityTypes":{"r3Y3333w3333":{"memberOfTypes":["V"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"V":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r3Y3333w3333","V"],"principalTypes":["V"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::V","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::r::r3Y3333w3333","id":""},"attrs":{},"parents":[{"type":"r::r::r::r::V","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::V","id":""},"resource":{"type":"r::r::r::r::r3Y3333w3333","id":""},"action":{"type":"r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c5ea476517cba574bfa6cec43675c0e83e2ff88e":{"name":"c5ea476517cba574bfa6cec43675c0e83e2ff88e","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["x"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"x":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","x"],"principalTypes":["A","x"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"x","id":""}]},{"uid":{"type":"x","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":" "},"attrs":{},"parents":[{"type":"x","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":" "},"resource":{"type":"A","id":" "},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"633dda22e80e12625b773d7dde59e1dc894c53f0":{"name":"633dda22e80e12625b773d7dde59e1dc894c53f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bhh02":{"type":"Set","element":{"type":"String"},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"#\u0000\u0000A\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{"Bhh02":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e707a4f91770c47e0c8a8ba6b52a37a816a5c93d":{"name":"e707a4f91770c47e0c8a8ba6b52a37a816a5c93d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && a::\"\") && (principal == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"efef3d790d796bae052ac24ab93a8e4e8d9bba06":{"name":"efef3d790d796bae052ac24ab93a8e4e8d9bba06","schema_json":{"Wjjjxxxbjxjj11":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Wjjjxxxbjxjj11::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Wjjjxxxbjxjj11::a","id":""},"resource":{"type":"Wjjjxxxbjxjj11::a","id":""},"action":{"type":"Wjjjxxxbjxjj11::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"773e994b3aed1e7755ea250064c70256e12d2f22":{"name":"773e994b3aed1e7755ea250064c70256e12d2f22","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{7}!\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}\\u{2}\\u{7}!\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002\u0002\u0007!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"62216c7d61a110e80e1bae89f57424161302dd67":{"name":"62216c7d61a110e80e1bae89f57424161302dd67","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{16}\",\n action,\n resource\n) when {\n true && (!((!principal) == (!false)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0016"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0016"},"resource":{"type":"a","id":"\u0016"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d874dce35c50c45ac609f378a680b7b8caaeba71":{"name":"d874dce35c50c45ac609f378a680b7b8caaeba71","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && (if resource then (principal * 9851625970245738) else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bc106a3e13cd549e165c8bad694c59a6687e9424":{"name":"bc106a3e13cd549e165c8bad694c59a6687e9424","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":":::"},"attrs":{"F":[[false,false,false,false,false,false],[false,false,false,false,false,false],[],[],[],[]]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bd84e98a5b8a09ad280c6d382affcd06ec248aee":{"name":"bd84e98a5b8a09ad280c6d382affcd06ec248aee","schema_json":{"":{"commonTypes":{},"entityTypes":{"Fwwwywww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"FwwwEwwww":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Fwwwywww"],"principalTypes":["Fwwwywww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwwywww","id":""},"attrs":{"FwwwEwwww":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwwywww","id":""},"resource":{"type":"Fwwwywww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5b9577df7eb687cac8e595257a72cd5d1fd670f1":{"name":"5b9577df7eb687cac8e595257a72cd5d1fd670f1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"R\"\n) when {\n (true && (((false == principal) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"RRRR"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"7600b8d3728a0b54b7d8ad5e18adecfe9f71c3f8":{"name":"7600b8d3728a0b54b7d8ad5e18adecfe9f71c3f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"R\\u{1}\",\n action == Action::\"action\",\n resource == a::\"R\\u{1}\"\n) when {\n true && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"R\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"R\u0001"},"resource":{"type":"a","id":"R\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e4d7bbe9c13bf9cc55f5d27f31b86dede7e8c750":{"name":"e4d7bbe9c13bf9cc55f5d27f31b86dede7e8c750","schema_json":{"A0":{"commonTypes":{},"entityTypes":{"l":{"memberOfTypes":["Fwww"],"shape":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"Fwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["l","Fwww"],"principalTypes":["Fwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0::l","id":""},"attrs":{"r":false},"parents":[{"type":"A0::Fwww","id":""}]},{"uid":{"type":"A0::Fwww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0::Fwww","id":""},"resource":{"type":"A0::l","id":""},"action":{"type":"A0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f85c41d098b3fec1b79630508e98797b78438e7b":{"name":"f85c41d098b3fec1b79630508e98797b78438e7b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"`\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":"`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d96f63399d160023562bcf5317506bf049959ef6":{"name":"d96f63399d160023562bcf5317506bf049959ef6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"wgldmlAlA":{"type":"Record","attributes":{"":{"type":"String","required":false},"\n":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"wgldmlAlA":{"":"","\n":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"676f9f38dc6c2d2e17c7b8055a0f46d9f05bab57":{"name":"676f9f38dc6c2d2e17c7b8055a0f46d9f05bab57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource in a::\"\"\n) when {\n (true && (((\"RR\" == false).lessThanOrEqual(false)) || principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cf8e0b821a33183bb1b27c5204c767cf73046ff2":{"name":"cf8e0b821a33183bb1b27c5204c767cf73046ff2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"V\"\n) when {\n true && (((true * 11945) * 0) * 0)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"V"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e11632e1f05db154fc98307f5d892a24885d5c82":{"name":"e11632e1f05db154fc98307f5d892a24885d5c82","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@K66666000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"󅅈\u0005\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\u0006"},"resource":{"type":"a","id":"\n\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9693f3116d0a2863b0014b2760b84ae20555f640":{"name":"9693f3116d0a2863b0014b2760b84ae20555f640","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"F5540z":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (principal in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"F5540z":false},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e13beaca1968a7be4d266e384804a132493e8399":{"name":"e13beaca1968a7be4d266e384804a132493e8399","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"DlqsllgqrY":{"type":"Boolean","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllgqrY":false,"r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7f596b214a3c4a30c80dee1999b81cda0214d3e5":{"name":"7f596b214a3c4a30c80dee1999b81cda0214d3e5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0ee271720a5368c8cf8d56e70243f821ea755c58":{"name":"0ee271720a5368c8cf8d56e70243f821ea755c58","schema_json":{"v::Qx::OMRR":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false},"fpvc5xxxx00000":{"type":"String","required":false},"v":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::Qx::OMRR::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::Qx::OMRR::a","id":""},"resource":{"type":"v::Qx::OMRR::a","id":""},"action":{"type":"v::Qx::OMRR::Action","id":"action"},"context":{"fpvc5xxxx00000":"","v":"","E":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"424d557b4f611937f98306c623d4ec7e75ca652a":{"name":"424d557b4f611937f98306c623d4ec7e75ca652a","schema_json":{"r::r::r::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0006\u0006":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::a","id":""},"resource":{"type":"r::r::r::r::a","id":""},"action":{"type":"r::r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dc26baf46d0a36f2dfeab8c192cc2d2f05b60593":{"name":"dc26baf46d0a36f2dfeab8c192cc2d2f05b60593","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"J":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0006\u0006\u0004":{"appliesTo":{"resourceTypes":[],"principalTypes":[],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null},"f\u0006":{"appliesTo":{"resourceTypes":[],"principalTypes":[],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"J"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33587e74bf62f23c5d247dea697977b23720cc3c":{"name":"33587e74bf62f23c5d247dea697977b23720cc3c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"x":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Set","element":{"type":"Long"}}}},"required":true},"xd010dd00":{"type":"Set","element":{"type":"Set","element":{"type":"Long"}},"required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"x":[],"xd010dd00":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a79fb528d34791d0da895a0bbfb9f4a30c9da306":{"name":"a79fb528d34791d0da895a0bbfb9f4a30c9da306","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && (a::\"00\" == true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"823354d2421280e40716e95fb84bbcd4d0d20f99":{"name":"823354d2421280e40716e95fb84bbcd4d0d20f99","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && (!((\"\" == false) == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"f"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f"},"resource":{"type":"a","id":"f"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e7b2898f743f1bd17d68147dd28df8525bef20cd":{"name":"e7b2898f743f1bd17d68147dd28df8525bef20cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f~"},"attrs":{"x":{"__entity":{"id":"ffgf`f\u0000","type":"a"}}},"parents":[]},{"uid":{"type":"a","id":"ffgf`f\u0000"},"attrs":{"x":{"__entity":{"id":"ffgf`f\u0000","type":"a"}}},"parents":[]},{"uid":{"type":"a","id":"\u0000f\u0000f"},"attrs":{"x":{"__entity":{"id":"ffgf`f\u0000","type":"a"}}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"x":{"__entity":{"id":"ffgf`f\u0000","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffgf`f\u0000"},"resource":{"type":"a","id":"ffgf`f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8cbb4935a849167455195de3b9d6cababc61c05b":{"name":"8cbb4935a849167455195de3b9d6cababc61c05b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000:::::::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"96645b568adfcefb4b35e422bad25902d71b49f9":{"name":"96645b568adfcefb4b35e422bad25902d71b49f9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},":":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\":\",Action::\"\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ded15c53e94ef93c32b41c2d869961f2cff2f85a":{"name":"ded15c53e94ef93c32b41c2d869961f2cff2f85a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"1\",\n action == Action::\"action\",\n resource == a::\"1\"\n) when {\n (true && ((false == false) == false)) && (((principal == principal) == principal) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"1"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"1"},"resource":{"type":"a","id":"1"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c87b23324533d74351af9d1d3287815fb80f4daa":{"name":"c87b23324533d74351af9d1d3287815fb80f4daa","schema_json":{"":{"commonTypes":{},"entityTypes":{"g":{"memberOfTypes":["dJ","Z4MM"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Z4MM":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"dJ":{"memberOfTypes":["Z4MM"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Z4MM"],"principalTypes":["g","dJ","Z4MM"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Z4MM","id":""},"attrs":{},"parents":[]},{"uid":{"type":"dJ","id":""},"attrs":{},"parents":[{"type":"Z4MM","id":""}]},{"uid":{"type":"g","id":""},"attrs":{},"parents":[{"type":"dJ","id":""},{"type":"Z4MM","id":""}]},{"uid":{"type":"g","id":"RR"},"attrs":{},"parents":[{"type":"Z4MM","id":""},{"type":"dJ","id":""}]},{"uid":{"type":"g","id":"\u0000R"},"attrs":{},"parents":[{"type":"dJ","id":""},{"type":"Z4MM","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"g","id":"\u0000R"},"resource":{"type":"Z4MM","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ee0e4d2430b6cdb096fbd181a965b7946bf45eea":{"name":"ee0e4d2430b6cdb096fbd181a965b7946bf45eea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"60\",\n action in [Action::\"action\"],\n resource == a::\"60\"\n) when {\n (true && (-(!(zoof::\"\" in principal)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3221dffdd3a1ea802e024b5dff4991ac868a2602":{"name":"3221dffdd3a1ea802e024b5dff4991ac868a2602","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"82a73100920bd4652f5fa8618bc0253ead9ef34f":{"name":"82a73100920bd4652f5fa8618bc0253ead9ef34f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"J":{"type":"Set","element":{"type":"Boolean"},"required":false},"o":{"type":"Entity","name":"a","required":true},"r":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"*"},"attrs":{"r":false,"J":[false,false],"o":{"__entity":{"id":"*","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"*"},"resource":{"type":"a","id":"*"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"826e05f48f8fb596cdcd7bfcfe99f995c4a4012e":{"name":"826e05f48f8fb596cdcd7bfcfe99f995c4a4012e","schema_json":{"":{"commonTypes":{},"entityTypes":{"WhfhhhhhhkkkkZ":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["WhfhhhhhhkkkkZ"],"principalTypes":["WhfhhhhhhkkkkZ"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"resource":{"type":"WhfhhhhhhkkkkZ","id":"\u0013\u0000\u0000\u0002....."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4c6237f576091e1bee1fe087fe515a0f9299cea6":{"name":"4c6237f576091e1bee1fe087fe515a0f9299cea6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action == Action::\"action\",\n resource\n) when {\n true && (!(principal == (if principal then principal else principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9c21d76e68dfe77e5d919f373e1ca270092f0b14":{"name":"9c21d76e68dfe77e5d919f373e1ca270092f0b14","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"j":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource in a::\" \\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":" \u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":" \u0000\u0000"},"resource":{"type":"a","id":" \u0000\u0000"},"action":{"type":"Action","id":"j"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":" \u0000\u0000"},"resource":{"type":"a","id":" \u0000\u0000"},"action":{"type":"Action","id":"j"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":" \u0000\u0000"},"resource":{"type":"a","id":" \u0000\u0000"},"action":{"type":"Action","id":"j"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":" \u0000\u0000"},"resource":{"type":"a","id":" \u0000\u0000"},"action":{"type":"Action","id":"j"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6af53a1267dedc8cca5e2bcf8053e0004bbe90c7":{"name":"6af53a1267dedc8cca5e2bcf8053e0004bbe90c7","schema_json":{"":{"commonTypes":{},"entityTypes":{"J0000000":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["J0000000"],"principalTypes":["J0000000"],"context":{"type":"Record","attributes":{"FYkdqhY0000000":{"type":"String","required":false},"Famklwww":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"J0000000","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"J0000000","id":""},"resource":{"type":"J0000000","id":""},"action":{"type":"Action","id":"action"},"context":{"Famklwww":"","FYkdqhY0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"74fc6528dec498d8409c8a72a7f24be4f27e1888":{"name":"74fc6528dec498d8409c8a72a7f24be4f27e1888","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\";;;\\u{7f}\\0\\0\",\n action in [Action::\"action\"],\n resource == a::\";;;\\u{7f}\\0\\0\"\n) when {\n ((true && (resource == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"g"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":";;;\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":";;;\u0000\u0000"},"resource":{"type":"a","id":";;;\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ec1d94aec00ec1a3d5cd078475d0dc3a76510011":{"name":"ec1d94aec00ec1a3d5cd078475d0dc3a76510011","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"yyyyy\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"yyyyy"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"yyyyy"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"yyyyy"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"yyyyy"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e7458302450d25b602e878ab27e3e460a03ce21d":{"name":"e7458302450d25b602e878ab27e3e460a03ce21d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && A::\"\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3208960eba87a93d580d9f308e89b94716cb1c4d":{"name":"3208960eba87a93d580d9f308e89b94716cb1c4d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"I":{"type":"Boolean","required":false},"r":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":false,"I":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1e92f99bd2bca10ab16f9f78768fdd849c1f930a":{"name":"1e92f99bd2bca10ab16f9f78768fdd849c1f930a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0199370f4834c9c70ceb5837b847673e05b4d111":{"name":"0199370f4834c9c70ceb5837b847673e05b4d111","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["Vhhhhhhkkkkkkkkki"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Vhhhhhhkkkkkkkkki":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vhhhhhhkkkkkkkkki"],"principalTypes":["Vhhhhhhkkkkkkkkki"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhhhhkkkkkkkkki","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"Vhhhhhhkkkkkkkkki","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"Vhhhhhhkkkkkkkkki","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"542c42d5e27ea598981872d3dea68f2cc892fe2a":{"name":"542c42d5e27ea598981872d3dea68f2cc892fe2a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"587a433cf9916b10d67701bc8d26db33fcd7e178":{"name":"587a433cf9916b10d67701bc8d26db33fcd7e178","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"77860eec88dc6c6ebe6d152e2f31aecfef2c8ef0":{"name":"77860eec88dc6c6ebe6d152e2f31aecfef2c8ef0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":\n::"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":":::A"},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::A"},"resource":{"type":"a","id":":::A"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dfd37ed0bcf4cef38164ef8af5886926a08151ac":{"name":"dfd37ed0bcf4cef38164ef8af5886926a08151ac","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000#\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c62cb36b5454c8f63855d5c424ff8232c048da87":{"name":"c62cb36b5454c8f63855d5c424ff8232c048da87","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"I\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"I\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"I\u0000"},"resource":{"type":"a","id":"I\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"I\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9868018f65ba67ab04238d0cd84e657bcfd2e4c2":{"name":"9868018f65ba67ab04238d0cd84e657bcfd2e4c2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource == a::\"\"\n) when {\n false && (!principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"cb4b59edfc9f9d6201f583176e0a6cf4445aafe4":{"name":"cb4b59edfc9f9d6201f583176e0a6cf4445aafe4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (if (if (if principal then principal else principal) then principal else principal) then principal else principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ee1fa449052339701d1c55068e63f92c7db896b8":{"name":"ee1fa449052339701d1c55068e63f92c7db896b8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && Action::\"action\") && (!Action::\"action\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":";"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":";"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8d633bca2c9c6d3ba3b0094c47a6e64372d84f59":{"name":"8d633bca2c9c6d3ba3b0094c47a6e64372d84f59","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\\0\",\n action,\n resource\n) when {\n ((true && context) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"16cfd4b64989cfb9967626b279b90ef46cf8fe5d":{"name":"16cfd4b64989cfb9967626b279b90ef46cf8fe5d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bsmm":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Bsmm":{}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9121208cfdb1a32bc3faea9856ccdee0de923e7f":{"name":"9121208cfdb1a32bc3faea9856ccdee0de923e7f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (false <= (!(!context)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a90bb06aa3fe36f3f82b8ab373d3a9eeba170538":{"name":"a90bb06aa3fe36f3f82b8ab373d3a9eeba170538","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\0\",\n action,\n resource == a::\"\\0\"\n) when {\n true && a::\"zK\\0\\0\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f4b03c556b4f95cb09e10aacf145e4d2e8c15bcd":{"name":"f4b03c556b4f95cb09e10aacf145e4d2e8c15bcd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource == a::\"\"\n) when {\n (true && \"\") && \"\\r\\u{5}\\u{5}\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"56aaf321d34a8330373a5a4c21c140bd6e330cd2":{"name":"56aaf321d34a8330373a5a4c21c140bd6e330cd2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\"],\n resource == a::\"00\"\n) when {\n true && ((!(!principal)) == (!(!principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f207e038d0f3cb47d1d6a287417251c61f5ccd43":{"name":"f207e038d0f3cb47d1d6a287417251c61f5ccd43","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":""},"decision":"Deny","reasons":[],"errors":[]}]},"0a451e320de150e9a7bcfbaa0b1c3256e4025cec":{"name":"0a451e320de150e9a7bcfbaa0b1c3256e4025cec","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false},"t":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"resource":{"type":"a","id":"d\u0000\u0000\u0000\u0000\u00000\u0000\u0000\u0003"},"action":{"type":"Action","id":"action"},"context":{"t":false,"r":{}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b948b6c95baeb0f32fff0171c4032ae9a99a585c":{"name":"b948b6c95baeb0f32fff0171c4032ae9a99a585c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action == Action::\"action\",\n resource == a::\"\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"Й"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"F/"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0ff6d747c763a5a1c6266cb4a4e7ae80cc8d6234":{"name":"0ff6d747c763a5a1c6266cb4a4e7ae80cc8d6234","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (principal in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"6"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e2936934f407e850db2cd8ac2673cf9b5ff22edb":{"name":"e2936934f407e850db2cd8ac2673cf9b5ff22edb","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"V"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"V"},"resource":{"type":"a","id":"V"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ec4254b1a4ee88e6658d26a5e0ff9e9da959177f":{"name":"ec4254b1a4ee88e6658d26a5e0ff9e9da959177f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (((principal == principal) || principal) || principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"69ca4af315a692202dd173f97a2332896d49e692":{"name":"69ca4af315a692202dd173f97a2332896d49e692","schema_json":{"r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in r::a::\"\",\n action == r::Action::\"action\",\n resource in r::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::a","id":""},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"r::a","id":""},"resource":{"type":"r::a","id":""},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::a","id":""},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"r::a","id":"\u0000"},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"r::a","id":"\u0000"},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"r::a","id":"\u0000"},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"r::a","id":"\u0000"},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"r::a","id":"\u0000"},"resource":{"type":"r::a","id":"\u0000"},"action":{"type":"r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3ad80e815e9862d1c3e514155ac87ae740a19216":{"name":"3ad80e815e9862d1c3e514155ac87ae740a19216","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"::\\0\\0\\u{1}\\0\\0C\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"resource":{"type":"a","id":"::\u0000\u0000\u0001\u0000\u0000C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"608d5552565e6c5dd6d1263ae298a28d7ac6b76d":{"name":"608d5552565e6c5dd6d1263ae298a28d7ac6b76d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}\\u{2}\\u{2}\\u{2}com/fast,er\",\n action == Action::\"action\",\n resource == a::\"\\u{2}\\u{2}\\u{2}\\u{2}com/fast,er\"\n) when {\n (true && (((principal == principal) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"resource":{"type":"a","id":"\u0002\u0002\u0002\u0002com/fast,er"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"731d19cc28b9abfb181b66e4ad631dfcdda2790c":{"name":"731d19cc28b9abfb181b66e4ad631dfcdda2790c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"FF\u0006\u0000F"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FF\u0006\u0000F"},"resource":{"type":"a","id":"FF\u0006\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"88dfaaec78187b7e68e9ddd7ba4772e5786c89bd":{"name":"88dfaaec78187b7e68e9ddd7ba4772e5786c89bd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && resource) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3c0a85d7813bf5e4eda9f5d796c838025e1e3695":{"name":"3c0a85d7813bf5e4eda9f5d796c838025e1e3695","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"811009a9dc094ed3d54cade9ae525f147f457dd2":{"name":"811009a9dc094ed3d54cade9ae525f147f457dd2","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"m8wwwwwwwww":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["m8wwwwwwwww"],"principalTypes":["m8wwwwwwwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"m8wwwwwwwww","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m8wwwwwwwww","id":""},"resource":{"type":"m8wwwwwwwww","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"eca483a27ff569d3800dbb3800d017cc1cd22fec":{"name":"eca483a27ff569d3800dbb3800d017cc1cd22fec","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"035043$\\0\\0\"\n) when {\n (false && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d3da33d57bbf524986b5ad8e9c77e862b1c60394":{"name":"d3da33d57bbf524986b5ad8e9c77e862b1c60394","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"ꗗ\"\n) when {\n ((true && \"\") && ((principal like \"\") == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"eaac8c3e94a8abdf6d8ddcae599dfe50a51b2cd4":{"name":"eaac8c3e94a8abdf6d8ddcae599dfe50a51b2cd4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bf5e387dee17b1c906a9b53c95f4752441d5f4e9":{"name":"bf5e387dee17b1c906a9b53c95f4752441d5f4e9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ffffffff*fffffffffffffff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffffff*fffffffffffffff"},"resource":{"type":"a","id":"ffffffff*fffffffffffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"352f0318003a5f7405d9be4285bcad0e73234cff":{"name":"352f0318003a5f7405d9be4285bcad0e73234cff","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhhh"],"principalTypes":["Kfhhhhhh"],"context":{"type":"Record","attributes":{"ukkkkJ002kkkk":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kfhhhhhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kfhhhhhh","id":""},"resource":{"type":"Kfhhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{"ukkkkJ002kkkk":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"595d053969ab751cfa9df38e096805ffcafb1e2d":{"name":"595d053969ab751cfa9df38e096805ffcafb1e2d","schema_json":{"KAxx0xn":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\tzzz~z2zzz":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\t\t\t\t\t\t\t\t\t\t":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"KAxx0xn::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"KAxx0xn::a","id":""},"resource":{"type":"KAxx0xn::a","id":""},"action":{"type":"KAxx0xn::Action","id":"\tzzz~z2zzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c846886fb46344cb1ed2440eb7d9159e714fd488":{"name":"c846886fb46344cb1ed2440eb7d9159e714fd488","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"attrs":{"A":[{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000","type":"a"}},{"__entity":{"id":"f\u0003\u0000\u0000\u0000","type":"a"}}]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"A":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"resource":{"type":"a","id":"f\u0003\u0000\u0000\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fcc4ead5e89eb1f4cc6a1e756cbb4c377fe8f573":{"name":"fcc4ead5e89eb1f4cc6a1e756cbb4c377fe8f573","schema_json":{"":{"commonTypes":{},"entityTypes":{"dyyUIKldYqrc":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"l/ja":{"appliesTo":null,"memberOf":null},"ks":{"appliesTo":{"resourceTypes":["dyyUIKldYqrc"],"principalTypes":["dyyUIKldYqrc"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"dyyUIKldYqrc","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"l/ja"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0a7286518e9d6c03de240d7e672e4412411473f8":{"name":"0a7286518e9d6c03de240d7e672e4412411473f8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ea66114dfde4a1054167ad3842044654009871f0":{"name":"ea66114dfde4a1054167ad3842044654009871f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"WjjX":{"type":"Set","element":{"type":"Long"},"required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"WjjX":[20319465336092214,28823050459807744]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"cb37f1c7f23871d56b18153d9f46612f39189a65":{"name":"cb37f1c7f23871d56b18153d9f46612f39189a65","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006`"},"resource":{"type":"a","id":"\u0006`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8070f300740c1204c67346b23b10d4c86ccb744e":{"name":"8070f300740c1204c67346b23b10d4c86ccb744e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"String","required":false},"w":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"","w":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"17668072f20aabadd9a184797bf67efb9c07ad98":{"name":"17668072f20aabadd9a184797bf67efb9c07ad98","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && ((a::\"\".contains(principal)) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5746644b95d1d90914158aae1f95a3df07def303":{"name":"5746644b95d1d90914158aae1f95a3df07def303","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"33a0d4d7f76a06f43f5fd89a323855b98dd33630":{"name":"33a0d4d7f76a06f43f5fd89a323855b98dd33630","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\n\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000\u0000\n\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\n\u0000\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"0869650f3af53764ac1783c8e7e6d57b54114ec5":{"name":"0869650f3af53764ac1783c8e7e6d57b54114ec5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000fffffF\u0000\u0000\u0000\u0000\u0000\u0000ffffff\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"73693c4e67eec37a551e7aab906e26bdaf479475":{"name":"73693c4e67eec37a551e7aab906e26bdaf479475","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"\u0002\u0000\u0000:":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{}},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{"A":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"06e93ed14b5d21cc49f2e9e5ec072467bb247284":{"name":"06e93ed14b5d21cc49f2e9e5ec072467bb247284","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0004"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1e5a9bd1fc711d24a412baf0ab811a2052bb4e9b":{"name":"1e5a9bd1fc711d24a412baf0ab811a2052bb4e9b","schema_json":{"m":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"m::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"m::a","id":"l/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m::a","id":"l/"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"m::a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"m::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"c3a88a8bb1f154853a4c0b04e2cd2443f650d71f":{"name":"c3a88a8bb1f154853a4c0b04e2cd2443f650d71f","schema_json":{"":{"commonTypes":{},"entityTypes":{"nO8888hI":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["nO8888hI"],"principalTypes":["nO8888hI"],"context":{"type":"Record","attributes":{"Fwwwwwwq":{"type":"String","required":false},"i":{"type":"String","required":false},"o":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"nO8888hI","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"nO8888hI","id":""},"resource":{"type":"nO8888hI","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwwq":"","i":"","o":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f41321feed22551dbe7cc85bb128b3b103968a1c":{"name":"f41321feed22551dbe7cc85bb128b3b103968a1c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (true == 0)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"d49b906de5b1bb46479ccc6d660b3a56205d46e2":{"name":"d49b906de5b1bb46479ccc6d660b3a56205d46e2","schema_json":{"R::B::AJ1f":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"x":{"type":"Entity","name":"R::B::AJ1f::a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R::B::AJ1f::a","id":"f"},"attrs":{"x":{"__entity":{"id":"f","type":"R::B::AJ1f::a"}}},"parents":[]},{"uid":{"type":"R::B::AJ1f::a","id":""},"attrs":{"x":{"__entity":{"id":"f","type":"R::B::AJ1f::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R::B::AJ1f::a","id":"f"},"resource":{"type":"R::B::AJ1f::a","id":"f"},"action":{"type":"R::B::AJ1f::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a792445aa92865caed7a3bfd0f1daed35d6c28cd":{"name":"a792445aa92865caed7a3bfd0f1daed35d6c28cd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"R\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"RRRR"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"RRRR"},"resource":{"type":"a","id":"RRRR"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c741999c22aeadc0ebf9ec3ba1f3fc2a8c0089ee":{"name":"c741999c22aeadc0ebf9ec3ba1f3fc2a8c0089ee","schema_json":{"vt::A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"xdddRRRSd":{"type":"Entity","name":"vt::A::a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"vt::A::a","id":"fF"},"attrs":{"xdddRRRSd":{"__entity":{"id":"fF","type":"vt::A::a"}}},"parents":[]},{"uid":{"type":"vt::A::a","id":"ff\u0000"},"attrs":{"xdddRRRSd":{"__entity":{"id":"fF","type":"vt::A::a"}}},"parents":[]},{"uid":{"type":"vt::A::a","id":"f"},"attrs":{"xdddRRRSd":{"__entity":{"id":"fF","type":"vt::A::a"}}},"parents":[]},{"uid":{"type":"vt::A::a","id":""},"attrs":{"xdddRRRSd":{"__entity":{"id":"fF","type":"vt::A::a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"vt::A::a","id":"fF"},"resource":{"type":"vt::A::a","id":"fF"},"action":{"type":"vt::A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0a6e9d198c15f603144afd42693151c4f63c4f15":{"name":"0a6e9d198c15f603144afd42693151c4f63c4f15","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"620f1df31b84511fd971e742e30ca6a7154d3fce":{"name":"620f1df31b84511fd971e742e30ca6a7154d3fce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@G6000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"resource":{"type":"a","id":"\n\u0006\n\u0006󅅈\u0005\u0006@\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5e75403e4dd3959be0326292d1070386da5a1e37":{"name":"5e75403e4dd3959be0326292d1070386da5a1e37","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{2}s\\0\\0\\0\",\n action == Action::\"action\",\n resource == a::\"\\u{2}s\\0\\0\\0\"\n) when {\n true && ((principal == principal).lessThan(principal, principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"dbd6a16ed5b85032a68658f06177c34f6df00014":{"name":"dbd6a16ed5b85032a68658f06177c34f6df00014","schema_json":{"":{"commonTypes":{},"entityTypes":{"zjj":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Wjjjjjjjjukkkk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["zjj"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["Wjjjjjjjjukkkk","zjj"],"principalTypes":["r","zjj"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Wjjjjjjjjukkkk","id":""},"attrs":{},"parents":[]},{"uid":{"type":"zjj","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"zjj","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":""},"resource":{"type":"Wjjjjjjjjukkkk","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc0fd67ace59edf84c2d95fce4f8836571d6ac18":{"name":"bc0fd67ace59edf84c2d95fce4f8836571d6ac18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (true && \"q\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ac51e0917f706a71e24ebaacd4689e15b0c9b6bf":{"name":"ac51e0917f706a71e24ebaacd4689e15b0c9b6bf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Fwwwwwww":{"type":"String","required":false},"G0b000wwhhhhhh":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fwwwwwww":"","G0b000wwhhhhhh":{}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8b6ca5e1fd6e3a0e977cddc8421b6566261e8147":{"name":"8b6ca5e1fd6e3a0e977cddc8421b6566261e8147","schema_json":{"nww_ww00000":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@f(\"\")\nforbid(\n principal in nww_ww00000::a::\"\",\n action,\n resource in nww_ww00000::a::\"\"\n) when {\n (true && (!principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"nww_ww00000::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"nww_ww00000::a","id":""},"resource":{"type":"nww_ww00000::a","id":""},"action":{"type":"nww_ww00000::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"22b12bec5e1fe2fbc923f91bf85875f7f8a4ddc4":{"name":"22b12bec5e1fe2fbc923f91bf85875f7f8a4ddc4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && \"\") && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"155fc431b6957914aa4b850fb121510f470d316f":{"name":"155fc431b6957914aa4b850fb121510f470d316f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000%\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"eff2557e80c650481f9850bc32dbd8a483ef8077":{"name":"eff2557e80c650481f9850bc32dbd8a483ef8077","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (true.isInRange(principal, principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ba4d87ce7c6c3bca381073a32ddf47de29f6c23a":{"name":"ba4d87ce7c6c3bca381073a32ddf47de29f6c23a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource == a::\"\\u{2}1\"\n) when {\n (true && ((false == (false == false)) == ((false == principal) == principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3f61d3cf86466ac28b1895e4661050b46903c7a8":{"name":"3f61d3cf86466ac28b1895e4661050b46903c7a8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"00\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"\u0000W\u0000@jj'\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"8b020ba7898af3bc24d8367ad128ab0fa1f2459b":{"name":"8b020ba7898af3bc24d8367ad128ab0fa1f2459b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\n@xG700000000000000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000F"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6fa62d99a95be2f5acd33b1d6072299cfab24505":{"name":"6fa62d99a95be2f5acd33b1d6072299cfab24505","schema_json":{"r::W::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::W::r::a::\"\",\n action in [r::W::r::Action::\"action\"],\n resource == r::W::r::a::\"\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"r::W::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"r::W::r::a","id":""},"resource":{"type":"r::W::r::a","id":""},"action":{"type":"r::W::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e00736daebe04bcfd20e6c0fd965104fd55ef5c0":{"name":"e00736daebe04bcfd20e6c0fd965104fd55ef5c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"%\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"%"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"%"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"%"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"%"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2a970a29a476251738d85165757de0a961c68f7b":{"name":"2a970a29a476251738d85165757de0a961c68f7b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"resource":{"type":"a","id":" \u0000\u0000\u001bffgff00000066791035$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"419f064ced0e79f8e26a9d482d1201c68c3b8dfa":{"name":"419f064ced0e79f8e26a9d482d1201c68c3b8dfa","schema_json":{"A0ww":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Entity","name":"A0ww::a","required":true},"FwZwwwwammk":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A0ww::a","id":""},"attrs":{"F":{"__entity":{"id":"","type":"A0ww::a"}},"FwZwwwwammk":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A0ww::a","id":""},"resource":{"type":"A0ww::a","id":""},"action":{"type":"A0ww::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5957f6406f64415729cbdfb64df1aed9e55091aa":{"name":"5957f6406f64415729cbdfb64df1aed9e55091aa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"(0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"(0\"\n) when {\n true && (!((!false) in a::\"(0\"))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"(0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"(0"},"resource":{"type":"a","id":"(0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e394f695a1aa025b2d33cd869402a81812088afd":{"name":"e394f695a1aa025b2d33cd869402a81812088afd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"\",\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"+"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"+"},"resource":{"type":"a","id":"+"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"2239b21f34c47ce718869777f6bec7341de7e0b8":{"name":"2239b21f34c47ce718869777f6bec7341de7e0b8","schema_json":{"r::Fwww::r":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"qiw8www1":{"memberOfTypes":["A"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["qiw8www1","A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::Fwww::r::A","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r::Fwww::r::qiw8www1","id":""},"attrs":{},"parents":[{"type":"r::Fwww::r::A","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::Fwww::r::A","id":""},"resource":{"type":"r::Fwww::r::qiw8www1","id":""},"action":{"type":"r::Fwww::r::Action","id":"action"},"context":{"E":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"44f3f0390a09debab2c1b5cddb98335b930d4ec1":{"name":"44f3f0390a09debab2c1b5cddb98335b930d4ec1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"18143877edec804d9108a7f1030dd6bf625d2f96":{"name":"18143877edec804d9108a7f1030dd6bf625d2f96","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":[]},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"A":[]},"parents":[]},{"uid":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"attrs":{"A":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"resource":{"type":"a","id":"\u0003\u0000\u0000\u0000sun/ni"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a84c37ed3ee621ef38fd0620cda673cc3c76ba93":{"name":"a84c37ed3ee621ef38fd0620cda673cc3c76ba93","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"F\u0000RR\u0000R"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"F\u0000RR\u0000R"},"resource":{"type":"a","id":"F\u0000RR\u0000R"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"05e9688d1657ab7c11fe5e9cab8cd3bdeabf40a7":{"name":"05e9688d1657ab7c11fe5e9cab8cd3bdeabf40a7","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vhhhh8hhkkkkkkkkk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Vhhhh8hhkkkkkkkkk"],"principalTypes":["Vhhhh8hhkkkkkkkkk"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhh8hhkkkkkkkkk","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Vhhhh8hhkkkkkkkkk","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"resource":{"type":"Vhhhh8hhkkkkkkkkk","id":"."},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"01a2a267879d14f88be8deb00f1ad2c8bc504daf":{"name":"01a2a267879d14f88be8deb00f1ad2c8bc504daf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && ((\"\\u{1}j\".contains(a::\"\\0\")) in (principal.containsAll(principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"41ffe03150bfedb110650a025dfc3cbf1026144c":{"name":"41ffe03150bfedb110650a025dfc3cbf1026144c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"j\\u{1}\\0\\0\\0r\"\n) when {\n true && (principal.lessThan(principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j\u0001\u0000\u0000\u0000r"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Deny","reasons":[],"errors":[]}]},"d07bc0de4ce3765c0db88eaa29075e491c9924d1":{"name":"d07bc0de4ce3765c0db88eaa29075e491c9924d1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"om/f":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"saik0":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"sterxm\u0002\u0002\u0002\u0002\u0002comu/":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"om/f"},"context":{"saik0":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8862544c9190cd90ebfc98eeee8fc0482628730f":{"name":"8862544c9190cd90ebfc98eeee8fc0482628730f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"j\",\n action in [Action::\"action\"],\n resource in a::\"j\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"7284584f3d64e4a462729a2952f283b5a6bfe3ea":{"name":"7284584f3d64e4a462729a2952f283b5a6bfe3ea","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (Action::\"action\".isMulticast())) && a::\"\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"91f9c787d43b0c5facb2f8ec16ce02056fde8bc9":{"name":"91f9c787d43b0c5facb2f8ec16ce02056fde8bc9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"zzzz":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"zzzz\",\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"zzzz"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e7e490b93e58425f8e95e6aee6d923326c465b36":{"name":"e7e490b93e58425f8e95e6aee6d923326c465b36","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f9038335a4482bba1a886183685e4de56fd62a10":{"name":"f9038335a4482bba1a886183685e4de56fd62a10","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (if (if (234 in principal) then principal else principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5a5458bd79d848abfeaaf047832375983b281840":{"name":"5a5458bd79d848abfeaaf047832375983b281840","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":true}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":[{"__entity":{"id":"","type":"a"}}]},"parents":[]},{"uid":{"type":"a","id":"\u0003\u0000\u0000n/"},"attrs":{"A":[{"__entity":{"id":"\u0003\u0000\u0000n/","type":"a"}},{"__entity":{"id":"","type":"a"}}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0003\u0000\u0000n/"},"resource":{"type":"a","id":"\u0003\u0000\u0000n/"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ebd1f29e70f34ab27a95201a43d2a72cd392b266":{"name":"ebd1f29e70f34ab27a95201a43d2a72cd392b266","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@P(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"FF"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"169db4c31a471e0e6e4fa5eab01e3edf73aeb2af":{"name":"169db4c31a471e0e6e4fa5eab01e3edf73aeb2af","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@b(\"\")\n@m(\"\")\n@q(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"39c55e64c93a32d13ae513181176d1769f7c9a61":{"name":"39c55e64c93a32d13ae513181176d1769f7c9a61","schema_json":{"":{"commonTypes":{},"entityTypes":{"nF000000":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["nF000000"],"principalTypes":["nF000000"],"context":{"type":"Record","attributes":{"F":{"type":"String","required":false},"M":{"type":"String","required":false},"M24xwwwwwwwwn00":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"nF000000","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"nF000000","id":""},"resource":{"type":"nF000000","id":""},"action":{"type":"Action","id":"action"},"context":{"M":"","M24xwwwwwwwwn00":"","r":"","F":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca6bf4ceb4c21f136ef5564dc649eaabe796d2af":{"name":"ca6bf4ceb4c21f136ef5564dc649eaabe796d2af","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"\") && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0004"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0004"},"resource":{"type":"a","id":"\u0004"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2b4f5976ba2de3e7a4113188816841635e7ce9ef":{"name":"2b4f5976ba2de3e7a4113188816841635e7ce9ef","schema_json":{"r::l77::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == r::l77::r::a::\"\",\n action in [r::l77::r::Action::\"action\",r::l77::r::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::l77::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::l77::r::a","id":""},"resource":{"type":"r::l77::r::a","id":""},"action":{"type":"r::l77::r::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ecadbd80f49ec54cc7231bc5bdf865903407c506":{"name":"ecadbd80f49ec54cc7231bc5bdf865903407c506","schema_json":{"r::r::r::r::r33::r::r::V::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"resource":{"type":"r::r::r::r::r33::r::r::V::r::a","id":""},"action":{"type":"r::r::r::r::r33::r::r::V::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e233918b812003894eaadf8eb48360bcbe08e55f":{"name":"e233918b812003894eaadf8eb48360bcbe08e55f","schema_json":{"r::r::r":{"commonTypes":{},"entityTypes":{"w":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["w"],"principalTypes":["w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"\u0006\u0006":{"appliesTo":{"resourceTypes":["w"],"principalTypes":["w"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::w","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::w","id":""},"resource":{"type":"r::r::r::w","id":""},"action":{"type":"r::r::r::Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"97848837a6cfe6fcf5837958fb701bc558be2db9":{"name":"97848837a6cfe6fcf5837958fb701bc558be2db9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"..":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":{"resourceTypes":[],"principalTypes":[],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},")":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"J":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","resource":{"type":"a","id":""},"action":{"type":"Action","id":".."},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"812182cd4ad1e94be57a6309c88dd2d69d5fffaf":{"name":"812182cd4ad1e94be57a6309c88dd2d69d5fffaf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n (true && (context || 0)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"39a6b7a23a22c49ff6d3b49e0ef9c41840c07441":{"name":"39a6b7a23a22c49ff6d3b49e0ef9c41840c07441","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"00\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f7a661059947830ab159b0ed8f0093f339a49d7d":{"name":"f7a661059947830ab159b0ed8f0093f339a49d7d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && (principal in 822148866)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"15ed02adbd72854bf697fbfac04efd194b01775f":{"name":"15ed02adbd72854bf697fbfac04efd194b01775f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{2}\\\"0\",\n action in [Action::\"\",Action::\"\",Action::\"\"],\n resource == a::\"\\u{2}\\\"0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\"0"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\"0"},"resource":{"type":"a","id":"\u0002\"0"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"960d3e9de3aa8f15b17f855ffd831ac8c1b9632f":{"name":"960d3e9de3aa8f15b17f855ffd831ac8c1b9632f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && (principal.contains(Action::\"action\"))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"03bd38f3357bc4079ecf1dc9fff65f6c695727fd":{"name":"03bd38f3357bc4079ecf1dc9fff65f6c695727fd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && (if context then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7d64278cfdc6c47035c40e414192bf0eef7028ad":{"name":"7d64278cfdc6c47035c40e414192bf0eef7028ad","schema_json":{"s":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == s::a::\"\\0\\0\\0\\0\\0\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"s::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":""},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"s::a","id":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"s::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"5ca000e7f1540ba4c90f6a110288612212e12707":{"name":"5ca000e7f1540ba4c90f6a110288612212e12707","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"\"\n) when {\n ((true && (((if a::\"\" then a::\"\" else principal) && principal) && principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b16e13e2dfb0404e1fc0caa0e0abede544de5cbd":{"name":"b16e13e2dfb0404e1fc0caa0e0abede544de5cbd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3dfc706ec30800296e59c197bc0b57cca67e690a":{"name":"3dfc706ec30800296e59c197bc0b57cca67e690a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"`\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"`"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"`"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f707e8530a96bd2a58b8de7b480670ffdbd34902":{"name":"f707e8530a96bd2a58b8de7b480670ffdbd34902","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n ((true && (((-(\"\")) == (-(false))) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e8740bccf611aacef35d92682b472b951ccdb86e":{"name":"e8740bccf611aacef35d92682b472b951ccdb86e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n (true && Action::\"action\") && (!a::\"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":";"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":";"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"8a64bf3f47fc1c97d27efe16e9cf12d469ab65e3":{"name":"8a64bf3f47fc1c97d27efe16e9cf12d469ab65e3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"OllJJJJJw":{"type":"Boolean","required":false},"w":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"OllJJJJJw":false,"w":{"__entity":{"id":"","type":"a"}}},"parents":[]},{"uid":{"type":"a","id":"R"},"attrs":{"OllJJJJJw":false,"w":{"__entity":{"id":"","type":"a"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1755a63e1055ea02e36e593a0c57620b26341c5f":{"name":"1755a63e1055ea02e36e593a0c57620b26341c5f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"351318d1185cadb972352f0fd6df3a6801b6df44":{"name":"351318d1185cadb972352f0fd6df3a6801b6df44","schema_json":{"":{"commonTypes":{},"entityTypes":{"W":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["W"],"principalTypes":["W"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in W::\"\\0\\0\",\n action in [Action::\"action\"],\n resource\n) when {\n ((true && (!(!(!lbwwwQw00000000::\"\")))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"W","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"W","id":"\u0000\u0000"},"resource":{"type":"W","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"78e6dc287b333b74145e3812acca38315b888cd5":{"name":"78e6dc287b333b74145e3812acca38315b888cd5","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true && (a::\"00\" == (!(!principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"39825f1656b5b6b58d6ab231ac5592c55781c0ba":{"name":"39825f1656b5b6b58d6ab231ac5592c55781c0ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n true && (!(!false))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"79ff59936ed79973c005e36c9ef55c5326d9ce66":{"name":"79ff59936ed79973c005e36c9ef55c5326d9ce66","schema_json":{"":{"commonTypes":{},"entityTypes":{"F_wxwwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Cw_wxwww":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"7":{"appliesTo":{"resourceTypes":["F_wxwwww"],"principalTypes":["F_wxwwww"],"context":{"type":"Record","attributes":{"vh00000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"F_wxwwww","id":""},"attrs":{"Cw_wxwww":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"F_wxwwww","id":""},"resource":{"type":"F_wxwwww","id":""},"action":{"type":"Action","id":"7"},"context":{"vh00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2315fa6f8a865d109cc7e2da855040ee80099c9b":{"name":"2315fa6f8a865d109cc7e2da855040ee80099c9b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"D":{"type":"Boolean","required":false},"oAK":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"D":false,"A":false,"oAK":false},"parents":[]},{"uid":{"type":"a","id":"::::::"},"attrs":{"D":false,"oAK":false,"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::::::"},"resource":{"type":"a","id":"::::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc1c8b6f90bf849e3adc20f2b2e24ccd1c128465":{"name":"bc1c8b6f90bf849e3adc20f2b2e24ccd1c128465","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"C":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"\u0002":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"c":{"appliesTo":{"resourceTypes":null,"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"C":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"564c7b55a6b59d2d4cdffbc67edae64efe5ac1f7":{"name":"564c7b55a6b59d2d4cdffbc67edae64efe5ac1f7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && \"\") && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"30ecdc4abf5662a82a7f8503418b11e737369800":{"name":"30ecdc4abf5662a82a7f8503418b11e737369800","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"Fk9":{"type":"String","required":false},"r":{"type":"Boolean","required":false},"r3310":{"type":"Boolean","required":true}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Fk9":"","A":"","r3310":false,"r":false},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"423fe689c6591ef101c51473492bd596e3d5ffce":{"name":"423fe689c6591ef101c51473492bd596e3d5ffce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource == a::\"C\"\n) when {\n (true && (\"\" < \"\")) && (!false)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"C"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"C"},"resource":{"type":"a","id":"C"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"47f7c26628392440b88712bd642da9881e829fd1":{"name":"47f7c26628392440b88712bd642da9881e829fd1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\":*\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::"},"resource":{"type":"a","id":":::"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b24ab34a4e77453be45d5743cce301254b9d4f70":{"name":"b24ab34a4e77453be45d5743cce301254b9d4f70","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n ((true && a::\"\") && (principal.isInRange(principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"119060b4ffba618daf4f70e4a718653493f1b3d9":{"name":"119060b4ffba618daf4f70e4a718653493f1b3d9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@C(\"\")\n@p(\"\\u{1}\\0\\0H\\u{7f}\")\npermit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"3b0cae408ac4ec7cf82e19f801891541c54f8e44":{"name":"3b0cae408ac4ec7cf82e19f801891541c54f8e44","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A0":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[{},{},{},{}]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A0":[]},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"54d561c25c3da949ee5e512f2ccd85af57ba9502":{"name":"54d561c25c3da949ee5e512f2ccd85af57ba9502","schema_json":{"Gxxxxx100":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Gxxxxx100::Action::\"action\",Gxxxxx100::Action::\"action\",Gxxxxx100::Action::\"action\"],\n resource in Gxxxxx100::a::\";\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxxxxx100::a","id":";"},"attrs":{},"parents":[]},{"uid":{"type":"Gxxxxx100::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxxx100::a","id":";"},"resource":{"type":"Gxxxxx100::a","id":";"},"action":{"type":"Gxxxxx100::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d86e4a3e117b0768333fa1cfb9511ef928b61e45":{"name":"d86e4a3e117b0768333fa1cfb9511ef928b61e45","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource in a::\"\\u{2}1\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"˴"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"94d1ab0699264fbb5eafc162905fb5200072fe87":{"name":"94d1ab0699264fbb5eafc162905fb5200072fe87","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"z\",\n action in [Action::\"action\"],\n resource == a::\"z\"\n) when {\n (true && (!((Ahhmm::\"\".contains(a::\"z\")).contains(principal)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"z"},"resource":{"type":"a","id":"z"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"d360682a39bf8b9563147f3e620f51b03a765bd6":{"name":"d360682a39bf8b9563147f3e620f51b03a765bd6","schema_json":{"wttt":{"commonTypes":{},"entityTypes":{"Bmii5h":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"RLjj0":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Bmii5h"],"principalTypes":["RLjj0"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"wttt::Bmii5h","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"wttt::RLjj0","id":""},"attrs":{},"parents":[]},{"uid":{"type":"wttt::Bmii5h","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"wttt::RLjj0","id":""},"resource":{"type":"wttt::Bmii5h","id":"\u0000"},"action":{"type":"wttt::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ceb5a1ff1b0982afc158333c77c32248f432b958":{"name":"ceb5a1ff1b0982afc158333c77c32248f432b958","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"\"\n) when {\n true && (!principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"af02ff4c4f1361b328a242db69959e408a494694":{"name":"af02ff4c4f1361b328a242db69959e408a494694","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Bstvnnnmmustun_":{"type":"String","required":false},"C00000000000000":{"type":"String","required":false},"xmmXuscmstv":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"C00000000000000":"","Bstvnnnmmustun_":"","xmmXuscmstv":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7c942a6198f4194ccc81cf6be143dd118bc2fd29":{"name":"7c942a6198f4194ccc81cf6be143dd118bc2fd29","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false},"Qxxx0":{"type":"String","required":false},"wrEajYqq":{"type":"String","required":false},"ylmkelbYdlwl5":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"Qxxx0":"","wrEajYqq":"","E":"","ylmkelbYdlwl5":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"2f5bd936f79ec4730edf3ff478298079d0f1c774":{"name":"2f5bd936f79ec4730edf3ff478298079d0f1c774","schema_json":{"C22":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"C22::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"C22::a","id":"\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"C22::a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":"\u0000\u0000"},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"C22::a","id":"\u0000\u0000"},"resource":{"type":"C22::a","id":"\u0000\u0000"},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"C22::a","id":""},"resource":{"type":"C22::a","id":""},"action":{"type":"C22::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c58bd14e00106a71304c6235f5086baf3967b3c0":{"name":"c58bd14e00106a71304c6235f5086baf3967b3c0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{10}0\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\\u{10}0\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00100"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00100"},"resource":{"type":"a","id":"\u00100"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"c1884023c6fee7b6a8d8b93dd10119065e46edfd":{"name":"c1884023c6fee7b6a8d8b93dd10119065e46edfd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\u{15}&\",\n action == Action::\"action\",\n resource\n) when {\n ((true && (!(!(!Action::\"action\")))) && [(false == true) == principal, principal, principal, principal, principal, principal, principal]) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0015&"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0015&"},"resource":{"type":"a","id":"\u0015&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0e16a8756b45ab3f6d4b50050ef4e20452dcf49f":{"name":"0e16a8756b45ab3f6d4b50050ef4e20452dcf49f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false},"ukkko00Wjjjjj":{"type":"Record","attributes":{},"additionalAttributes":false,"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"r":{},"ukkko00Wjjjjj":{}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d805f68cb4896eb79d0581c2d210692d1f2a3b2a":{"name":"d805f68cb4896eb79d0581c2d210692d1f2a3b2a","schema_json":{"A3":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == A3::a::\"\",\n action in [A3::Action::\"\"],\n resource in A3::a::\"\"\n) when {\n (true && (if (principal has \"\") then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A3::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A3::a","id":""},"resource":{"type":"A3::a","id":""},"action":{"type":"A3::Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"5fd8bf1ea231406e6a57dfbf898c91e5887b9e2a":{"name":"5fd8bf1ea231406e6a57dfbf898c91e5887b9e2a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"022a72e766e49cbee2a3142b67d97e199dcec2ce":{"name":"022a72e766e49cbee2a3142b67d97e199dcec2ce","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{"F":[[false,false,false,false,false,false],[false,false],[false,false],[],[],[]]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c46bb5bece5ee9a65e9cf7f2095446fc2b37677e":{"name":"c46bb5bece5ee9a65e9cf7f2095446fc2b37677e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource in a::\"\"\n) when {\n true && {}\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"rzjjj"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"f1218de44cefa25cec4475be3b7b4e3a8226fb37":{"name":"f1218de44cefa25cec4475be3b7b4e3a8226fb37","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action,\n resource in a::\"\"\n) when {\n (true && x::\"0\") && (!(!(!Eonp0::\"\")))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"054ed0f7d7a47846d5c8d26f0a33e25d33c14b64":{"name":"054ed0f7d7a47846d5c8d26f0a33e25d33c14b64","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"588a7f8910cea29398561f2d32e50317cdd7cfb5":{"name":"588a7f8910cea29398561f2d32e50317cdd7cfb5","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A"],"principalTypes":["A"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal in A::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":"\u0000\u0000\u0000\u0000\u0003\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"365807e196ad66c1db5196b3a30992ada55b6d22":{"name":"365807e196ad66c1db5196b3a30992ada55b6d22","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bc1eb67eb0bd87437d450690c1cb44032123b3dd":{"name":"bc1eb67eb0bd87437d450690c1cb44032123b3dd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && action) && action\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"cc4b17e6930e959806dc8dfd9a31c36831009e86":{"name":"cc4b17e6930e959806dc8dfd9a31c36831009e86","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"l/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"l/"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"l/"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000CCC\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"a2ab8e58a33c17557a7a5ca81a40528b91f12127":{"name":"a2ab8e58a33c17557a7a5ca81a40528b91f12127","schema_json":{"":{"commonTypes":{},"entityTypes":{"LfhhhhKx":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"\t":{"appliesTo":{"resourceTypes":["LfhhhhKx"],"principalTypes":["LfhhhhKx"],"context":{"type":"Record","attributes":{"ukkkJ002J002kk000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"LfhhhhKx","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"LfhhhhKx","id":""},"resource":{"type":"LfhhhhKx","id":""},"action":{"type":"Action","id":"\t"},"context":{"ukkkJ002J002kk000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d3d751f8974775fad771c94efabf90348ff5c0c8":{"name":"d3d751f8974775fad771c94efabf90348ff5c0c8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"RR\\0\\0\",\n action == Action::\"action\",\n resource == a::\"RR\\0\\0\"\n) when {\n (true && (((\"\" has \"\") == (if principal then principal else principal)) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"RR\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"RR\u0000\u0000"},"resource":{"type":"a","id":"RR\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"356c33ba490261b421556236cbdf3c8a78b02709":{"name":"356c33ba490261b421556236cbdf3c8a78b02709","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"󅅈"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n'\u0006"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\n'\u0006"},"resource":{"type":"a","id":"\n'\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"06d021d379ba0cc92ffbb243a9024b20a9dac326":{"name":"06d021d379ba0cc92ffbb243a9024b20a9dac326","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (Action::\"action\" in context)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"?"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6e49c3e38920168a198b70b6d04c853866146440":{"name":"6e49c3e38920168a198b70b6d04c853866146440","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource == a::\"\"\n) when {\n ((true && ((principal <= Action::\"action\") == (principal <= principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"021d24aa9ce1072ccc65dddfcd8b1a7e375787a6":{"name":"021d24aa9ce1072ccc65dddfcd8b1a7e375787a6","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (false.contains(context))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ebde68fb4f2bfaa027510c8ff74d6c727432f550":{"name":"ebde68fb4f2bfaa027510c8ff74d6c727432f550","schema_json":{"KChfhh":{"commonTypes":{},"entityTypes":{"KhkkkkkkBhhhXghhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["KhkkkkkkBhhhXghhh"],"principalTypes":["KhkkkkkkBhhhXghhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"resource":{"type":"KChfhh::KhkkkkkkBhhhXghhh","id":""},"action":{"type":"KChfhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"06f152a71ffade6c368d2ac46d9eb3782373911d":{"name":"06f152a71ffade6c368d2ac46d9eb3782373911d","schema_json":{"cd::v":{"commonTypes":{},"entityTypes":{"K":{"memberOfTypes":["Qx","QC"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Qx":{"memberOfTypes":["v"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"QC":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"v":{"memberOfTypes":["QC"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["K","v"],"principalTypes":["K","Qx","v","QC"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cd::v::Qx","id":""},"attrs":{},"parents":[{"type":"cd::v::QC","id":""},{"type":"cd::v::v","id":""}]},{"uid":{"type":"cd::v::K","id":""},"attrs":{},"parents":[{"type":"cd::v::Qx","id":""},{"type":"cd::v::QC","id":""},{"type":"cd::v::v","id":""}]},{"uid":{"type":"cd::v::QC","id":""},"attrs":{},"parents":[]},{"uid":{"type":"cd::v::v","id":""},"attrs":{},"parents":[{"type":"cd::v::QC","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cd::v::K","id":""},"resource":{"type":"cd::v::K","id":""},"action":{"type":"cd::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"60651d7140cea972984d740f037e2ff585b033f7":{"name":"60651d7140cea972984d740f037e2ff585b033f7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\"],\n resource in a::\"60\"\n) when {\n true && (!(true in (principal + principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"390204acdefac94867af9dd006a51a4773709753":{"name":"390204acdefac94867af9dd006a51a4773709753","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"0350\\u{8}\\0\\0\",\n action == Action::\"action\",\n resource in a::\"\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"05626f78ef331236ebc0b35ddddd77765e90c719":{"name":"05626f78ef331236ebc0b35ddddd77765e90c719","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true && (-(principal <= (false == principal)))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":q"},"resource":{"type":"a","id":":q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"c4af8d81aaa78ecbd1a7548fb809518d851d4153":{"name":"c4af8d81aaa78ecbd1a7548fb809518d851d4153","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwFHLDww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwFHLDww"],"principalTypes":["FwFHLDww"],"context":{"type":"Record","attributes":{"DlodYqrcpw":{"type":"Record","attributes":{"j":{"type":"String","required":false}},"additionalAttributes":false,"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwFHLDww","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwFHLDww","id":""},"resource":{"type":"FwFHLDww","id":""},"action":{"type":"Action","id":"action"},"context":{"DlodYqrcpw":{"j":""}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"a1ea88b1403530e6065abbeb59bbe1b3ca879fcf":{"name":"a1ea88b1403530e6065abbeb59bbe1b3ca879fcf","schema_json":{"":{"commonTypes":{},"entityTypes":{"VhhhhhhkkkkkkkkDk":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["VhhhhhhkkkkkkkkDk"],"principalTypes":["VhhhhhhkkkkkkkkDk"],"context":{"type":"Record","attributes":{"A":{"type":"String","required":false},"u":{"type":"Long","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"VhhhhhhkkkkkkkkDk","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"VhhhhhhkkkkkkkkDk","id":""},"resource":{"type":"VhhhhhhkkkkkkkkDk","id":""},"action":{"type":"Action","id":"action"},"context":{"A":"","u":0},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e4f01b42bb1f1e0433944ec6fec137eec4826d27":{"name":"e4f01b42bb1f1e0433944ec6fec137eec4826d27","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9ea64672e3bdac32c20bff3b3a0bfa8da2d9e8ba":{"name":"9ea64672e3bdac32c20bff3b3a0bfa8da2d9e8ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"resource":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"resource":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"170466057a2b0d393044c1cb000aea4a624cb320":{"name":"170466057a2b0d393044c1cb000aea4a624cb320","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource in a::\"\"\n) when {\n true && (principal like \"\\0\\0\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"fb15bae9c1989b7521bb52f5c61f7e3bc9eef686":{"name":"fb15bae9c1989b7521bb52f5c61f7e3bc9eef686","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"mzzzz655R55Fz":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"A":false,"mzzzz655R55Fz":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"eb94687cfe8e7a96150ffd9eb9601dc1eda7c66e":{"name":"eb94687cfe8e7a96150ffd9eb9601dc1eda7c66e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n true && a::\"ff\\0\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ff\u0000"},"resource":{"type":"a","id":"ff\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"ad12605abdad67cc856398795a680266f794494f":{"name":"ad12605abdad67cc856398795a680266f794494f","schema_json":{"Gxt833777":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in Gxt833777::a::\"\",\n action in [Gxt833777::Action::\"action\"],\n resource in Gxt833777::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxt833777::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxt833777::a","id":""},"resource":{"type":"Gxt833777::a","id":""},"action":{"type":"Gxt833777::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"f8a2d5d79f2b1f3dc2eacb01d5716b50e3fed11a":{"name":"f8a2d5d79f2b1f3dc2eacb01d5716b50e3fed11a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (((8907498.isInRange(principal)) == principal) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e755e45783716ddd668030b3bbcd09ab314184cf":{"name":"e755e45783716ddd668030b3bbcd09ab314184cf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"mzzzz655R5500":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"mzzzz655R5500":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"94c7107a5e0ad11e0193f726ad3ba85db64beac0":{"name":"94c7107a5e0ad11e0193f726ad3ba85db64beac0","schema_json":{"Khhkkhk":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in Khhkkhk::a::\"\\r\",\n action in [Khhkkhk::Action::\"action\",Khhkkhk::Action::\"action\",Khhkkhk::Action::\"action\"],\n resource == Khhkkhk::a::\"\\r\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khhkkhk::a","id":"\r"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhkkhk::a","id":"."},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhkkhk::a","id":"\r"},"resource":{"type":"Khhkkhk::a","id":"\r"},"action":{"type":"Khhkkhk::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d84a7265aa02ddd517afbe801504d45528c6473b":{"name":"d84a7265aa02ddd517afbe801504d45528c6473b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"zQYgop2":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"\u0002":{"appliesTo":null,"memberOf":null},"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"C2x":{"type":"Boolean","required":false}},"additionalAttributes":false}},"memberOf":null},"c":{"appliesTo":{"resourceTypes":[],"principalTypes":[],"context":{"type":"Record","attributes":{"A0000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"zQYgop2":false},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":"\u0002"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4ae3a45bcbd02ed275d6a4f9a1a7e3e59ad7b84f":{"name":"4ae3a45bcbd02ed275d6a4f9a1a7e3e59ad7b84f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{1}\\0\\0Lff\\u{10}\\u{18}\",\n action == Action::\"action\",\n resource == a::\"\\u{1}\\0\\0Lff\\u{10}\\u{18}\"\n) when {\n (true && (((a::\"\\u{1}\\0\\0Lff\\u{10}\\u{18}\" == principal) == principal) == principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"resource":{"type":"a","id":"\u0001\u0000\u0000Lff\u0010\u0018"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0c0777cdd6151d7e1f444ff3ac045d45e99de86f":{"name":"0c0777cdd6151d7e1f444ff3ac045d45e99de86f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource\n) when {\n true && (a::\"\" like \"\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"64ce02bf4082650dccc079322f436d4b6331fe88":{"name":"64ce02bf4082650dccc079322f436d4b6331fe88","schema_json":{"r0":{"commonTypes":{},"entityTypes":{"l":{"memberOfTypes":["FyUw"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"FyUw":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FyUw"],"principalTypes":["l","FyUw"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r0::l","id":""},"attrs":{},"parents":[{"type":"r0::FyUw","id":""},{"type":"r0::FyUw","id":"j"},{"type":"r0::FyUw","id":":"}]},{"uid":{"type":"r0::FyUw","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"r0::l","id":"::"},"attrs":{},"parents":[{"type":"r0::FyUw","id":":"},{"type":"r0::FyUw","id":"j"},{"type":"r0::FyUw","id":""}]},{"uid":{"type":"r0::l","id":":"},"attrs":{},"parents":[{"type":"r0::FyUw","id":""},{"type":"r0::FyUw","id":"j"},{"type":"r0::FyUw","id":":"}]},{"uid":{"type":"r0::FyUw","id":"j"},"attrs":{},"parents":[]},{"uid":{"type":"r0::FyUw","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r0::l","id":"::"},"resource":{"type":"r0::FyUw","id":""},"action":{"type":"r0::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1744b70eb7f065316e50f3a750afbbf6e9c242ee":{"name":"1744b70eb7f065316e50f3a750afbbf6e9c242ee","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"00\",\n action == Action::\"action\",\n resource == a::\"00\"\n) when {\n ((true && (!principal)) && ((!principal) + principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a6f0ab11593571ef6c4ac31dff8bb1e6919548c7":{"name":"a6f0ab11593571ef6c4ac31dff8bb1e6919548c7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":";"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":";"},"resource":{"type":"a","id":";"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b4a367629c47a7bf4856cf0658f53e8ef6bd4012":{"name":"b4a367629c47a7bf4856cf0658f53e8ef6bd4012","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Entity","name":"a","required":true},"C3vv7":{"type":"String","required":false},"wx":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"zzzzz"},"attrs":{"A":{"__entity":{"id":"zzzzz","type":"a"}},"C3vv7":"","wx":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzzzz"},"resource":{"type":"a","id":"zzzzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3bed68b4af7ad00f858003e793a209c2755563e6":{"name":"3bed68b4af7ad00f858003e793a209c2755563e6","schema_json":{"Kxx0xnx":{"commonTypes":{},"entityTypes":{"LYY":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Qm0":{"memberOfTypes":["LYY"],"shape":{"type":"Record","attributes":{"pdml":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Qm0","LYY"],"principalTypes":["Qm0","LYY"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kxx0xnx::LYY","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kxx0xnx::Qm0","id":""},"attrs":{"pdml":false},"parents":[{"type":"Kxx0xnx::LYY","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kxx0xnx::Qm0","id":""},"resource":{"type":"Kxx0xnx::Qm0","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"337815d620753bfc48df590b1e7e157ffd86932b":{"name":"337815d620753bfc48df590b1e7e157ffd86932b","schema_json":{"r::n::r::r::r::r::r::r::r::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"resource":{"type":"r::n::r::r::r::r::r::r::r::r::a","id":""},"action":{"type":"r::n::r::r::r::r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b459c25a7f3d95ad0453a77d9b202e6200d675d8":{"name":"b459c25a7f3d95ad0453a77d9b202e6200d675d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@n(\"\")\n@r(\"\")\n@v(\"\")\n@w(\"\")\n@y(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7af6dce0ed8937af4f3341e8d78ebb9de967563b":{"name":"7af6dce0ed8937af4f3341e8d78ebb9de967563b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"&\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"&"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"&"},"resource":{"type":"a","id":"&"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"92fcaf60cd9ab6f3fd571755cb2c619d601bc8a1":{"name":"92fcaf60cd9ab6f3fd571755cb2c619d601bc8a1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n (false && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"resource":{"type":"a","id":"\u0000\u0000FFFFFFFI"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"6b4764209b7d9aa251bf79f721ac35c9cbbd3eae":{"name":"6b4764209b7d9aa251bf79f721ac35c9cbbd3eae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002c"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002c"},"resource":{"type":"a","id":"\u0002c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c6a7fb3b8b37d643ee901083e797a4b99fad0724":{"name":"c6a7fb3b8b37d643ee901083e797a4b99fad0724","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\t\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"65790b525026bfd4dfe73b0657fa6c0347dd74a1":{"name":"65790b525026bfd4dfe73b0657fa6c0347dd74a1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\n@rY3ddddd00000000(\"\")\n@x(\"fff\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"f:"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"f:"},"resource":{"type":"a","id":"f:"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3da7d9c089f2d548fbe1dc274b9ea5a81a1bd482":{"name":"3da7d9c089f2d548fbe1dc274b9ea5a81a1bd482","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":false},"parents":[]},{"uid":{"type":"a","id":"::::"},"attrs":{"F":false},"parents":[]},{"uid":{"type":"a","id":">:::::"},"attrs":{"F":false},"parents":[]},{"uid":{"type":"a","id":"::\n:::"},"attrs":{"F":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":">:::::"},"resource":{"type":"a","id":">:::::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3304305f34656526ad76d538ca92a30f8dd7f787":{"name":"3304305f34656526ad76d538ca92a30f8dd7f787","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && (principal == A000000000000000::\"\")) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"652a5bef11cc63fab1662853de28b7c1a3e9c1b1":{"name":"652a5bef11cc63fab1662853de28b7c1a3e9c1b1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"`\\0\\0\\u{7f}\\u{1}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"`\u0000\u0000\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"`\u0000\u0000\u0001"},"resource":{"type":"a","id":"`\u0000\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"f277b9b99c1468e78466752bf5cd17b68bd2c94e":{"name":"f277b9b99c1468e78466752bf5cd17b68bd2c94e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action in [],\n resource == a::\"00\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"689dc32722e37c0a57f23149549981d951f5ea29":{"name":"689dc32722e37c0a57f23149549981d951f5ea29","schema_json":{"":{"commonTypes":{},"entityTypes":{"m":{"memberOfTypes":["F","F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F":{"memberOfTypes":["F333"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"F333":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["m","F","F333"],"principalTypes":["m","F","F333"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"m","id":""},"attrs":{},"parents":[{"type":"F","id":""},{"type":"F333","id":""}]},{"uid":{"type":"m","id":":::"},"attrs":{},"parents":[{"type":"F","id":""},{"type":"F333","id":""}]},{"uid":{"type":"F333","id":""},"attrs":{},"parents":[]},{"uid":{"type":"F","id":""},"attrs":{},"parents":[{"type":"F333","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"m","id":":::"},"resource":{"type":"m","id":":::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"0302fe2400dc489f2e65e374b47c55ca6bce99b7":{"name":"0302fe2400dc489f2e65e374b47c55ca6bce99b7","schema_json":{"Gxtxxxxxj":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == Gxtxxxxxj::a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"Gxtxxxxxj::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxtxxxxxj::a","id":""},"resource":{"type":"Gxtxxxxxj::a","id":""},"action":{"type":"Gxtxxxxxj::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"b0c3e7c0d07b08c6b94c5330ee508aa02b976d79":{"name":"b0c3e7c0d07b08c6b94c5330ee508aa02b976d79","schema_json":{"":{"commonTypes":{},"entityTypes":{"r33":{"memberOfTypes":["r","_"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"_":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["_"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r33","r","_"],"principalTypes":["r33","r","_"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r33","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"_","id":""}]},{"uid":{"type":"_","id":""},"attrs":{},"parents":[]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[{"type":"_","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r33","id":""},"resource":{"type":"r33","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"046c5a37b575d3dbabeaae9997b2f94c42061491":{"name":"046c5a37b575d3dbabeaae9997b2f94c42061491","schema_json":{"A::D":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in A::D::a::\"\",\n action in [A::D::Action::\"action\",A::D::Action::\"action\",A::D::Action::\"action\"],\n resource\n) when {\n (true && (!A::D::Action::\"action\")) && (principal && principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"A::D::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"A::D::a","id":""},"resource":{"type":"A::D::a","id":""},"action":{"type":"A::D::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"acb3ed70ecdb5f18671b256d118caacb1cf1244c":{"name":"acb3ed70ecdb5f18671b256d118caacb1cf1244c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\00\",\n action in [Action::\"action\"],\n resource == a::\"\\00\"\n) when {\n true && (!context)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00000"},"resource":{"type":"a","id":"\u00000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"2fac6819d3964bdcc8380be582566d314be29903":{"name":"2fac6819d3964bdcc8380be582566d314be29903","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0003"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006"},"resource":{"type":"a","id":"\u0006\u0006"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"4de777c4c35da461f76ed7df317c337149dce7cf":{"name":"4de777c4c35da461f76ed7df317c337149dce7cf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\\0\\0\\0+\\0\",\n action == Action::\"action\",\n resource in a::\"\\0\\0\\0\\0+\\0\"\n) when {\n ((true && (([Action::\"action\"] like \"\") == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000+\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6f45f0b3fe354bafdcc5e920c4331321fa57780d":{"name":"6f45f0b3fe354bafdcc5e920c4331321fa57780d","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9d64c8d70fd82c5552208d45ae72c69f11f598d8":{"name":"9d64c8d70fd82c5552208d45ae72c69f11f598d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwwSw7":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["FwwSw7"],"principalTypes":["FwwSw7"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwwSw7","id":"/f"},"attrs":{},"parents":[]},{"uid":{"type":"FwwSw7","id":""},"attrs":{},"parents":[]},{"uid":{"type":"FwwSw7","id":":::b::"},"attrs":{},"parents":[]},{"uid":{"type":"FwwSw7","id":":com"},"attrs":{},"parents":[]},{"uid":{"type":"FwwSw7","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwwSw7","id":":::b::"},"resource":{"type":"FwwSw7","id":":::b::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"638c0271cd069748ed419e5ab693efec6f5f4a01":{"name":"638c0271cd069748ed419e5ab693efec6f5f4a01","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{6}\\u{7f}\\u{1}\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0001"},"resource":{"type":"a","id":"\u0006\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"ac7972afc0145471ebb54468d69e5ee27e3d8542":{"name":"ac7972afc0145471ebb54468d69e5ee27e3d8542","schema_json":{"":{"commonTypes":{},"entityTypes":{"Vhhhhhhkkkkkkkkki":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","Vhhhhhhkkkkkkkkki"],"principalTypes":["Vhhhhhhkkkkkkkkki"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Vhhhhhhkkkkkkkkki","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Vhhhhhhkkkkkkkkki","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"51038eccb32802ba26926de91c3c01098fb1f5e7":{"name":"51038eccb32802ba26926de91c3c01098fb1f5e7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource in a::\"\\u{2}1\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"f874395b1712892f51078b30ab8509f92e151ac9":{"name":"f874395b1712892f51078b30ab8509f92e151ac9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":false},"C":{"type":"Boolean","required":false},"o":{"type":"Boolean","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"o":false,"A":false,"C":false},"parents":[]},{"uid":{"type":"a","id":"ny"},"attrs":{"A":false,"o":false,"C":false},"parents":[]},{"uid":{"type":"a","id":"/F"},"attrs":{"A":false,"C":false,"o":false},"parents":[]},{"uid":{"type":"a","id":"daf"},"attrs":{"o":false,"C":false,"A":false},"parents":[]},{"uid":{"type":"a","id":"P`"},"attrs":{"C":false,"A":false,"o":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"P`"},"resource":{"type":"a","id":"P`"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f26f21041f1571b342799b4ecc81b7f874cfe2f1":{"name":"f26f21041f1571b342799b4ecc81b7f874cfe2f1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"....":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Ukl0200000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null},"":{"appliesTo":null,"memberOf":null},")":{"appliesTo":null,"memberOf":null},"J":{"appliesTo":null,"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"...."},"context":{"Ukl0200000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"84f41f5ea0f77e2b817e38052fd58b2593c09f9f":{"name":"84f41f5ea0f77e2b817e38052fd58b2593c09f9f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n ((true && [(a::\"\" < a::\"\") * 0, principal, principal, principal, principal, principal, principal]) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"b26b72b174aded01b6b866bbeb34751b7297733b":{"name":"b26b72b174aded01b6b866bbeb34751b7297733b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && action) && a::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"16124eb0d0d15e8d7322eaaa3eff361b4dbe506a":{"name":"16124eb0d0d15e8d7322eaaa3eff361b4dbe506a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Boolean","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && \"\") && (principal.isLoopback())\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":false},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"7d62dbe121e6b9f46e46c164b14c997bde13304b":{"name":"7d62dbe121e6b9f46e46c164b14c997bde13304b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n (true && (if (if (if principal then principal else principal) then principal else principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e31f633399d05fce053acfac28313be326a1cc33":{"name":"e31f633399d05fce053acfac28313be326a1cc33","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action == Action::\"action\",\n resource in a::\"\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"e929316ac78f1b94eb94eaf5f265ebff767daa5f":{"name":"e929316ac78f1b94eb94eaf5f265ebff767daa5f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"G":{"type":"Entity","name":"a","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":::com/:::::::::\u0000:"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":::com/:::::::::\u0000:"},"resource":{"type":"a","id":":::com/:::::::::\u0000:"},"action":{"type":"Action","id":"action"},"context":{"G":{"__entity":{"id":":::com/:::::::::\u0000:","type":"a"}}},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9261206b02b916d38f5e063947e24c57363a865b":{"name":"9261206b02b916d38f5e063947e24c57363a865b","schema_json":{"K::n::p::r::r::r::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"K::n::p::r::r::r::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"K::n::p::r::r::r::r::a","id":""},"resource":{"type":"K::n::p::r::r::r::r::a","id":""},"action":{"type":"K::n::p::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"71c8f2589f53af052906ae69136a7479ba446ec1":{"name":"71c8f2589f53af052906ae69136a7479ba446ec1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"07df51dc66ab2eaaa92c7afafc54bdf533d386a2":{"name":"07df51dc66ab2eaaa92c7afafc54bdf533d386a2","schema_json":{"A":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == A::a::\"\\0\",\n action in [A::Action::\"action\",A::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"A::a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"A::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A::a","id":"\u0000"},"resource":{"type":"A::a","id":"\u0000"},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"A::a","id":""},"resource":{"type":"A::a","id":""},"action":{"type":"A::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"1ecbef5a05ccc64ef430dc86f6dc9a6254170eaf":{"name":"1ecbef5a05ccc64ef430dc86f6dc9a6254170eaf","schema_json":{"":{"commonTypes":{},"entityTypes":{"A":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"RRRRRRRVRR":{"appliesTo":{"resourceTypes":["A","r"],"principalTypes":["A","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"A","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"A","id":""},"resource":{"type":"A","id":""},"action":{"type":"Action","id":"RRRRRRRVRR"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6c3775c309f54696e29118db9d532a48f35f79ae":{"name":"6c3775c309f54696e29118db9d532a48f35f79ae","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"u":{"type":"String","required":true},"vdYZhC0h":{"type":"String","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"av"},"attrs":{"u":"","vdYZhC0h":""},"parents":[]},{"uid":{"type":"a","id":"\u0001\u0000j"},"attrs":{"vdYZhC0h":"","u":""},"parents":[]},{"uid":{"type":"a","id":"j\u0000"},"attrs":{"u":"","vdYZhC0h":""},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"u":"","vdYZhC0h":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000"},"resource":{"type":"a","id":"j\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"5ee70d8b04c1d3e79596b827b8e74a3313c202af":{"name":"5ee70d8b04c1d3e79596b827b8e74a3313c202af","schema_json":{"U::Gxxxx0033":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"U::Gxxxx0033::a","id":";\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"U::Gxxxx0033::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bab94d26d2fcf63c2c0bf4c0b1d783f53ea4e52f":{"name":"bab94d26d2fcf63c2c0bf4c0b1d783f53ea4e52f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"\"],\n resource == a::\"\"\n) when {\n true && Action::\"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000(\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000(\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000(\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"6054dabdf25d37e442d77c727145271fb9edeae3":{"name":"6054dabdf25d37e442d77c727145271fb9edeae3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"ffffff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0003\u0000ff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffffff"},"resource":{"type":"a","id":"ffffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"81e612257aa8b074982ab4cdd68dd44f94c71a7f":{"name":"81e612257aa8b074982ab4cdd68dd44f94c71a7f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"s\\0\\0\\0\",\n action in [],\n resource in a::\"s\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"s\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"s\u0000\u0000\u0000"},"resource":{"type":"a","id":"s\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f0d1dd1ab53ca29e9659a020a649f96cdf3c4818":{"name":"f0d1dd1ab53ca29e9659a020a649f96cdf3c4818","schema_json":{"":{"commonTypes":{},"entityTypes":{"k":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"n":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["k","n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","k","n","r"],"principalTypes":["G","k","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"k","id":""},{"type":"n","id":""},{"type":"r","id":""}]},{"uid":{"type":"k","id":""},"attrs":{},"parents":[{"type":"n","id":""},{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9187dae0065e5a38cf03ed93e366f8e7de0f9393":{"name":"9187dae0065e5a38cf03ed93e366f8e7de0f9393","schema_json":{"":{"commonTypes":{},"entityTypes":{"Khhhhhf":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Khhhhhf"],"principalTypes":["Khhhhhf"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in Khhhhhf::\"$\"\n) when {\n false && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"Khhhhhf","id":"$"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"Khhhhhf","id":"$"},"resource":{"type":"Khhhhhf","id":"$"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4d87471123d5d2fcc845ad62f0a378747d1a8a3b":{"name":"4d87471123d5d2fcc845ad62f0a378747d1a8a3b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action in [Action::\"action\"],\n resource == a::\"\\u{2}1\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"'"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"08efa6486228632965012d5656e4af0bbd08b4fa":{"name":"08efa6486228632965012d5656e4af0bbd08b4fa","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0005X!"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0005X!"},"resource":{"type":"a","id":"\u0005X!"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e49482b861320f86dfe48c43eb2076af102273ad":{"name":"e49482b861320f86dfe48c43eb2076af102273ad","schema_json":{"W0N00::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in W0N00::v::a::\"\",\n action,\n resource in W0N00::v::a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"W0N00::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"W0N00::v::a","id":""},"resource":{"type":"W0N00::v::a","id":""},"action":{"type":"W0N00::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"39ebe7f7f0cf48c209b352eb056595af84119c3a":{"name":"39ebe7f7f0cf48c209b352eb056595af84119c3a","schema_json":{"Gxxxxxkjj":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gxxxxxkjj::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gxxxxxkjj::a","id":""},"resource":{"type":"Gxxxxxkjj::a","id":""},"action":{"type":"Gxxxxxkjj::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"42e29f7ee3baccbd111596405523cd365fd7a332":{"name":"42e29f7ee3baccbd111596405523cd365fd7a332","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u0006\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u0006\u0000"},"resource":{"type":"a","id":"\u0006\u0006\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"bd4aea79dc2fd325bef3fa0df4b811a6f746ef34":{"name":"bd4aea79dc2fd325bef3fa0df4b811a6f746ef34","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"WjjX":{"type":"Set","element":{"type":"Long"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"r0П)0"},"attrs":{"WjjX":[8588196755608449204,151,0,0,0,0,0]},"parents":[]},{"uid":{"type":"a","id":"66"},"attrs":{"WjjX":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"r0П)0"},"resource":{"type":"a","id":"r0П)0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3bb34a1db124f10d7f5cc0a12156f7d4de1545ab":{"name":"3bb34a1db124f10d7f5cc0a12156f7d4de1545ab","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"j\",\n action in [Action::\"action\"],\n resource in a::\"j\"\n) when {\n true && context\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"j"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"j"},"resource":{"type":"a","id":"j"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e5e6199a3ae1e1ac97512ce3fa10eec795b71302":{"name":"e5e6199a3ae1e1ac97512ce3fa10eec795b71302","schema_json":{"W::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == W::v::a::\"\",\n action in [W::v::Action::\"action\"],\n resource == W::v::a::\"\"\n) when {\n ((true && ((if (principal has \"\") then principal else principal) == principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"W::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"W::v::a","id":""},"resource":{"type":"W::v::a","id":""},"action":{"type":"W::v::Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a77b6b9fe492bdd0c3e41e011921a5960d92bd06":{"name":"a77b6b9fe492bdd0c3e41e011921a5960d92bd06","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"200\",\n action == Action::\"action\",\n resource == a::\"200\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"200"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"200"},"resource":{"type":"a","id":"200"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"778c0d33302970609091b9cbf36e8f5983e9ed57":{"name":"778c0d33302970609091b9cbf36e8f5983e9ed57","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource in a::\"j\\0\\0\\\"\\0\"\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"j\u0000\u0000\"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j\u0000\u0000\"\u0000"},"resource":{"type":"a","id":"j\u0000\u0000\"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"faa2a6fa10c7e7030f995f2bc077e6ccecbeee4f":{"name":"faa2a6fa10c7e7030f995f2bc077e6ccecbeee4f","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ff23be3f809396eeaf59bfb08c9a9f4b034b8fd7":{"name":"ff23be3f809396eeaf59bfb08c9a9f4b034b8fd7","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Boolean"},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Fw(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"F":[true]},"parents":[]},{"uid":{"type":"a","id":"::::::\u0002"},"attrs":{"F":[true]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::::::\u0002"},"resource":{"type":"a","id":"::::::\u0002"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"16c049e91f396ebf938fb47fd7f0432b4db1e2b0":{"name":"16c049e91f396ebf938fb47fd7f0432b4db1e2b0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\",\n action in [Action::\"action\"],\n resource == a::\"\\0\"\n) when {\n true && (Action::\"action\" <= principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bfa8dfbfa938aa71e4877cf59d50a66fa4bade4d":{"name":"bfa8dfbfa938aa71e4877cf59d50a66fa4bade4d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\n\u0005\u0005ت\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"99a86fcf921d0ab33f03b7f1e0f2d5c383cde36c":{"name":"99a86fcf921d0ab33f03b7f1e0f2d5c383cde36c","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n (true && 140737488421120) && 140737488421120\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"a\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"a\u0005\u0005"},"resource":{"type":"a","id":"a\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"0b9ca9afefa830d3be46d7e7cf1017e5b4ac3d08":{"name":"0b9ca9afefa830d3be46d7e7cf1017e5b4ac3d08","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Fwww0100":{"type":"String","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"Fwww0100":""},"parents":[]},{"uid":{"type":"a","id":"FFFFFF"},"attrs":{"Fwww0100":""},"parents":[]},{"uid":{"type":"a","id":"F"},"attrs":{"Fwww0100":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FFFFFF"},"resource":{"type":"a","id":"FFFFFF"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"745512c893ab675ebce92d613df4c15f820334fd":{"name":"745512c893ab675ebce92d613df4c15f820334fd","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action in [Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"785cb406a2478ad3cab821f05de51194d858110e":{"name":"785cb406a2478ad3cab821f05de51194d858110e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"60\",\n action in [Action::\"action\"],\n resource in a::\"60\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"60"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"91p"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"60"},"resource":{"type":"a","id":"60"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3a881612f6960c26ed5052ea9d78db86b326bb7b":{"name":"3a881612f6960c26ed5052ea9d78db86b326bb7b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"Js":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null},",$":{"appliesTo":{"resourceTypes":["a"],"principalTypes":null,"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"..\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"-"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":".."},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":".."},"resource":{"type":"a","id":".."},"action":{"type":"Action","id":"Js"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8049272e63b684cbd301222ad09ab1223599b534":{"name":"8049272e63b684cbd301222ad09ab1223599b534","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"DWQwQwWj":{"type":"String","required":false},"_wgwkCA0":{"type":"String","required":false},"dw":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DWQwQwWj":"","_wgwkCA0":"","dw":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"10df7c4afef4ace6a940adb20431810eb5925195":{"name":"10df7c4afef4ace6a940adb20431810eb5925195","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"1f4f3648c4747c20ca5a99a1859e68a8feac3c1a":{"name":"1f4f3648c4747c20ca5a99a1859e68a8feac3c1a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (true && (\"\" like \"\")) && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00022"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"879f4020c41510daceeb3111f98ec1393c2a4106":{"name":"879f4020c41510daceeb3111f98ec1393c2a4106","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f8eaa8981889c8d7b2e901659369586259411160":{"name":"f8eaa8981889c8d7b2e901659369586259411160","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource in a::\"7#\\0\\0\\0\\0\\0\\0\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"7#\u0000\u0000\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"60824929f43da456cf0bf9901cc6756667bb4741":{"name":"60824929f43da456cf0bf9901cc6756667bb4741","schema_json":{"":{"commonTypes":{},"entityTypes":{"FwEwwwww":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"ű::::::::":{"appliesTo":{"resourceTypes":["FwEwwwww"],"principalTypes":["FwEwwwww"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"FwEwwwww","id":""},"attrs":{},"parents":[]},{"uid":{"type":"FwEwwwww","id":"::"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"FwEwwwww","id":"::"},"resource":{"type":"FwEwwwww","id":"::"},"action":{"type":"Action","id":"ű::::::::"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"615247402d75283f835fbfa50d8f2fd08b230a18":{"name":"615247402d75283f835fbfa50d8f2fd08b230a18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"nRRw":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"00\",\n action in [],\n resource == a::\"\"\n) when {\n true && ([false, principal, principal] == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{"nRRw":""},"decision":"Deny","reasons":[],"errors":[]}]},"0366cff06b0efb65d458965ce9095ec86f759608":{"name":"0366cff06b0efb65d458965ce9095ec86f759608","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f8f11ba9c5793bb2f21903cf80dd7401b8a737c1":{"name":"f8f11ba9c5793bb2f21903cf80dd7401b8a737c1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"66\",\n action in [Action::\"action\"],\n resource in a::\"66\"\n) when {\n true && ((!(zoon::\"\" in principal)) == principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f5f7588b66978d1dd2254338fbb68ed6ee64a2f0":{"name":"f5f7588b66978d1dd2254338fbb68ed6ee64a2f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource == a::\"f\\0\"\n) when {\n (true && (!((a::\"f\\0\" like \"*\\0\") like \"\\0\"))) && ((!principal) like \"\\0\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"f\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"f\u0000"},"resource":{"type":"a","id":"f\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1122b4b025e0ef19724f6d8589d0786227300bb0":{"name":"1122b4b025e0ef19724f6d8589d0786227300bb0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\"\n) when {\n (true && (!\"\")) && (principal.containsAll(principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ec546c129260fbb2bea5debe948cb5cffe53e8d4":{"name":"ec546c129260fbb2bea5debe948cb5cffe53e8d4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [],\n resource\n) when {\n false && (!(!false))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"5e5c448e178db343b9ac195ae32a98c65ab61592":{"name":"5e5c448e178db343b9ac195ae32a98c65ab61592","schema_json":{"cP::v":{"commonTypes":{},"entityTypes":{"v":{"memberOfTypes":["a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Qx":{"memberOfTypes":["v","a"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["v","a"],"principalTypes":["Qx","v","a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"cP::v::v","id":""},"attrs":{},"parents":[{"type":"cP::v::a","id":""}]},{"uid":{"type":"cP::v::Qx","id":""},"attrs":{},"parents":[{"type":"cP::v::v","id":"z"},{"type":"cP::v::a","id":""},{"type":"cP::v::v","id":""}]},{"uid":{"type":"cP::v::v","id":"z"},"attrs":{},"parents":[{"type":"cP::v::a","id":""}]},{"uid":{"type":"cP::v::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"cP::v::Qx","id":""},"resource":{"type":"cP::v::v","id":""},"action":{"type":"cP::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"f300936215f36b4eebfa2e90b98af6e80a373f50":{"name":"f300936215f36b4eebfa2e90b98af6e80a373f50","schema_json":{"vkYlYeckc::mKlq":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"mz0000":{"type":"String","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"vkYlYeckc::mKlq::a","id":""},"attrs":{"mz0000":""},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"vkYlYeckc::mKlq::a","id":""},"resource":{"type":"vkYlYeckc::mKlq::a","id":""},"action":{"type":"vkYlYeckc::mKlq::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7d02ec581db89c9402aa5dc621dd9cab1c5c2aad":{"name":"7d02ec581db89c9402aa5dc621dd9cab1c5c2aad","schema_json":{"Kxx0xnx":{"commonTypes":{},"entityTypes":{"Qml":{"memberOfTypes":["LYY"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"Edml":{"memberOfTypes":["Qml","LYY"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"LYY":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Edml","Qml","LYY"],"principalTypes":["Edml","Qml","LYY"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Kxx0xnx::Edml","id":""},"attrs":{},"parents":[{"type":"Kxx0xnx::Qml","id":""},{"type":"Kxx0xnx::LYY","id":""}]},{"uid":{"type":"Kxx0xnx::LYY","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Kxx0xnx::Qml","id":""},"attrs":{},"parents":[{"type":"Kxx0xnx::LYY","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Kxx0xnx::Edml","id":""},"resource":{"type":"Kxx0xnx::Edml","id":""},"action":{"type":"Kxx0xnx::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"09a68b2aeb2e68c3e39d7ef30236da0ceb720de0":{"name":"09a68b2aeb2e68c3e39d7ef30236da0ceb720de0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"r":"\u0000a"},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d668bea882eaa5293763b6a7135c271ea4155505":{"name":"d668bea882eaa5293763b6a7135c271ea4155505","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (!false)) && false) && (!true)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"f37d8acf6fd77d5db9734a06b52181ee35788d8e":{"name":"f37d8acf6fd77d5db9734a06b52181ee35788d8e","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"n","id":":"},{"type":"r","id":""},{"type":"n","id":"\u001a:::"},{"type":"n","id":""}]},{"uid":{"type":"n","id":"\u001a:::"},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"n","id":":"},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ae1dfb197982f0811f33f0379c9a6353fd85edc3":{"name":"ae1dfb197982f0811f33f0379c9a6353fd85edc3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\0\\0\\0\\0:::::::::\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000:::::::::"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7826cd6fef262b30541dcf601bb6b829a6147542":{"name":"7826cd6fef262b30541dcf601bb6b829a6147542","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\0\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"82046ce1eaa9870071829c822ef11ec27470d5ba":{"name":"82046ce1eaa9870071829c822ef11ec27470d5ba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\"],\n resource == a::\"\\0\\0\"\n) when {\n false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"889a3dc86d3876f088f69277280cbad5283fd9d8":{"name":"889a3dc86d3876f088f69277280cbad5283fd9d8","schema_json":{"":{"commonTypes":{},"entityTypes":{"sWqs":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"vdYqrcpv":{"type":"Long","required":true},"vhYuu4W":{"type":"Long","required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["sWqs"],"principalTypes":["sWqs"],"context":{"type":"Record","attributes":{"wqk00000000000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"sWqs","id":""},"attrs":{"vhYuu4W":0,"vdYqrcpv":0},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"sWqs","id":""},"resource":{"type":"sWqs","id":""},"action":{"type":"Action","id":"action"},"context":{"wqk00000000000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"ca06a51555f15300dd186e65a89306449da750f0":{"name":"ca06a51555f15300dd186e65a89306449da750f0","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000jj#\b"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000jj#\b"},"resource":{"type":"a","id":"\u0000\u0000jj#\b"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7ea9e66f0f9e3cd6d923fadea94a4d79f28bc13b":{"name":"7ea9e66f0f9e3cd6d923fadea94a4d79f28bc13b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action == Action::\"action\",\n resource\n) when {\n true && [a::\"\\0\", [false, principal, principal, principal], principal, principal]\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"59d4496d037a943c75c566696badf47230b3f99a":{"name":"59d4496d037a943c75c566696badf47230b3f99a","schema_json":{"r::Fwwgww::r::FwgwwM_w::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"c38G0000000":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"resource":{"type":"r::Fwwgww::r::FwgwwM_w::r::a","id":""},"action":{"type":"r::Fwwgww::r::FwgwwM_w::r::Action","id":"action"},"context":{"c38G0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"3c4c1d09710a15a2e915c4be60ec4c9755322cf1":{"name":"3c4c1d09710a15a2e915c4be60ec4c9755322cf1","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action,\n resource in a::\"\"\n) when {\n true && (principal like \"\\0\\0\")\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"e2111cc0296021a6f030cdfb095950c06fae3f78":{"name":"e2111cc0296021a6f030cdfb095950c06fae3f78","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@C(\"\")\n@C00(\"\")\n@C22(\"\\u{2}\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"c"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"c"},"resource":{"type":"a","id":"c"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"68cb208b8f03e544f493056524148799476874dc":{"name":"68cb208b8f03e544f493056524148799476874dc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@A(\"\")\n@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"be3efdc8162eb23ea015be57b9d18094521b1551":{"name":"be3efdc8162eb23ea015be57b9d18094521b1551","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource == a::\"\"\n) when {\n (true && Action::\"action\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":"\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"56d4d9311bcdf16e69d505374f59e457440a8aa2":{"name":"56d4d9311bcdf16e69d505374f59e457440a8aa2","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\",\n action in [Action::\"\"],\n resource\n) when {\n (true && (A0000::\"\"[\"\"])) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"254cda004d780b9da54d3d3740f66bb8d2773875":{"name":"254cda004d780b9da54d3d3740f66bb8d2773875","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"j#"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000v"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"j#"},"resource":{"type":"a","id":"j#"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b7c122bef1ed48427641aa2ba120554dedf15bba":{"name":"b7c122bef1ed48427641aa2ba120554dedf15bba","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && (a::\"\".isInRange(principal, principal, principal))) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"1e380dedb574067e8fe1339c0f36c2c31fe2930e":{"name":"1e380dedb574067e8fe1339c0f36c2c31fe2930e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":[{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}},{"__entity":{"id":"","type":"a"}}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4edd395d1c89ddc20bb893a2cb1736e00ecbc574":{"name":"4edd395d1c89ddc20bb893a2cb1736e00ecbc574","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"x":{"memberOfTypes":["FKww3wwwwdd33","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"FKww3wwwwdd33":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["x","FKww3wwwwdd33","r"],"principalTypes":["x","FKww3wwwwdd33","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"x","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"FKww3wwwwdd33","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"FKww3wwwwdd33","id":""},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x","id":""},"resource":{"type":"x","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9345bcfd444e81d0a54b9f46dac2a5b7cc2f3ded":{"name":"9345bcfd444e81d0a54b9f46dac2a5b7cc2f3ded","schema_json":{"":{"commonTypes":{},"entityTypes":{"O":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"l":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["O"],"principalTypes":["O"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@Qmlcgljmlz0000(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"O","id":""},"attrs":{"l":[{},{}]},"parents":[]},{"uid":{"type":"O","id":"F"},"attrs":{"l":[{},{}]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"O","id":""},"resource":{"type":"O","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"03e7827b0c8f44d3f517ac0c52409b0a80996b39":{"name":"03e7827b0c8f44d3f517ac0c52409b0a80996b39","schema_json":{"r::G::r":{"commonTypes":{},"entityTypes":{"E":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"A":{"memberOfTypes":["r","E"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":["E"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["A","r","E"],"principalTypes":["r","E"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::G::r::r","id":""},"attrs":{},"parents":[{"type":"r::G::r::E","id":""}]},{"uid":{"type":"r::G::r::A","id":""},"attrs":{},"parents":[{"type":"r::G::r::E","id":""},{"type":"r::G::r::r","id":""}]},{"uid":{"type":"r::G::r::E","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::G::r::r","id":""},"resource":{"type":"r::G::r::A","id":""},"action":{"type":"r::G::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"b69bf509a757aaf3abc19937f723c7914545bc61":{"name":"b69bf509a757aaf3abc19937f723c7914545bc61","schema_json":{"":{"commonTypes":{},"entityTypes":{"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["r"],"principalTypes":["r"],"context":{"type":"Record","attributes":{"A000":{"type":"String","required":false},"r":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r","id":""},"resource":{"type":"r","id":""},"action":{"type":"Action","id":"action"},"context":{"A000":"","r":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c25e11d829036d6e027f4a4227fa9c8a9f0cff08":{"name":"c25e11d829036d6e027f4a4227fa9c8a9f0cff08","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"Bsss":{"type":"Extension","name":"ipaddr","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"66\u0000$"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"66"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"66"},"resource":{"type":"a","id":"66"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7f57d33658a504a738b57487d367015a07bb96b3":{"name":"7f57d33658a504a738b57487d367015a07bb96b3","schema_json":{"r::r::r::r::r":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@r(\"\")\npermit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r::r::r::r::r::a","id":"of"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::r::r::a","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::r::r::a","id":"/mc"},"attrs":{},"parents":[]},{"uid":{"type":"r::r::r::r::r::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r::r::r::r::r::a","id":"::"},"resource":{"type":"r::r::r::r::r::a","id":"::"},"action":{"type":"r::r::r::r::r::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"fb0e459d20b27044895c2bb1250c349fa89ace1a":{"name":"fb0e459d20b27044895c2bb1250c349fa89ace1a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"zzz\",\n action in [],\n resource in a::\"zzz\"\n) when {\n (true && (!(action == (0 == principal)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"zzz"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"zzz"},"resource":{"type":"a","id":"zzz"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"8a7f968982f6d5392e68021134740c39e0c45396":{"name":"8a7f968982f6d5392e68021134740c39e0c45396","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\\u{2}\\0\",\n action == Action::\"action\",\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0002\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0000"},"resource":{"type":"a","id":"\u0002\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"d6c65d3dfbb960c519f29e3906307d611ffaae15":{"name":"d6c65d3dfbb960c519f29e3906307d611ffaae15","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\\0\\rRPR80\",\n action in [Action::\"action\"],\n resource == a::\"\\0\\0\\0\\0\\0\\rRPR80\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000\u0000\rRPR80"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"dbc9f37ef3073f9d001be9f58064951fcd50ac40":{"name":"dbc9f37ef3073f9d001be9f58064951fcd50ac40","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"A":{"type":"Record","attributes":{"u\u0000\u0000:":{"type":"Set","element":{"type":"Entity","name":"a"},"required":false}},"additionalAttributes":false,"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]},{"uid":{"type":"a","id":"sudfff"},"attrs":{"A":{"u\u0000\u0000:":[]}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"772762b782fd4f6c322d1ec3c9dc8b4a2bfa8909":{"name":"772762b782fd4f6c322d1ec3c9dc8b4a2bfa8909","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"/mo"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"cfaster"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"/mo"},"resource":{"type":"a","id":"/mo"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"36a8b7ca6f5196693fd24c6f3cdbb627d8a2cfa7":{"name":"36a8b7ca6f5196693fd24c6f3cdbb627d8a2cfa7","schema_json":{"x":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"@v(\"\")\n@x(\"\")\npermit(\n principal == x::a::\"\",\n action in [x::Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"x::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"x::a","id":""},"resource":{"type":"x::a","id":""},"action":{"type":"x::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8c3f6fc9d56cfe86b9834fcb950ceaea54a1aa18":{"name":"8c3f6fc9d56cfe86b9834fcb950ceaea54a1aa18","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{":":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"::::comʙ"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":":"},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":":"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"9f1c21662ae11397c3676997c668326235093b42":{"name":"9f1c21662ae11397c3676997c668326235093b42","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (context == (false in principal))\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ca2a5665590dadaa410ae37be42cf8c38ebf5228":{"name":"ca2a5665590dadaa410ae37be42cf8c38ebf5228","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action in [Action::\"action\",Action::\"action\"],\n resource == a::\"\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"::"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":"::"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"11e9832d6fe60145fb72dd1421e11f29c6b8b666":{"name":"11e9832d6fe60145fb72dd1421e11f29c6b8b666","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n (false && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0002\u0000\u0000\u0000\u0000\\\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"03349e575600a4072cf52de8a144d1c88ec8ad91":{"name":"03349e575600a4072cf52de8a144d1c88ec8ad91","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"\u0006F":{"appliesTo":null,"memberOf":null},"R=":{"appliesTo":null,"memberOf":null},"R=====":{"appliesTo":null,"memberOf":null},"=F":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"j5550000":{"type":"String","required":false},"lzz":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"61da7807095991392a5f67e06f9a894bcee81fbc":{"name":"61da7807095991392a5f67e06f9a894bcee81fbc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"z'"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002com"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"sN"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"fast\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"co"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0002\u0002"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"m/"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0002com"},"resource":{"type":"a","id":"\u0002com"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"7b8a0adcf9a94ba713b2b01a3e63f16cdc5a6463":{"name":"7b8a0adcf9a94ba713b2b01a3e63f16cdc5a6463","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\".0\",\n action in [Action::\"action\"],\n resource == a::\".0\"\n) when {\n (true && ({} in (if principal then principal else principal))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":".0"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":".0"},"resource":{"type":"a","id":".0"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"77e6019f6506e218ba90c883acb9d9eeadee19f5":{"name":"77e6019f6506e218ba90c883acb9d9eeadee19f5","schema_json":{"Khdhhhh":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Khdhhhh::a","id":"......"},"attrs":{},"parents":[]},{"uid":{"type":"Khdhhhh::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Khdhhhh::a","id":"......"},"resource":{"type":"Khdhhhh::a","id":"......"},"action":{"type":"Khdhhhh::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9f80e2d1ff1ec2f341027f22fe929ac8d1bbf1bf":{"name":"9f80e2d1ff1ec2f341027f22fe929ac8d1bbf1bf","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\",\n action in [],\n resource\n) when {\n true\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"ffff"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"ffff"},"resource":{"type":"a","id":"ffff"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"97e5ea8110fd942a8aff42be1e4b8d1f7ad9e98b":{"name":"97e5ea8110fd942a8aff42be1e4b8d1f7ad9e98b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true && (if (if (\"\" || 60138) then principal else principal) then principal else principal)\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"08500c1c65e96341b3eef33c68658af8078fd824":{"name":"08500c1c65e96341b3eef33c68658af8078fd824","schema_json":{"":{"commonTypes":{},"entityTypes":{"Kfhhhhh":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Kfhhhhh"],"principalTypes":["Kfhhhhh"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource in Kfhhhhh::\"\"\n) when {\n (true && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"Kfhhhhh","id":"."},"attrs":{},"parents":[]},{"uid":{"type":"Kfhhhhh","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"Kfhhhhh","id":""},"resource":{"type":"Kfhhhhh","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"3b168243eb643d9339793f4bc155ac2828ab860d":{"name":"3b168243eb643d9339793f4bc155ac2828ab860d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"A":{"type":"Set","element":{"type":"Record","attributes":{},"additionalAttributes":false},"required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"da\",\n action in [Action::\"action\",Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0006"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"da"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"da"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[{},{}]},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006"},"resource":{"type":"a","id":"\u0006"},"action":{"type":"Action","id":"action"},"context":{"A":[]},"decision":"Deny","reasons":[],"errors":[]}]},"b441a53ba07e60e2feb4257d374d179818c0e1a7":{"name":"b441a53ba07e60e2feb4257d374d179818c0e1a7","schema_json":{"R77":{"commonTypes":{},"entityTypes":{"Rx":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"a77":{"type":"Entity","name":"R77::Rx","required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Rx"],"principalTypes":["Rx"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"R77::Rx","id":"F"},"attrs":{"a77":{"__entity":{"id":"FFFFFFF","type":"R77::Rx"}}},"parents":[]},{"uid":{"type":"R77::Rx","id":"FFFFFFF"},"attrs":{"a77":{"__entity":{"id":"FFFFFFF","type":"R77::Rx"}}},"parents":[]},{"uid":{"type":"R77::Rx","id":""},"attrs":{"a77":{"__entity":{"id":"FFFFFFF","type":"R77::Rx"}}},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"R77::Rx","id":"FFFFFFF"},"resource":{"type":"R77::Rx","id":"FFFFFFF"},"action":{"type":"R77::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"15a5e61ef680e881f21af3c89ace6b019ec4f78b":{"name":"15a5e61ef680e881f21af3c89ace6b019ec4f78b","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action in [Action::\"action\"],\n resource == a::\"\\0\\u{7f}\\u{1}\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0001"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0001"},"resource":{"type":"a","id":"\u0000\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"496919dff0ea2935085baf1d32dfac599df26619":{"name":"496919dff0ea2935085baf1d32dfac599df26619","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"F":{"type":"Set","element":{"type":"Set","element":{"type":"Boolean"}},"required":true}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":":"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":"::"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":":::::C:"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":"::4"},"attrs":{"F":[]},"parents":[]},{"uid":{"type":"a","id":"\n:::"},"attrs":{"F":[]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"::4"},"resource":{"type":"a","id":"::4"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"75f7bec7370822f1887e7ccadf05ffd1e24921f3":{"name":"75f7bec7370822f1887e7ccadf05ffd1e24921f3","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && (if ((if 60138 then principal else principal) || principal) then principal else principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"99ce7b14b784766a659aab7a7a49ac3ca2dfdf54":{"name":"99ce7b14b784766a659aab7a7a49ac3ca2dfdf54","schema_json":{"Gtxxx10g0":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Gtxxx10g0::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Gtxxx10g0::a","id":";"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Gtxxx10g0::a","id":""},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Gtxxx10g0::a","id":";"},"resource":{"type":"Gtxxx10g0::a","id":";"},"action":{"type":"Gtxxx10g0::Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"37dde9c2116b0f8e994c76ed68805f489f24046d":{"name":"37dde9c2116b0f8e994c76ed68805f489f24046d","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"z"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"000000000\u0004##"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"000000000\u0004##"},"resource":{"type":"a","id":"000000000\u0004##"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"e30bdae252646a9315f7fc3c5014eb07821d7094":{"name":"e30bdae252646a9315f7fc3c5014eb07821d7094","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource\n) when {\n (true && context) && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"bd52aeabb79ad9249ef0960923b730c571327ffe":{"name":"bd52aeabb79ad9249ef0960923b730c571327ffe","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"b5\",\n action in [Action::\"action\"],\n resource == a::\"b5\"\n) when {\n (true && a::\"b5\") && false\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"b5"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"b5"},"resource":{"type":"a","id":"b5"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"26abefc0cdc3ca369e50d8ad8e7e02fdd1ada405":{"name":"26abefc0cdc3ca369e50d8ad8e7e02fdd1ada405","schema_json":{"Fwwww9":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Fwwww9::a","id":"er"},"attrs":{},"parents":[]},{"uid":{"type":"Fwwww9::a","id":"\u0000:om/"},"attrs":{},"parents":[]},{"uid":{"type":"Fwwww9::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Fwwww9::a","id":"I"},"attrs":{},"parents":[]},{"uid":{"type":"Fwwww9::a","id":"awt"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Fwwww9::a","id":"\u0000:om/"},"resource":{"type":"Fwwww9::a","id":"\u0000:om/"},"action":{"type":"Fwwww9::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"9a7d899ba65717065b83bce346b0c53e57fdc164":{"name":"9a7d899ba65717065b83bce346b0c53e57fdc164","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{"r":{"type":"Set","element":{"type":"Boolean"},"required":false}},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"K"},"attrs":{"r":[false,false]},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{"r":[false,false]},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"K"},"resource":{"type":"a","id":"K"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"047a21c759ff09b3dae102ad967195f336889551":{"name":"047a21c759ff09b3dae102ad967195f336889551","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"E":{"type":"String","required":false},"Rslargm0000000":{"type":"String","required":false},"r":{"type":"String","required":false},"sJRd3":{"type":"String","required":false},"v":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"sJRd3":"","E":"","v":"","r":"","Rslargm0000000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"764a4880f4e99a191e53a03ef16da22fb02bc397":{"name":"764a4880f4e99a191e53a03ef16da22fb02bc397","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"\\0\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"\\0\\0\\0\\0\"\n) when {\n (true && (!(!(!4131130)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"resource":{"type":"a","id":"\u0000\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9a40d7aee36713f1a63f2b91c444e013949f1cf0":{"name":"9a40d7aee36713f1a63f2b91c444e013949f1cf0","schema_json":{"r333AJJJNJ":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"r333AJJJNJ::a","id":"R"},"attrs":{},"parents":[]},{"uid":{"type":"r333AJJJNJ::a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"r333AJJJNJ::a","id":"R"},"resource":{"type":"r333AJJJNJ::a","id":"R"},"action":{"type":"r333AJJJNJ::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"72a46e5f8a98d5e4828b68a428f9e537251c830e":{"name":"72a46e5f8a98d5e4828b68a428f9e537251c830e","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"resource":{"type":"a","id":"\u0006\u000b\u0005\u0005\u0005\u0005"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"81891b78bbb688f3635982e54913d2a8f32a3e92":{"name":"81891b78bbb688f3635982e54913d2a8f32a3e92","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true && (!(!(!false)))\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":":"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":":"},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":":"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"34a990f481360f9792cfb7c7c7feca7291cbc310":{"name":"34a990f481360f9792cfb7c7c7feca7291cbc310","schema_json":{"v::xd::x::v":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"v::xd::x::v::a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"v::xd::x::v::a","id":"r\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"resource":{"type":"v::xd::x::v::a","id":"f~\u0000ff\u0000"},"action":{"type":"v::xd::x::v::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"4960126cc1c3cb0023a576d6f726f19f667b4144":{"name":"4960126cc1c3cb0023a576d6f726f19f667b4144","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action,\n resource\n) when {\n ((true && (\"\" && true)) && false) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"B"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"93e58b7017a37b573f8a205f08b7077d6587c640":{"name":"93e58b7017a37b573f8a205f08b7077d6587c640","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"q\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"q"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"q"},"resource":{"type":"a","id":"q"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"72ba9b2b2a3db0cf42997827f581619cb12acfd6":{"name":"72ba9b2b2a3db0cf42997827f581619cb12acfd6","schema_json":{"uSJJlg1lU::Q80xxu_YYXW":{"commonTypes":{},"entityTypes":{"Mxxwxx":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Mxxwxx"],"principalTypes":["Mxxwxx"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"resource":{"type":"uSJJlg1lU::Q80xxu_YYXW::Mxxwxx","id":""},"action":{"type":"uSJJlg1lU::Q80xxu_YYXW::Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c6e8fbb855e21cdb1c869dfe918d50f54c5a75b9":{"name":"c6e8fbb855e21cdb1c869dfe918d50f54c5a75b9","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal == a::\"\",\n action,\n resource == a::\"\\0\"\n) when {\n (true && \"\") && \"\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"0f6bd61ae5a54f7abc1890148c6f5b9c389afef8":{"name":"0f6bd61ae5a54f7abc1890148c6f5b9c389afef8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal,\n action == Action::\"action\",\n resource\n) when {\n (true && \"f\") && Action::\"action\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":".1"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"19923ce573215d221a260ab089a3eade7736dccf":{"name":"19923ce573215d221a260ab089a3eade7736dccf","schema_json":{"":{"commonTypes":{},"entityTypes":{"Bcss":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["Bcss"],"principalTypes":["Bcss"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"Bcss","id":"0700"},"attrs":{},"parents":[]},{"uid":{"type":"Bcss","id":"00"},"attrs":{},"parents":[]},{"uid":{"type":"Bcss","id":""},"attrs":{},"parents":[]},{"uid":{"type":"Bcss","id":"679)"},"attrs":{},"parents":[]},{"uid":{"type":"Bcss","id":"8678"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"Bcss","id":"00"},"resource":{"type":"Bcss","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"c61ef4bc690f842dab4e57f05e83ba0331adc190":{"name":"c61ef4bc690f842dab4e57f05e83ba0331adc190","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action == Action::\"action\",\n resource in a::\"\"\n) when {\n (true && ((-(2709170810 <= action)) in principal)) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"9a4ddcb2e4023e402af8cfe7ca253b756bccffa4":{"name":"9a4ddcb2e4023e402af8cfe7ca253b756bccffa4","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{"Dclrl000zzzzzz000":{"type":"String","required":false},"DlqsllkYlY":{"type":"String","required":false}},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{"DlqsllkYlY":"","Dclrl000zzzzzz000":""},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"6e57104bd2645f6d8da6fb3b46cac26ec681221a":{"name":"6e57104bd2645f6d8da6fb3b46cac26ec681221a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"00\",\n action == Action::\"action\",\n resource in a::\"00\"\n) when {\n (true && a::\"00\") && a::\"00\"\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"00"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"00"},"resource":{"type":"a","id":"00"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"ece10c9b5baef38c334a1c310679e457562b8081":{"name":"ece10c9b5baef38c334a1c310679e457562b8081","schema_json":{"":{"commonTypes":{},"entityTypes":{"n":{"memberOfTypes":["r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"G":{"memberOfTypes":["n","r"],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}},"r":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["G","n","r"],"principalTypes":["G","n","r"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"n","id":":"},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"r","id":""},"attrs":{},"parents":[]},{"uid":{"type":"G","id":""},"attrs":{},"parents":[{"type":"r","id":""},{"type":"n","id":"::"},{"type":"n","id":""},{"type":"n","id":":"}]},{"uid":{"type":"n","id":""},"attrs":{},"parents":[{"type":"r","id":""}]},{"uid":{"type":"n","id":"::"},"attrs":{},"parents":[{"type":"r","id":""}]}],"queries":[{"desc":"Query 0","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"G","id":""},"resource":{"type":"G","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"8a4ff6d3e6a73a76952bb1fc2d3a599de9d94594":{"name":"8a4ff6d3e6a73a76952bb1fc2d3a599de9d94594","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"":{"appliesTo":null,"memberOf":null},"j":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":" \u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":" \u0000\u0000"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"j"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 6","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 7","action":{"type":"Action","id":""},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"10fcd998b35b276ab130e82d0b618ed9ee17c343":{"name":"10fcd998b35b276ab130e82d0b618ed9ee17c343","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action in [Action::\"action\"],\n resource == a::\"%\"\n) when {\n true && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"%"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":"%"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"%"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"13c95d614c44c554c6f335fd59c6e95cbd0ad9cc":{"name":"13c95d614c44c554c6f335fd59c6e95cbd0ad9cc","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"\\u{2}1\",\n action == Action::\"action\",\n resource == a::\"\\u{2}1\"\n) when {\n (true && ((false == false) == (false == (if principal then principal else principal)))) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"\u00021"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u00021"},"resource":{"type":"a","id":"\u00021"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"938ccf0f7d6daab0a55e3d8f7931e70abed0556a":{"name":"938ccf0f7d6daab0a55e3d8f7931e70abed0556a","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action,\n resource\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"@"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":""},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"@"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"@"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]}]},"3d7cf966b39a2e156d00c3d1bf96af90c89c0ee8":{"name":"3d7cf966b39a2e156d00c3d1bf96af90c89c0ee8","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal,\n action,\n resource\n) when {\n ((true && ((if \"\" then principal else principal) in principal)) && principal) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0001"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 1","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 2","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 3","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 4","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 5","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 6","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]},{"desc":"Query 7","principal":{"type":"a","id":"\u0001"},"resource":{"type":"a","id":"\u0001"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":["policy0"]}]},"a87b03bd9ed4c18a4d9346098593027c12180c97":{"name":"a87b03bd9ed4c18a4d9346098593027c12180c97","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal in a::\"z~\",\n action in [Action::\"action\"],\n resource in a::\"z~\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":"z~"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"?"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":""},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"z~"},"resource":{"type":"a","id":"z~"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Allow","reasons":["policy0"],"errors":[]}]},"d021608663ac1df71c7a9a3508941597a8b87570":{"name":"d021608663ac1df71c7a9a3508941597a8b87570","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"permit(\n principal == a::\"FF%%\\0\\0FF\\0\\0\\0\",\n action in [Action::\"action\"],\n resource in a::\"FF%%\\0\\0FF\\0\\0\\0\"\n) when {\n (true && (principal has \"\")) && principal\n};\n","should_validate":false,"entities_json":[{"uid":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"resource":{"type":"a","id":"FF%%\u0000\u0000FF\u0000\u0000\u0000"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]},"4e03b96a72686f4c773c52b125184ff2b31fa6ec":{"name":"4e03b96a72686f4c773c52b125184ff2b31fa6ec","schema_json":{"":{"commonTypes":{},"entityTypes":{"a":{"memberOfTypes":[],"shape":{"type":"Record","attributes":{},"additionalAttributes":false}}},"actions":{"action":{"appliesTo":{"resourceTypes":["a"],"principalTypes":["a"],"context":{"type":"Record","attributes":{},"additionalAttributes":false}},"memberOf":null}}}},"policies_cedar":"forbid(\n principal in a::\"\",\n action in [Action::\"action\",Action::\"action\",Action::\"action\"],\n resource in a::\"\"\n) when {\n true\n};\n","should_validate":true,"entities_json":[{"uid":{"type":"a","id":""},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\r\u0015\u0000"},"attrs":{},"parents":[]},{"uid":{"type":"a","id":"\u0015"},"attrs":{},"parents":[]}],"queries":[{"desc":"Query 0","principal":{"type":"a","id":""},"resource":{"type":"a","id":""},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":["policy0"],"errors":[]},{"desc":"Query 1","principal":{"type":"a","id":""},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 2","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 3","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 4","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 5","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 6","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]},{"desc":"Query 7","principal":{"type":"a","id":"\u0015"},"resource":{"type":"a","id":"\u0015"},"action":{"type":"Action","id":"action"},"context":{},"decision":"Deny","reasons":[],"errors":[]}]}} \ No newline at end of file diff --git a/packages/cedar_ffi/lib/testing/cedar_test_corpus.dart b/packages/cedar_ffi/lib/testing/cedar_test_corpus.dart new file mode 100644 index 00000000..adb2a710 --- /dev/null +++ b/packages/cedar_ffi/lib/testing/cedar_test_corpus.dart @@ -0,0 +1 @@ +export '../src/testing/corpus.dart'; diff --git a/packages/cedar_ffi/pubspec.yaml b/packages/cedar_ffi/pubspec.yaml new file mode 100644 index 00000000..1dedde68 --- /dev/null +++ b/packages/cedar_ffi/pubspec.yaml @@ -0,0 +1,58 @@ +name: cedar_ffi +description: FFI bindings for the Cedar policy language, written in Rust. +version: 0.1.0 + +environment: + sdk: ^3.3.0 + +dependencies: + built_collection: ^5.1.1 + built_value: ^8.9.1 + cedar: ^0.1.0 + cli_config: ^0.1.1 + collection: ^1.18.0 + ffi: ^2.1.0 + json_annotation: ^4.8.1 + logging: ^1.2.0 + meta: ^1.12.0 + native_assets_cli: ^0.4.2 + native_toolchain_c: ^0.3.4+1 + +dev_dependencies: + build_runner: ^2.4.8 + built_value_generator: ^8.9.1 + ffigen: ^11.0.0 + json_serializable: ^6.7.1 + lints: ^3.0.0 + path: ^1.8.3 + test: ^1.21.0 + +ffigen: + name: CedarFfi + description: C bindings to the Cedar policy engine + ffi-native: + language: c + headers: + entry-points: + - "src/include/bindings.h" + compiler-opts: + # Suppress nullability warnings on macOS + - "-Wno-nullability-completeness" + # Ignore warnings about availability macro + - "-Wno-availability" + output: + bindings: "lib/src/ffi/cedar_bindings.g.dart" + comments: + style: any + length: full + exclude-all-by-default: true + functions: + include: + - "cedar_.*" + leaf: + # All C APIs are leaf functions (e.g. they do not call into Dart) + include: + - ".*" + structs: + include: + - "CCedar.*" diff --git a/packages/cedar_ffi/pubspec_overrides.yaml b/packages/cedar_ffi/pubspec_overrides.yaml new file mode 100644 index 00000000..5ce11e4a --- /dev/null +++ b/packages/cedar_ffi/pubspec_overrides.yaml @@ -0,0 +1,3 @@ +dependency_overrides: + cedar: + path: ../cedar \ No newline at end of file diff --git a/packages/cedar_ffi/src/.gitignore b/packages/cedar_ffi/src/.gitignore new file mode 100644 index 00000000..71ab9a43 --- /dev/null +++ b/packages/cedar_ffi/src/.gitignore @@ -0,0 +1,10 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb \ No newline at end of file diff --git a/packages/cedar_ffi/src/Cargo.lock b/packages/cedar_ffi/src/Cargo.lock new file mode 100644 index 00000000..3dccd7b7 --- /dev/null +++ b/packages/cedar_ffi/src/Cargo.lock @@ -0,0 +1,2504 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aes" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aho-corasick" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +dependencies = [ + "memchr", +] + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" + +[[package]] +name = "anstyle-parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +dependencies = [ + "anstyle", + "windows-sys 0.48.0", +] + +[[package]] +name = "anyhow" +version = "1.0.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" + +[[package]] +name = "ascii-canvas" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" +dependencies = [ + "term", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "backtrace" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base64" +version = "0.21.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" + +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "binary-install" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93bff426ff93f3610dd2b946f3eb8cb2d1285ca8682834d43be531a3f93db2ff" +dependencies = [ + "anyhow", + "dirs-next", + "flate2", + "fs2", + "hex", + "is_executable", + "siphasher", + "tar", + "ureq", + "zip", +] + +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "build-target" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "832133bbabbbaa9fbdba793456a2827627a7d2b8fb96032fa1e7666d7895832b" + +[[package]] +name = "bumpalo" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "camino" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cbindgen" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49" +dependencies = [ + "clap 3.2.25", + "heck", + "indexmap 1.9.3", + "log", + "proc-macro2", + "quote", + "serde", + "serde_json", + "syn 1.0.109", + "tempfile", + "toml 0.5.11", +] + +[[package]] +name = "cc" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +dependencies = [ + "jobserver", + "libc", +] + +[[package]] +name = "cedar-ffi" +version = "0.1.0" +dependencies = [ + "anyhow", + "build-target", + "cbindgen", + "cedar-policy", + "log", + "once_cell", + "simple_logger", + "wasm-bindgen-test", + "wasm-pack", +] + +[[package]] +name = "cedar-policy" +version = "3.0.0" +dependencies = [ + "cedar-policy-core", + "cedar-policy-validator", + "itertools 0.12.0", + "lalrpop-util", + "miette", + "ref-cast", + "serde", + "serde_json", + "serde_with", + "smol_str", + "thiserror", +] + +[[package]] +name = "cedar-policy-core" +version = "3.0.0" +dependencies = [ + "either", + "itertools 0.12.0", + "lalrpop", + "lalrpop-util", + "lazy_static", + "miette", + "nonempty", + "regex", + "rustc_lexer", + "serde", + "serde_json", + "serde_with", + "smol_str", + "stacker", + "thiserror", +] + +[[package]] +name = "cedar-policy-validator" +version = "3.0.0" +dependencies = [ + "cedar-policy-core", + "itertools 0.12.0", + "miette", + "serde", + "serde_json", + "serde_with", + "smol_str", + "stacker", + "thiserror", + "unicode-security", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-targets 0.48.5", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "clap" +version = "3.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" +dependencies = [ + "atty", + "bitflags 1.3.2", + "clap_lex 0.2.4", + "indexmap 1.9.3", + "strsim", + "termcolor", + "textwrap", +] + +[[package]] +name = "clap" +version = "4.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" +dependencies = [ + "anstream", + "anstyle", + "clap_lex 0.6.0", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "clap_lex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +dependencies = [ + "os_str_bytes", +] + +[[package]] +name = "clap_lex" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" + +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] +name = "colored" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" +dependencies = [ + "is-terminal", + "lazy_static", + "windows-sys 0.48.0", +] + +[[package]] +name = "console" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.45.0", +] + +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpufeatures" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "darling" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.39", +] + +[[package]] +name = "darling_macro" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "deranged" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" +dependencies = [ + "powerfmt", + "serde", +] + +[[package]] +name = "dialoguer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59c6f2989294b9a498d3ad5491a79c6deb604617378e1cdc4bfc1c1361fe2f87" +dependencies = [ + "console", + "shell-words", + "tempfile", + "zeroize", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", + "subtle", +] + +[[package]] +name = "dirs-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + +[[package]] +name = "either" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" + +[[package]] +name = "ena" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" +dependencies = [ + "log", +] + +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + +[[package]] +name = "env_logger" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +dependencies = [ + "log", +] + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "errno" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + +[[package]] +name = "filetime" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.3.5", + "windows-sys 0.48.0", +] + +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + +[[package]] +name = "flate2" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hermit-abi" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "human-panic" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a79a67745be0cb8dd2771f03b24c2f25df98d5471fe7a595d668cfa2e6f843d" +dependencies = [ + "anstream", + "anstyle", + "backtrace", + "os_info", + "serde", + "serde_derive", + "toml 0.8.8", + "uuid", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", + "serde", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + +[[package]] +name = "is-terminal" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +dependencies = [ + "hermit-abi 0.3.3", + "rustix", + "windows-sys 0.48.0", +] + +[[package]] +name = "is_executable" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302d553b8abc8187beb7d663e34c065ac4570b273bc9511a50e940e99409c577" +dependencies = [ + "winapi", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" + +[[package]] +name = "jobserver" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.67" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "lalrpop" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da4081d44f4611b66c6dd725e6de3169f9f63905421e8626fcb86b6a898998b8" +dependencies = [ + "ascii-canvas", + "bit-set", + "diff", + "ena", + "is-terminal", + "itertools 0.10.5", + "lalrpop-util", + "petgraph", + "pico-args", + "regex", + "regex-syntax 0.7.5", + "string_cache", + "term", + "tiny-keccak", + "unicode-xid", +] + +[[package]] +name = "lalrpop-util" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" +dependencies = [ + "regex", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.150" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" + +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.1", + "libc", + "redox_syscall 0.4.1", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" + +[[package]] +name = "lock_api" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" + +[[package]] +name = "memchr" +version = "2.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" + +[[package]] +name = "miette" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" +dependencies = [ + "miette-derive", + "once_cell", + "serde", + "thiserror", + "unicode-width", +] + +[[package]] +name = "miette-derive" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +dependencies = [ + "adler", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" + +[[package]] +name = "nonempty" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "995defdca0a589acfdd1bd2e8e3b896b4d4f7675a31fd14c32611440c7f608e6" + +[[package]] +name = "num-traits" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_threads" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +dependencies = [ + "libc", +] + +[[package]] +name = "object" +version = "0.32.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "os_info" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "serde", + "winapi", +] + +[[package]] +name = "os_str_bytes" +version = "6.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" + +[[package]] +name = "parking_lot" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.4.1", + "smallvec", + "windows-targets 0.48.5", +] + +[[package]] +name = "password-hash" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" +dependencies = [ + "base64ct", + "rand_core", + "subtle", +] + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest", + "hmac", + "password-hash", + "sha2", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "petgraph" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +dependencies = [ + "fixedbitset", + "indexmap 2.1.0", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + +[[package]] +name = "pkg-config" +version = "0.3.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "proc-macro2" +version = "1.0.70" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + +[[package]] +name = "quote" +version = "1.0.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" + +[[package]] +name = "redox_syscall" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_users" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +dependencies = [ + "getrandom", + "libredox", + "thiserror", +] + +[[package]] +name = "ref-cast" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acde58d073e9c79da00f2b5b84eed919c8326832648a5b109b3fce1bb1175280" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "regex" +version = "1.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax 0.8.2", +] + +[[package]] +name = "regex-automata" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.2", +] + +[[package]] +name = "regex-syntax" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" + +[[package]] +name = "regex-syntax" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" + +[[package]] +name = "ring" +version = "0.17.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "684d5e6e18f669ccebf64a92236bb7db9a34f07be010e3627368182027180866" +dependencies = [ + "cc", + "getrandom", + "libc", + "spin", + "untrusted", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc_lexer" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86aae0c77166108c01305ee1a36a1e77289d7dc6ca0a3cd91ff4992de2d16a5" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "rustix" +version = "0.38.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" +dependencies = [ + "bitflags 2.4.1", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.21.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct", +] + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" + +[[package]] +name = "ryu" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "semver" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +dependencies = [ + "serde", +] + +[[package]] +name = "serde" +version = "1.0.193" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.193" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "serde_ignored" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80c31d5c53fd39f208e770f5a20a0bb214dee2a8d0d8adba18e19ad95a482ca5" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_json" +version = "1.0.108" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +dependencies = [ + "indexmap 2.1.0", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_with" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd236ccc1b7a29e7e2739f27c0b2dd199804abc4290e32f59f3b68d6405c23" +dependencies = [ + "base64", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.1.0", + "serde", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93634eb5f75a2323b16de4748022ac4297f9e76b6dced2be287a099f41b5e788" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shell-words" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" + +[[package]] +name = "simple_logger" +version = "4.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7e46c8c90251d47d08b28b8a419ffb4aede0f87c2eea95e17d1d5bacbf3ef1" +dependencies = [ + "colored", + "log", + "time", + "windows-sys 0.48.0", +] + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "smallvec" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" + +[[package]] +name = "smol_str" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74212e6bbe9a4352329b2f68ba3130c15a3f26fe88ff22dbdc6cdd58fa85e99c" +dependencies = [ + "serde", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "stacker" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "winapi", +] + +[[package]] +name = "string_cache" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" +dependencies = [ + "new_debug_unreachable", + "once_cell", + "parking_lot", + "phf_shared", + "precomputed-hash", +] + +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tar" +version = "0.4.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" +dependencies = [ + "filetime", + "libc", + "xattr", +] + +[[package]] +name = "tempfile" +version = "3.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +dependencies = [ + "cfg-if", + "fastrand", + "redox_syscall 0.4.1", + "rustix", + "windows-sys 0.48.0", +] + +[[package]] +name = "term" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" +dependencies = [ + "dirs-next", + "rustversion", + "winapi", +] + +[[package]] +name = "termcolor" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "textwrap" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" + +[[package]] +name = "thiserror" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "time" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +dependencies = [ + "deranged", + "itoa", + "libc", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +dependencies = [ + "time-core", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "serde", +] + +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] + +[[package]] +name = "toml" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.21.0", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "unicode-bidi" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-script" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d817255e1bed6dfd4ca47258685d14d2bdcfbc64fdc9e3819bd5848057b8ecc" + +[[package]] +name = "unicode-security" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ef5756b3097992b934b06608c69f48448a0fbe804bb1e72b982f6d7983e9e63" +dependencies = [ + "unicode-normalization", + "unicode-script", +] + +[[package]] +name = "unicode-width" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "ureq" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8cdd25c339e200129fe4de81451814e5228c9b771d57378817d6117cc2b3f97" +dependencies = [ + "base64", + "flate2", + "log", + "once_cell", + "rustls", + "rustls-webpki", + "serde", + "serde_json", + "url", + "webpki-roots", +] + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + +[[package]] +name = "uuid" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" +dependencies = [ + "getrandom", +] + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "walkdir" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.39", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bde2032aeb86bdfaecc8b261eef3cba735cc426c1f3a3416d1e0791be95fc461" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" + +[[package]] +name = "wasm-bindgen-test" +version = "0.3.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139bd73305d50e1c1c4333210c0db43d989395b64a237bd35c10ef3832a7f70c" +dependencies = [ + "console_error_panic_hook", + "js-sys", + "scoped-tls", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-bindgen-test-macro", +] + +[[package]] +name = "wasm-bindgen-test-macro" +version = "0.3.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70072aebfe5da66d2716002c729a14e4aec4da0e23cc2ea66323dac541c93928" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "wasm-pack" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "232d74cc810a700817e78a5689da7d1d8ab6f0b9ebb26b6f0c0d98f15e20fec2" +dependencies = [ + "anyhow", + "atty", + "binary-install", + "cargo_metadata", + "chrono", + "clap 4.4.10", + "console", + "dialoguer", + "env_logger", + "glob", + "human-panic", + "log", + "parking_lot", + "semver", + "serde", + "serde_derive", + "serde_ignored", + "serde_json", + "siphasher", + "strsim", + "toml 0.7.8", + "ureq", + "walkdir", + "which", +] + +[[package]] +name = "web-sys" +version = "0.3.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-roots" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + +[[package]] +name = "winnow" +version = "0.5.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" +dependencies = [ + "memchr", +] + +[[package]] +name = "xattr" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4686009f71ff3e5c4dbcf1a282d0a44db3f021ba69350cd42086b3e5f1c6985" +dependencies = [ + "libc", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" + +[[package]] +name = "zip" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +dependencies = [ + "aes", + "byteorder", + "bzip2", + "constant_time_eq", + "crc32fast", + "crossbeam-utils", + "flate2", + "hmac", + "pbkdf2", + "sha1", + "time", + "zstd", +] + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.9+zstd.1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/packages/cedar_ffi/src/Cargo.toml b/packages/cedar_ffi/src/Cargo.toml new file mode 100644 index 00000000..3ccf2c85 --- /dev/null +++ b/packages/cedar_ffi/src/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "cedar-ffi" +version = "0.1.0" +edition = "2021" + +[lib] +crate-type = ["cdylib"] + +[dependencies] +anyhow = { version = "1.0.79" } +cedar-policy = { path = "../third_party/cedar/cedar-policy" } +log = "0.4.20" +once_cell = "1.19.0" +serde = "1.0.197" +serde_json = "1.0.114" +simple_logger = "4.3.3" + +[build-dependencies] +build-target = "0.4.0" +cbindgen = "0.26" +wasm-pack = "0.12.1" + +[dev-dependencies] +wasm-bindgen-test = "0.3.40" diff --git a/packages/cedar_ffi/src/build.rs b/packages/cedar_ffi/src/build.rs new file mode 100644 index 00000000..b9286428 --- /dev/null +++ b/packages/cedar_ffi/src/build.rs @@ -0,0 +1,18 @@ +use std::env; +use build_target::{self, Family}; + +fn main() { + if let Ok(Family::Wasm) = build_target::target_family() { + println!("cargo:rustc-cfg=wasm"); + return; + } + + let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap(); + + cbindgen::Builder::new() + .with_crate(crate_dir) + .with_language(cbindgen::Language::C) + .generate() + .expect("Unable to generate bindings") + .write_to_file("include/bindings.h"); +} diff --git a/packages/cedar_ffi/src/include/bindings.h b/packages/cedar_ffi/src/include/bindings.h new file mode 100644 index 00000000..bd3be5fe --- /dev/null +++ b/packages/cedar_ffi/src/include/bindings.h @@ -0,0 +1,188 @@ +#include +#include +#include +#include + +typedef struct CedarStore CedarStore; + +/** + * The result of parsing policies from a Cedar policy string into JSON + * via [cedar_parse_policies]. + */ +typedef struct CCedarPolicySetResult { + /** + * The number of policies in the policy set. + */ + uintptr_t policies_len; + /** + * The policies in the policy set, in JSON format. + * + * This is only valid if `policies_len` is greater than 0 and `errors_len` is 0. + */ + const char *const *policies; + /** + * The IDs for the `policies` in the policy set. + */ + const char *const *policy_ids; + /** + * The number of errors encountered while parsing the policy set. + */ + uintptr_t errors_len; + /** + * The errors (as strings) encountered while parsing the policy set. + */ + const char *const *errors; +} CCedarPolicySetResult; + +/** + * The result of initializing the Cedar policy engine via [cedar_init]. + */ +typedef struct CInitResult { + /** + * Whether the operation succeeded. + */ + struct CedarStore *store; + /** + * The error message, if any. + * + * Can be `null` to indicate no error. + */ + const char *error; +} CInitResult; + +typedef struct CCedarConfig { + /** + * The Cedar schema, in JSON format. + * + * This is a required field. + */ + const char *schema_json; + /** + * The Cedar entities, in JSON format. + * + * Can be `null` to indicate no entities. Entities can be added later with [cedar_add_entities] + * or [cedar_set_entities]. + */ + const char *entities_json; + /** + * The Cedar policies, in JSON format. + * + * Can be `null` to indicate no policies. Policies can be added later with [cedar_add_policies] + * or [cedar_set_policies]. + */ + const char *policies_json; + /** + * Whether to validate the Cedar policies. + */ + bool validate; + /** + * The log level to use for the Cedar policy engine. + * + * Must be one of: `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`. + */ + const char *log_level; +} CCedarConfig; + +typedef struct CAuthorizationDecision { + /** + * Whether the request is authorized. + */ + bool is_authorized; + /** + * The error message, if any. + * + * If set, the authorization decision could not be made and no other + * fields should be used. + */ + const char *completion_error; + /** + * The array of reasons. + * + * Will be `null` if there are no reasons. + */ + const char *const *reasons; + /** + * The length of the array of reasons. + * + * Will be `0` if there are no reasons. + */ + uintptr_t reasons_len; + /** + * The array of errors. + * + * Will be `null` if there are no errors. + */ + const char *const *errors; + /** + * The length of the array of errors. + * + * Will be `0` if there are no errors. + */ + uintptr_t errors_len; +} CAuthorizationDecision; + +typedef struct CCedarQuery { + /** + * The principal to check authorization for, in entity UID format. + * + * Can be `null` to indicate an anonymous principal. + */ + const char *principal_str; + /** + * The resource to check authorization for, in entity UID format. + * + * Can be `null` to indicate an anonymous resource. + */ + const char *resource_str; + /** + * The action to check authorization for, in entity UID format. + * + * Can be `null` to indicate an anonymous action. + */ + const char *action_str; + /** + * The check's context, if any, in JSON format. + * + * Can be `null` to indicate no context. + */ + const char *context_json; + /** + * The Cedar entities, in JSON format. + * + * Can be `null` to use the existing entities. + */ + const char *entities_json; + /** + * The Cedar policies, in JSON format. + * + * Can be `null` to use the existing policies. + */ + const char *policies_json; +} CCedarQuery; + +/** + * Parses a policy set from a Cedar policy string into JSON. + */ +struct CCedarPolicySetResult cedar_parse_policy_set(const char *policies); + +/** + * Initializes the Cedar policy engine with the given configuration. + * + * This must be called exactly once before any other Cedar functions are called. + */ +struct CInitResult cedar_init(const struct CCedarConfig *config); + +/** + * De-initializes the Cedar policy engine. + * + * This must be called exactly once when the Cedar policy engine is no longer needed. + */ +void cedar_deinit(struct CedarStore *store); + +/** + * Performs a Cedar authorization check. + * + * This must be called after [cedar_init] has been called. + */ +struct CAuthorizationDecision cedar_is_authorized(struct CedarStore *store, + const struct CCedarQuery *query); diff --git a/packages/cedar_ffi/src/src/c_api.rs b/packages/cedar_ffi/src/src/c_api.rs new file mode 100644 index 00000000..7509b276 --- /dev/null +++ b/packages/cedar_ffi/src/src/c_api.rs @@ -0,0 +1,3 @@ +pub mod global; +mod helpers; +pub mod store; diff --git a/packages/cedar_ffi/src/src/c_api/global.rs b/packages/cedar_ffi/src/src/c_api/global.rs new file mode 100644 index 00000000..6ac48ecb --- /dev/null +++ b/packages/cedar_ffi/src/src/c_api/global.rs @@ -0,0 +1,92 @@ +use std::{ffi::c_char, ptr::null, str::FromStr}; + +use super::helpers; + +/// The result of parsing policies from a Cedar policy string into JSON +/// via [cedar_parse_policies]. +#[derive(Debug)] +#[repr(C)] +pub struct CCedarPolicySetResult { + /// The number of policies in the policy set. + policies_len: usize, + + /// The policies in the policy set, in JSON format. + /// + /// This is only valid if `policies_len` is greater than 0 and `errors_len` is 0. + policies: *const *const c_char, + + /// The IDs for the `policies` in the policy set. + policy_ids: *const *const c_char, + + /// The number of errors encountered while parsing the policy set. + errors_len: usize, + + /// The errors (as strings) encountered while parsing the policy set. + errors: *const *const c_char, +} + +/// Parses a policy set from a Cedar policy string into JSON. +#[no_mangle] +pub extern "C" fn cedar_parse_policy_set(policies: *const c_char) -> CCedarPolicySetResult { + helpers::log_on_error( + || { + anyhow::ensure!(!policies.is_null(), "policies is null"); + let policies = helpers::string_from_c("policies", policies)?; + let (policy_set, errors) = match cedar_policy::PolicySet::from_str(policies) { + Ok(policy_set) => (policy_set, vec![]), + Err(e) => (cedar_policy::PolicySet::new(), e.0), + }; + + let policy_ids = policy_set + .policies() + .map(|p| Ok(helpers::string_to_c(p.id().to_string())?)) + .collect::>>()? + .to_owned(); + let policy_ids_len = policy_ids.len(); + let policy_ids_ptr = policy_ids.as_ptr(); + std::mem::forget(policy_ids); + + let policies = policy_set + .policies() + .map(|p| Ok(helpers::string_to_c(serde_json::to_string(&p.to_json()?)?)?)) + .collect::>>()? + .to_owned(); + let policies_len = policies.len(); + let policies_ptr = policies.as_ptr(); + std::mem::forget(policies); + + assert!( + policy_ids_len == policies_len, + "policy_ids_len != policies_len" + ); + + let errors = errors + .iter() + .map(|e| helpers::string_to_c(e.to_string())) + .collect::, _>>()? + .to_owned(); + let errors_len = errors.len(); + let errors_ptr = errors.as_ptr(); + std::mem::forget(errors); + + Ok(CCedarPolicySetResult { + policies_len, + policies: policies_ptr, + policy_ids: policy_ids_ptr, + errors_len, + errors: errors_ptr, + }) + }, + "parsing policies", + |e| { + let error_str = helpers::string_to_c(e.to_string()).unwrap(); + CCedarPolicySetResult { + policies_len: 0, + policies: null(), + policy_ids: null(), + errors_len: 1, + errors: &error_str, + } + }, + ) +} diff --git a/packages/cedar_ffi/src/src/c_api/helpers.rs b/packages/cedar_ffi/src/src/c_api/helpers.rs new file mode 100644 index 00000000..731b6299 --- /dev/null +++ b/packages/cedar_ffi/src/src/c_api/helpers.rs @@ -0,0 +1,49 @@ +use std::ffi::{c_char, CStr, CString}; + +use once_cell::sync::OnceCell; + +/// Helper function to log errors instead of panicking or returning a result. +pub fn log_on_error(f: F, context: &str, on_error: EF) -> R +where + F: FnOnce() -> anyhow::Result, + EF: FnOnce(anyhow::Error) -> R, +{ + f().unwrap_or_else(|e| { + log::error!("Error {}: {:?}", context, e); + on_error(e) + }) +} + +/// Initializes the logging system, writing all logs to stdout/err. +pub fn init_logging(level: log::Level) { + static LOGGING: OnceCell<()> = OnceCell::new(); + LOGGING.get_or_init(|| { + simple_logger::init_with_level(level).unwrap(); + }); +} + +/// Converts a C string to a Rust string reference. +pub fn string_from_c<'a>(name: &'static str, c_str: *const c_char) -> anyhow::Result<&'a str> { + anyhow::ensure!(!c_str.is_null(), format!("{name} is null")); + let c_str = unsafe { CStr::from_ptr(c_str) }; + let str = c_str.to_str()?; + Ok(str) +} + +/// Converts a nullable C string to a Rust [Option<&str>]. +pub fn nullable_string_from_c<'a>(c_str: *const c_char) -> anyhow::Result> { + if c_str.is_null() { + return Ok(None); + } + let c_str = unsafe { CStr::from_ptr(c_str) }; + let str = c_str.to_str()?; + Ok(Some(str)) +} + +/// Converts a Rust string to a C string. +pub fn string_to_c(s: S) -> anyhow::Result<*const c_char> +where + S: Into>, +{ + Ok(CString::new(s)?.into_raw() as *const _) +} diff --git a/packages/cedar_ffi/src/src/c_api/store.rs b/packages/cedar_ffi/src/src/c_api/store.rs new file mode 100644 index 00000000..dd76e9c0 --- /dev/null +++ b/packages/cedar_ffi/src/src/c_api/store.rs @@ -0,0 +1,336 @@ +use cedar_policy::{Entities, EntityUid, Policy, PolicyId, PolicySet, Schema}; +use std::{ + ffi::c_char, + ptr::{null, null_mut}, + str::FromStr, +}; + +use super::helpers; +use crate::CedarStore; + +#[derive(Debug)] +#[repr(C)] +pub struct CCedarConfig { + /// The Cedar schema, in JSON format. + /// + /// This is a required field. + schema_json: *const c_char, + + /// The Cedar entities, in JSON format. + /// + /// Can be `null` to indicate no entities. Entities can be added later with [cedar_add_entities] + /// or [cedar_set_entities]. + entities_json: *const c_char, + + /// The Cedar policies, in JSON format. + /// + /// Can be `null` to indicate no policies. Policies can be added later with [cedar_add_policies] + /// or [cedar_set_policies]. + policies_json: *const c_char, + + /// Whether to validate the Cedar policies. + validate: bool, + + /// The log level to use for the Cedar policy engine. + /// + /// Must be one of: `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`. + log_level: *const c_char, +} + +#[repr(C)] +pub struct CCedarQuery { + /// The principal to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous principal. + principal_str: *const c_char, + + /// The resource to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous resource. + resource_str: *const c_char, + + /// The action to check authorization for, in entity UID format. + /// + /// Can be `null` to indicate an anonymous action. + action_str: *const c_char, + + /// The check's context, if any, in JSON format. + /// + /// Can be `null` to indicate no context. + context_json: *const c_char, + + /// The Cedar entities, in JSON format. + /// + /// Can be `null` to use the existing entities. + entities_json: *const c_char, + + /// The Cedar policies, in JSON format. + /// + /// Can be `null` to use the existing policies. + policies_json: *const c_char, +} + +/// The result of initializing the Cedar policy engine via [cedar_init]. +#[repr(C)] +pub struct CInitResult { + /// Whether the operation succeeded. + store: *mut CedarStore, + + /// The error message, if any. + /// + /// Can be `null` to indicate no error. + error: *const c_char, +} + +#[derive(Debug)] +#[repr(C)] +pub struct CAuthorizationDecision { + /// Whether the request is authorized. + is_authorized: bool, + + /// The error message, if any. + /// + /// If set, the authorization decision could not be made and no other + /// fields should be used. + completion_error: *const c_char, + + /// The array of reasons. + /// + /// Will be `null` if there are no reasons. + reasons: *const *const c_char, + + /// The length of the array of reasons. + /// + /// Will be `0` if there are no reasons. + reasons_len: usize, + + /// The array of errors. + /// + /// Will be `null` if there are no errors. + errors: *const *const c_char, + + /// The length of the array of errors. + /// + /// Will be `0` if there are no errors. + errors_len: usize, +} + +/// Initializes the Cedar policy engine with the given configuration. +/// +/// This must be called exactly once before any other Cedar functions are called. +#[no_mangle] +pub extern "C" fn cedar_init(config: *const CCedarConfig) -> CInitResult { + match init_from_c_config(config) { + Ok(store) => CInitResult { + store, + error: null(), + }, + Err(error) => { + let error = helpers::string_to_c(error.to_string()).unwrap(); + CInitResult { + store: null_mut(), + error, + } + } + } +} + +/// De-initializes the Cedar policy engine. +/// +/// This must be called exactly once when the Cedar policy engine is no longer needed. +#[no_mangle] +pub extern "C" fn cedar_deinit(store: *mut CedarStore) { + helpers::log_on_error( + || { + anyhow::ensure!(!store.is_null(), "store is null"); + let _ = unsafe { Box::from_raw(store) }; + Ok(()) + }, + "deinitializing cedar", + |_| (), + ) +} + +#[derive(Debug)] +#[repr(C)] +pub struct CCedarPolicy { + policy: *const c_char, +} + +#[derive(Debug)] +#[repr(C)] +pub struct CCedarPolicySet { + policies_len: usize, + policies: *const *const c_char, +} + +/// Performs a Cedar authorization check. +/// +/// This must be called after [cedar_init] has been called. +#[no_mangle] +pub extern "C" fn cedar_is_authorized( + store: *mut CedarStore, + query: *const CCedarQuery, +) -> CAuthorizationDecision { + match _cedar_is_authorized(store, query) { + Ok(decision) => decision, + Err(error) => { + let error_str = helpers::string_to_c(error.to_string()).unwrap(); + CAuthorizationDecision { + is_authorized: false, + completion_error: error_str, + reasons: null(), + reasons_len: 0, + errors: null(), + errors_len: 0, + } + } + } +} + +fn _cedar_is_authorized( + store: *mut CedarStore, + query: *const CCedarQuery, +) -> anyhow::Result { + anyhow::ensure!(!store.is_null(), "store is null"); + anyhow::ensure!(!query.is_null(), "query is null"); + let store = unsafe { &*store }; + let query = unsafe { &*query }; + + let principal = helpers::nullable_string_from_c(query.principal_str)?; + let resource = helpers::nullable_string_from_c(query.resource_str)?; + let action = helpers::nullable_string_from_c(query.action_str)?; + let context_json = helpers::nullable_string_from_c(query.context_json)?; + let entities_json = helpers::nullable_string_from_c(query.entities_json)?; + let policies_json = helpers::nullable_string_from_c(query.policies_json)?; + + log::trace!( + "_cedar_is_authorized(principal={:?}, resource={:?}, action={:?}, context={:?})", + principal, + resource, + action, + context_json, + ); + + let principal_id = match principal { + Some(principal) => Some(EntityUid::from_str(principal)?), + None => None, + }; + let resource_id = match resource { + Some(resource) => Some(EntityUid::from_str(resource)?), + None => None, + }; + let action_id = match action { + Some(action) => Some(EntityUid::from_str(action)?), + None => None, + }; + let context = match context_json { + Some(context_json) => Some(cedar_policy::Context::from_json_str( + context_json, + action_id.as_ref().map(|a| (&store.schema, a)), + )?), + None => None, + }; + let entities = match entities_json { + Some(entities_json) => Some(Entities::from_json_str(entities_json, Some(&store.schema))?), + None => None, + }; + let policies = match policies_json { + Some(policies_json_str) => { + let policies_json: serde_json::Value = serde_json::from_str(policies_json_str)?; + let policies_map = policies_json + .as_object() + .ok_or(anyhow::anyhow!("policies must be an object"))?; + let mut policy_set = PolicySet::new(); + for (k, v) in policies_map.to_owned() { + let policy_id = k.as_str(); + let policy = Policy::from_json(Some(PolicyId::from_str(policy_id)?), v)?; + policy_set.add(policy)?; + } + Some(policy_set) + } + None => None, + }; + let response = store.is_authorized( + principal_id, + resource_id, + action_id, + context, + policies.as_ref(), + entities.as_ref(), + )?; + let errors = response + .diagnostics() + .errors() + .map(|e| helpers::string_to_c(e.to_string())) + .collect::>>()? + .to_owned(); + let errors_len = errors.len(); + let errors_ptr = errors.as_ptr(); + std::mem::forget(errors); + + let reasons = response + .diagnostics() + .reason() + .map(|r| helpers::string_to_c(r.to_string())) + .collect::>>()? + .to_owned(); + let reasons_len = reasons.len(); + let reasons_ptr = reasons.as_ptr(); + std::mem::forget(reasons); + + let c_response = CAuthorizationDecision { + is_authorized: match response.decision() { + cedar_policy::Decision::Allow => true, + cedar_policy::Decision::Deny => false, + }, + completion_error: null(), + reasons: reasons_ptr, + reasons_len, + errors: errors_ptr, + errors_len, + }; + Ok(c_response) +} + +/// Initializes the Cedar policy engine with the given C configuration. +fn init_from_c_config(config: *const CCedarConfig) -> anyhow::Result<*mut CedarStore> { + anyhow::ensure!(!config.is_null(), "config is null"); + let config = unsafe { &*config }; + + let log_level = helpers::string_from_c("log_level", config.log_level)?; + if !log_level.eq_ignore_ascii_case("OFF") { + helpers::init_logging(log::Level::from_str(log_level)?); + } + + let schema_json = helpers::string_from_c("schema_json", config.schema_json)?; + let schema = Schema::from_str(schema_json)?; + + let entities_json = helpers::nullable_string_from_c(config.entities_json)?; + let entities = match entities_json { + Some(entities_json) => Entities::from_json_str(entities_json, Some(&schema))?, + None => Entities::empty(), + }; + + let policies_json = helpers::nullable_string_from_c(config.policies_json)?; + let policies = match policies_json { + Some(policies_json_str) => { + let policies_json: serde_json::Value = serde_json::from_str(policies_json_str)?; + let policies_map = policies_json + .as_object() + .ok_or(anyhow::anyhow!("policies must be an object"))?; + let mut policy_set = PolicySet::new(); + for (k, v) in policies_map.to_owned() { + let policy_id = k.as_str(); + let policy = Policy::from_json(Some(PolicyId::from_str(policy_id)?), v)?; + policy_set.add(policy)?; + } + policy_set + } + None => PolicySet::new(), + }; + + let store = CedarStore::new(schema, entities, policies, config.validate)?; + let store_ptr = Box::into_raw(Box::new(store)); + Ok(store_ptr) +} diff --git a/packages/cedar_ffi/src/src/lib.rs b/packages/cedar_ffi/src/src/lib.rs new file mode 100644 index 00000000..06118a17 --- /dev/null +++ b/packages/cedar_ffi/src/src/lib.rs @@ -0,0 +1,94 @@ +use cedar_policy::{ + Authorizer, Context, Entities, EntityUid, PolicySet, Request, Response, Schema, ValidationMode, + Validator, +}; + +// Declare that the c_api.rs file exists and is a public sub-namespace. +// C doesn't care about the namespaces, but Rust does. +mod c_api; + +#[derive(Debug)] +pub struct CedarStore { + schema: Schema, + entities: Entities, + policies: PolicySet, + authorizer: Authorizer, + should_validate: bool, +} + +impl CedarStore { + /// Creates a new [CedarStore] instance. + pub fn new( + schema: Schema, + entities: Entities, + policies: PolicySet, + should_validate: bool, + ) -> anyhow::Result { + if should_validate { + let validator = Validator::new(schema.clone()); + let validation_res = validator.validate(&policies, ValidationMode::default()); + anyhow::ensure!( + validation_res.validation_passed(), + "Validation failed: {}", + validation_res + .validation_errors() + .map(|e| e.to_string()) + .collect::>() + .join("\n"), + ); + } + Ok(Self { + schema, + entities, + policies, + authorizer: Authorizer::new(), + should_validate, + }) + } + + /// Performs a Cedar authorization check. + pub fn is_authorized( + &self, + principal: Option, + resource: Option, + action: Option, + context: Option, + policies: Option<&PolicySet>, + entities: Option<&Entities>, + ) -> anyhow::Result { + log::trace!( + r"is_authorized( + principal={:?}, + resource={:?}, + action={:?}, + context={:?}, + should_validate={}, + schema={:?} + )", + principal, + resource, + action, + context, + self.should_validate, + self.schema, + ); + let request = Request::new( + principal, + action, + resource, + context.unwrap_or(Context::empty()), + Some(&self.schema), + )?; + let response = self.authorizer.is_authorized( + &request, + policies.unwrap_or(&self.policies), + entities.unwrap_or(&self.entities), + ); + log::trace!( + "is_authorized(request={:?}, response={:?})", + request, + response + ); + Ok(response) + } +} diff --git a/packages/cedar_ffi/test/corpus_test.dart b/packages/cedar_ffi/test/corpus_test.dart new file mode 100644 index 00000000..4c3c10c2 --- /dev/null +++ b/packages/cedar_ffi/test/corpus_test.dart @@ -0,0 +1,82 @@ +import 'package:cedar/cedar.dart'; +import 'package:cedar_ffi/cedar_ffi.dart'; +import 'package:cedar_ffi/testing/cedar_test_corpus.dart'; +import 'package:test/test.dart'; + +void main() { + group('Corpus', () { + for (final CedarTest( + :name, + :schemaJson, + :entitiesJson, + :policiesCedar, + :shouldValidate, + :queries, + ) in cedarCorpusTests.values) { + group(name, () { + late final CedarEngine cedar; + + setUpAll(() { + cedar = CedarEngine( + schema: CedarSchema.fromJson(schemaJson), + entities: entitiesJson + .map( + (entity) => CedarEntity.fromJson( + entity as Map, + ), + ) + .toList(), + policies: CedarPolicySetFfi.fromCedar(policiesCedar), + validate: shouldValidate, + logLevel: CedarLogLevel.trace, + ); + addTearDown(cedar.close); + }); + + test('can parse schema', () { + final schema = CedarSchema.fromJson(schemaJson); + expect(schema.toJson(), equals(schemaJson)); + }); + + test('can parse entities', () { + final entities = entitiesJson + .map((entity) => + CedarEntity.fromJson(entity as Map)) + .toList(); + expect(entities.map((e) => e.toJson()), equals(entitiesJson)); + }); + + for (final query in queries) { + test(query.description, () { + final response = cedar.isAuthorized( + CedarAuthorizationRequest( + principal: query.principal, + action: query.action, + resource: query.resource, + context: query.context + .map((k, v) => MapEntry(k, CedarValueJson.fromJson(v))), + ), + ); + expect(response.decision, query.decision); + expect( + response.errorMessages, + orderedEquals([ + for (final policyId in query.errors) + startsWith('while evaluating policy `$policyId`') + ]), + ); + expect(response.reasons, query.reasons); + }); + } + + test('can parse policies', () { + final rawPolicies = parsePolicies(policiesCedar); + final policies = CedarPolicySet.fromJson(rawPolicies).policies; + for (final MapEntry(key: id, value: policy) in policies.entries) { + expect(policy.toJson(), equals(rawPolicies[id])); + } + }); + }); + } + }); +} diff --git a/packages/cedar_ffi/third_party/cedar b/packages/cedar_ffi/third_party/cedar new file mode 160000 index 00000000..aa3ca246 --- /dev/null +++ b/packages/cedar_ffi/third_party/cedar @@ -0,0 +1 @@ +Subproject commit aa3ca2467666bb295f03932b63aedd5063e38daa diff --git a/packages/cedar_ffi/tool/generate_tests.dart b/packages/cedar_ffi/tool/generate_tests.dart new file mode 100644 index 00000000..cc6d08cf --- /dev/null +++ b/packages/cedar_ffi/tool/generate_tests.dart @@ -0,0 +1,94 @@ +import 'dart:convert'; +import 'dart:io'; + +import 'package:cedar_ffi/testing/cedar_test_corpus.dart'; +import 'package:path/path.dart' as p; + +Future main() async { + final testRoot = p.join( + Directory.current.path, + 'third_party', + 'cedar', + 'cedar-integration-tests', + ); + final outputFile = File.fromUri( + Directory.current.uri.resolve('lib/src/testing/corpus.json'), + ); + await outputFile.create(recursive: true); + final testFiles = Directory(p.join(testRoot, 'corpus_tests')) + .listSync() + .cast() + .where((file) { + final name = p.basename(file.path); + return name.endsWith('.json') && + !name.startsWith('schema_') && + !name.startsWith('policies_') && + !name.startsWith('entities_'); + }); + const skipTests = { + '57b7cfe0e1f8f9067164d7fb9f13e8b5da276ba5': 'Bad policy set', + '38d1fcf284cdf4f1c53cb41c358b757918075cc0': 'Bad policy set', + '7ca848ce836993ff836dd884591a6ae2ea97250e': 'Bad policy set', + 'c1b7e2298e77b88e1c25cf5efb2f048a18475ba3': 'Bad policy set', + }; + final testData = {}; + for (final testFile in testFiles) { + final name = p.basenameWithoutExtension(testFile.path); + if (skipTests[name] case final reason?) { + print('Skipping $name: $reason'); + continue; + } + final json = + jsonDecode(testFile.readAsStringSync()) as Map; + switch (json) { + case { + 'schema': final String schemaPath, + 'policies': final String policiesPath, + 'should_validate': final bool shouldValidate, + 'entities': final String entitiesPath, + 'queries': final List queries, + }: + final test = CedarTest( + name: name, + schemaJson: jsonDecode( + File(p.join(testRoot, schemaPath)).readAsStringSync(), + ) as Map, + policiesCedar: + File(p.join(testRoot, policiesPath)).readAsStringSync(), + shouldValidate: shouldValidate, + entitiesJson: jsonDecode( + File(p.join(testRoot, entitiesPath)).readAsStringSync(), + ) as List, + queries: queries + .map( + (query) => CedarQuery.fromJson(query as Map), + ) + .toList(), + ); + testData[name] = test; + default: + throw ArgumentError.value(json, 'json', 'Invalid test data ($name)'); + } + } + await outputFile.writeAsString( + jsonEncode(testData.map((k, v) => MapEntry(k, v.toJson()))), + ); + final result = await Process.run( + Platform.resolvedExecutable, + [ + '--enable-experiment=native-assets', + 'run', + 'build_runner', + 'build', + '--delete-conflicting-outputs' + ], + ); + if (result.exitCode != 0) { + throw ProcessException( + 'dart', + ['build_runner', 'build', '--delete-conflicting-outputs'], + '${result.stdout}\n${result.stderr}', + result.exitCode, + ); + } +}