{"id":22787379,"url":"https://github.com/aserto-dev/check2decision","last_synced_at":"2026-02-19T05:02:54.406Z","repository":{"id":252731446,"uuid":"841280546","full_name":"aserto-dev/check2decision","owner":"aserto-dev","description":"Converts directory check assertions into authorizer check_decision assertions","archived":false,"fork":false,"pushed_at":"2024-12-30T17:15:07.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-30T12:58:48.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aserto-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-12T05:01:41.000Z","updated_at":"2024-12-30T17:15:09.000Z","dependencies_parsed_at":"2024-12-30T18:25:22.471Z","dependency_job_id":"1b2f3da5-9cf3-4897-bb7b-5be880d71356","html_url":"https://github.com/aserto-dev/check2decision","commit_stats":null,"previous_names":["aserto-dev/check2decision"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/aserto-dev/check2decision","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fcheck2decision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fcheck2decision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fcheck2decision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fcheck2decision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aserto-dev","download_url":"https://codeload.github.com/aserto-dev/check2decision/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fcheck2decision/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019061,"owners_count":26086517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T00:55:25.346Z","updated_at":"2025-10-14T11:43:02.241Z","avatar_url":"https://github.com/aserto-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check2decision\n\nConverts directory check assertions into authorizer check_decision assertions\n\n## Usage\n\n```\nUsage: check2decision [flags]\n\nconverts directory check assertions into authorizer check_decision assertions\n\nFlags:\n  -h, --help                          Show context-sensitive help.\n  -i, --input=STRING                  assertions file path\n  -o, --output=STRING                 decisions file path\n      --policy-name=\"policy-rebac\"    policy name\n      --policy-path=\"rebac.check\"     policy package path\n      --policy-rule=\"allowed\"         policy rule name\n      --identity-type=\"sub\"           identity type (sub|jwt|manual|none)\n      --stdin                         read input from StdIn\n      --version                       version info\n```\n\n## Example\n\nInstall the gdrive template using:\n\n```\ntopaz templates install gdrive --force\n```\n\nExecute directory check assertions\n\n```\ntopaz ds test exec $(topaz config info config.topaz_tmpl_dir -r)/gdrive/assertions/gdrive_assertions.json\n```\n\nConvert directory check assertions into authorizer decisions\n\n```\nGDRIVE_ASSERTIONS_DIR=$(topaz config info config.topaz_tmpl_dir -r)/gdrive/assertions\ncheck2decision -i ${GDRIVE_ASSERTIONS_DIR}/gdrive_assertions.json -o ${GDRIVE_ASSERTIONS_DIR}/gdrive_decisions.json\n```\n\nExecute authorizer decision assertions\n\n```\ntopaz az test exec ${GDRIVE_ASSERTIONS_DIR}/gdrive_decisions.json\n```\n\n## Installation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Fcheck2decision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faserto-dev%2Fcheck2decision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Fcheck2decision/lists"}