├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── build_and_test.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── .vscode-test.js ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── NOTICE ├── README.md ├── development.md ├── docs └── marketplace │ ├── cedar_commands.png │ ├── cedar_entities.gif │ ├── cedar_markdown.png │ ├── cedar_policy.gif │ └── cedar_schema.gif ├── eslint.config.mjs ├── icons ├── CedarSchema_16.svg ├── Cedar_16.svg └── cedar-policy.png ├── language-configuration.json ├── package.json ├── schemas ├── README.md ├── cedarauth.schema.json ├── cedarentities.schema.json ├── cedarschema.schema.json └── cedartemplatelinks.schema.json ├── src ├── about.ts ├── cedarschema.d.ts ├── codelens.ts ├── commands.ts ├── completion.ts ├── completionjson.ts ├── definition.ts ├── diagnostics.ts ├── documentsymbols.ts ├── extension.ts ├── fileutil.ts ├── format.ts ├── generate.ts ├── help.ts ├── hover.ts ├── parser.ts ├── policy.ts ├── provider.ts ├── quickfix.ts ├── regex.ts ├── test │ └── suite │ │ ├── cedar-wasm.test.ts │ │ ├── completion.test.ts │ │ ├── completionjson.test.ts │ │ ├── extension.test.ts │ │ └── validation.test.ts └── validate.ts ├── syntaxes ├── cedar.tmLanguage.json ├── cedarschema.tmLanguage.json └── codeblock.json ├── testdata ├── RFC48 │ ├── cedarschema │ └── cedarschema.json ├── RFC53 │ ├── cedarschema │ ├── cedarschema.json │ └── policies.cedar ├── RFC82 │ ├── cedarentities.json │ ├── cedarschema │ ├── cedarschema.json │ └── policies.cedar ├── actionparse │ └── cedarschema ├── atline │ └── cedarschema.json ├── attributes │ ├── cedarschema.json │ └── test.cedar ├── blank │ └── cedarschema.json ├── context │ ├── cedarschema.json │ └── commonTypes.cedar ├── datatypes │ ├── cedarschema │ └── policies.cedar ├── entityattr │ ├── cedarschema.json │ ├── exist.cedarentities.json │ ├── expected.cedarentities.json │ ├── expected2.cedarentities.json │ ├── mismatch.cedarentities.json │ ├── mismatchentity.cedarentities.json │ ├── missingattrs.cedarentities.json │ └── missingparents.cedarentities.json ├── entitytype │ ├── cedarschema.json │ ├── missingnamespace.cedarentities.json │ └── notallowedparent.cedarentities.json ├── narrow │ ├── cedarschema.json │ └── policies.cedar ├── notfound │ └── policy.cedar ├── offset │ ├── cedarschema.json │ └── policy.cedar ├── parse │ ├── commontype.cedarschema.json │ ├── entitytype.cedarschema.json │ └── namespace.cedarschema.json ├── policyid │ ├── cdk.cedar │ ├── cedarentities.json │ ├── duplicate.cedar │ ├── inferred.cedar │ ├── mixed.cedar │ ├── run.sh │ └── unique.cedar ├── shadow │ └── Demo.cedarschema ├── triple │ ├── cedarschema.json │ └── entities.cedar ├── undeclared │ ├── actions.cedarschema.json │ ├── commontype.cedarschema │ ├── commontype.cedarschema.json │ ├── entitytype.cedarschema │ └── entitytype.cedarschema.json └── unrecognized │ ├── cedarschema.json │ └── policy.cedar ├── tsconfig.json └── vscode-cedar-wasm ├── Cargo.lock ├── Cargo.toml ├── build.rs ├── src ├── entities_validator.rs ├── format.rs ├── lib.rs ├── policy.rs ├── policy_validator.rs ├── schema_translate.rs ├── schema_validator.rs ├── syntax_validator.rs ├── utils.rs └── validate_message.rs └── tests └── node.rs /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/build_and_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.github/workflows/build_and_test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | # Ignore artifacts: 3 | dist 4 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | singleQuote: true, 3 | }; 4 | -------------------------------------------------------------------------------- /.vscode-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscode-test.js -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/.vscodeignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright Cedar Contributors 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/README.md -------------------------------------------------------------------------------- /development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/development.md -------------------------------------------------------------------------------- /docs/marketplace/cedar_commands.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/docs/marketplace/cedar_commands.png -------------------------------------------------------------------------------- /docs/marketplace/cedar_entities.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/docs/marketplace/cedar_entities.gif -------------------------------------------------------------------------------- /docs/marketplace/cedar_markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/docs/marketplace/cedar_markdown.png -------------------------------------------------------------------------------- /docs/marketplace/cedar_policy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/docs/marketplace/cedar_policy.gif -------------------------------------------------------------------------------- /docs/marketplace/cedar_schema.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/docs/marketplace/cedar_schema.gif -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /icons/CedarSchema_16.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/icons/CedarSchema_16.svg -------------------------------------------------------------------------------- /icons/Cedar_16.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/icons/Cedar_16.svg -------------------------------------------------------------------------------- /icons/cedar-policy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/icons/cedar-policy.png -------------------------------------------------------------------------------- /language-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/language-configuration.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/package.json -------------------------------------------------------------------------------- /schemas/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/schemas/README.md -------------------------------------------------------------------------------- /schemas/cedarauth.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/schemas/cedarauth.schema.json -------------------------------------------------------------------------------- /schemas/cedarentities.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/schemas/cedarentities.schema.json -------------------------------------------------------------------------------- /schemas/cedarschema.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/schemas/cedarschema.schema.json -------------------------------------------------------------------------------- /schemas/cedartemplatelinks.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/schemas/cedartemplatelinks.schema.json -------------------------------------------------------------------------------- /src/about.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/about.ts -------------------------------------------------------------------------------- /src/cedarschema.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/cedarschema.d.ts -------------------------------------------------------------------------------- /src/codelens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/codelens.ts -------------------------------------------------------------------------------- /src/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/commands.ts -------------------------------------------------------------------------------- /src/completion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/completion.ts -------------------------------------------------------------------------------- /src/completionjson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/completionjson.ts -------------------------------------------------------------------------------- /src/definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/definition.ts -------------------------------------------------------------------------------- /src/diagnostics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/diagnostics.ts -------------------------------------------------------------------------------- /src/documentsymbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/documentsymbols.ts -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/extension.ts -------------------------------------------------------------------------------- /src/fileutil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/fileutil.ts -------------------------------------------------------------------------------- /src/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/format.ts -------------------------------------------------------------------------------- /src/generate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/generate.ts -------------------------------------------------------------------------------- /src/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/help.ts -------------------------------------------------------------------------------- /src/hover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/hover.ts -------------------------------------------------------------------------------- /src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/parser.ts -------------------------------------------------------------------------------- /src/policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/policy.ts -------------------------------------------------------------------------------- /src/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/provider.ts -------------------------------------------------------------------------------- /src/quickfix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/quickfix.ts -------------------------------------------------------------------------------- /src/regex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/regex.ts -------------------------------------------------------------------------------- /src/test/suite/cedar-wasm.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/test/suite/cedar-wasm.test.ts -------------------------------------------------------------------------------- /src/test/suite/completion.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/test/suite/completion.test.ts -------------------------------------------------------------------------------- /src/test/suite/completionjson.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/test/suite/completionjson.test.ts -------------------------------------------------------------------------------- /src/test/suite/extension.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/test/suite/extension.test.ts -------------------------------------------------------------------------------- /src/test/suite/validation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/test/suite/validation.test.ts -------------------------------------------------------------------------------- /src/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/src/validate.ts -------------------------------------------------------------------------------- /syntaxes/cedar.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/syntaxes/cedar.tmLanguage.json -------------------------------------------------------------------------------- /syntaxes/cedarschema.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/syntaxes/cedarschema.tmLanguage.json -------------------------------------------------------------------------------- /syntaxes/codeblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/syntaxes/codeblock.json -------------------------------------------------------------------------------- /testdata/RFC48/cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC48/cedarschema -------------------------------------------------------------------------------- /testdata/RFC48/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC48/cedarschema.json -------------------------------------------------------------------------------- /testdata/RFC53/cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC53/cedarschema -------------------------------------------------------------------------------- /testdata/RFC53/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC53/cedarschema.json -------------------------------------------------------------------------------- /testdata/RFC53/policies.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC53/policies.cedar -------------------------------------------------------------------------------- /testdata/RFC82/cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC82/cedarentities.json -------------------------------------------------------------------------------- /testdata/RFC82/cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC82/cedarschema -------------------------------------------------------------------------------- /testdata/RFC82/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC82/cedarschema.json -------------------------------------------------------------------------------- /testdata/RFC82/policies.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/RFC82/policies.cedar -------------------------------------------------------------------------------- /testdata/actionparse/cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/actionparse/cedarschema -------------------------------------------------------------------------------- /testdata/atline/cedarschema.json: -------------------------------------------------------------------------------- 1 | { 2 | "" : {} 3 | } -------------------------------------------------------------------------------- /testdata/attributes/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/attributes/cedarschema.json -------------------------------------------------------------------------------- /testdata/attributes/test.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/attributes/test.cedar -------------------------------------------------------------------------------- /testdata/blank/cedarschema.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/context/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/context/cedarschema.json -------------------------------------------------------------------------------- /testdata/context/commonTypes.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/context/commonTypes.cedar -------------------------------------------------------------------------------- /testdata/datatypes/cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/datatypes/cedarschema -------------------------------------------------------------------------------- /testdata/datatypes/policies.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/datatypes/policies.cedar -------------------------------------------------------------------------------- /testdata/entityattr/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/cedarschema.json -------------------------------------------------------------------------------- /testdata/entityattr/exist.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/exist.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/expected.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/expected.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/expected2.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/expected2.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/mismatch.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/mismatch.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/mismatchentity.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/mismatchentity.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/missingattrs.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/missingattrs.cedarentities.json -------------------------------------------------------------------------------- /testdata/entityattr/missingparents.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entityattr/missingparents.cedarentities.json -------------------------------------------------------------------------------- /testdata/entitytype/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entitytype/cedarschema.json -------------------------------------------------------------------------------- /testdata/entitytype/missingnamespace.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entitytype/missingnamespace.cedarentities.json -------------------------------------------------------------------------------- /testdata/entitytype/notallowedparent.cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/entitytype/notallowedparent.cedarentities.json -------------------------------------------------------------------------------- /testdata/narrow/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/narrow/cedarschema.json -------------------------------------------------------------------------------- /testdata/narrow/policies.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/narrow/policies.cedar -------------------------------------------------------------------------------- /testdata/notfound/policy.cedar: -------------------------------------------------------------------------------- 1 | permit (principal action resource); -------------------------------------------------------------------------------- /testdata/offset/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/offset/cedarschema.json -------------------------------------------------------------------------------- /testdata/offset/policy.cedar: -------------------------------------------------------------------------------- 1 | permit (principal, action, resource) 2 | when { 1 == true }; -------------------------------------------------------------------------------- /testdata/parse/commontype.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/parse/commontype.cedarschema.json -------------------------------------------------------------------------------- /testdata/parse/entitytype.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/parse/entitytype.cedarschema.json -------------------------------------------------------------------------------- /testdata/parse/namespace.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/parse/namespace.cedarschema.json -------------------------------------------------------------------------------- /testdata/policyid/cdk.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/cdk.cedar -------------------------------------------------------------------------------- /testdata/policyid/cedarentities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/cedarentities.json -------------------------------------------------------------------------------- /testdata/policyid/duplicate.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/duplicate.cedar -------------------------------------------------------------------------------- /testdata/policyid/inferred.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/inferred.cedar -------------------------------------------------------------------------------- /testdata/policyid/mixed.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/mixed.cedar -------------------------------------------------------------------------------- /testdata/policyid/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/run.sh -------------------------------------------------------------------------------- /testdata/policyid/unique.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/policyid/unique.cedar -------------------------------------------------------------------------------- /testdata/shadow/Demo.cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/shadow/Demo.cedarschema -------------------------------------------------------------------------------- /testdata/triple/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/triple/cedarschema.json -------------------------------------------------------------------------------- /testdata/triple/entities.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/triple/entities.cedar -------------------------------------------------------------------------------- /testdata/undeclared/actions.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/undeclared/actions.cedarschema.json -------------------------------------------------------------------------------- /testdata/undeclared/commontype.cedarschema: -------------------------------------------------------------------------------- 1 | entity User = {"name": string}; -------------------------------------------------------------------------------- /testdata/undeclared/commontype.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/undeclared/commontype.cedarschema.json -------------------------------------------------------------------------------- /testdata/undeclared/entitytype.cedarschema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/undeclared/entitytype.cedarschema -------------------------------------------------------------------------------- /testdata/undeclared/entitytype.cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/undeclared/entitytype.cedarschema.json -------------------------------------------------------------------------------- /testdata/unrecognized/cedarschema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/unrecognized/cedarschema.json -------------------------------------------------------------------------------- /testdata/unrecognized/policy.cedar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/testdata/unrecognized/policy.cedar -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vscode-cedar-wasm/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/Cargo.lock -------------------------------------------------------------------------------- /vscode-cedar-wasm/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/Cargo.toml -------------------------------------------------------------------------------- /vscode-cedar-wasm/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/build.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/entities_validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/entities_validator.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/format.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/format.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/lib.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/policy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/policy.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/policy_validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/policy_validator.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/schema_translate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/schema_translate.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/schema_validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/schema_validator.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/syntax_validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/syntax_validator.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/utils.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/src/validate_message.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/src/validate_message.rs -------------------------------------------------------------------------------- /vscode-cedar-wasm/tests/node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cedar-policy/vscode-cedar/HEAD/vscode-cedar-wasm/tests/node.rs --------------------------------------------------------------------------------