{"id":15041192,"url":"https://github.com/basestar/basestar","last_synced_at":"2025-10-10T05:11:44.706Z","repository":{"id":39760462,"uuid":"253273643","full_name":"basestar/basestar","owner":"basestar","description":"Basestar","archived":false,"fork":false,"pushed_at":"2022-12-27T14:41:13.000Z","size":7932,"stargazers_count":8,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T14:52:46.608Z","etag":null,"topics":["api","database","schema"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basestar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-05T15:58:55.000Z","updated_at":"2025-05-09T09:12:49.000Z","dependencies_parsed_at":"2023-01-31T03:45:40.804Z","dependency_job_id":null,"html_url":"https://github.com/basestar/basestar","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/basestar/basestar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basestar%2Fbasestar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basestar%2Fbasestar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basestar%2Fbasestar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basestar%2Fbasestar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basestar","download_url":"https://codeload.github.com/basestar/basestar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basestar%2Fbasestar/sbom","scorecard":{"id":226654,"data":{"date":"2025-08-11","repo":{"name":"github.com/basestar/basestar","commit":"541a7e2d64ff6fece7574843dd1a3a54c8251b1e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/package.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/basestar/basestar/package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/package.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/basestar/basestar/package.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":10,"reason":"SAST tool detected","details":["Info: SAST configuration detected: Sonar","Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-288c-cq4h-88gq","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-mvr2-9pj6-7w5j","Warn: Project is vulnerable to: GHSA-w33c-445m-f8w7","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v","Warn: Project is vulnerable to: GHSA-4g9r-vxhx-9pgx","Warn: Project is vulnerable to: GHSA-7hfm-57qf-j43q","Warn: Project is vulnerable to: GHSA-crv7-7245-f45f","Warn: Project is vulnerable to: GHSA-mc84-pj99-q6hh","Warn: Project is vulnerable to: GHSA-xqfj-vm6h-2x34","Warn: Project is vulnerable to: GHSA-7rjr-3q55-vv33","Warn: Project is vulnerable to: GHSA-8489-44mv-ggj8","Warn: Project is vulnerable to: GHSA-jfh8-c2jp-5v3q","Warn: Project is vulnerable to: GHSA-p6xc-xr62-6r2g","Warn: Project is vulnerable to: GHSA-vwqq-5vrc-xw9h","Warn: Project is vulnerable to: GHSA-6xx3-rg99-gc3p","Warn: Project is vulnerable to: GHSA-8xfc-gm6g-vgpv","Warn: Project is vulnerable to: GHSA-hr8g-6v94-x4m9","Warn: Project is vulnerable to: GHSA-v435-xc8x-wvr9","Warn: Project is vulnerable to: GHSA-wjxj-5m7g-mg7q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T03:56:21.910Z","repository_id":39760462,"created_at":"2025-08-17T03:56:21.911Z","updated_at":"2025-08-17T03:56:21.911Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271455600,"owners_count":24762753,"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-08-21T02:00:08.990Z","response_time":74,"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":["api","database","schema"],"created_at":"2024-09-24T20:45:44.365Z","updated_at":"2025-10-10T05:11:39.668Z","avatar_url":"https://github.com/basestar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Basestar](https://raw.githubusercontent.com/basestar/basestar/master/etc/header.png)\n\n![master build](https://github.com/basestar/basestar/workflows/master%20build/badge.svg?branch=master) [![maven central](https://maven-badges.herokuapp.com/maven-central/io.basestar/basestar/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.basestar/basestar)\n\n# The modern, declarative data toolkit\n\nWriting CRUD layers is a pain, maintaining generated CRUD layers is a pain, you've defined CRUD APIs a million times, and you want to get on with the interesting parts of your project - you should be able to describe your data, the relationships between your data, and rules for accessing your data succinctly, in one place, and all of the infrastructure and machinery implied by that declaration should just exist.\n\nYou shouldn't have to choose between tools that work for your web-app and tools that work for massive scale - online or offline - data processing and analysis. You shouldn't be constrained to one implementation, or trapped by one cloud provider.\n\nBasestar solves a relatively simple problem, but it solves it comprehensively and gives you simplicity and power without taking away flexibility or control.\n\n## Get started\n\nPick the parts you need, for example:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.basestar\u003c/groupId\u003e\n        \u003cartifactId\u003ebasestar-database-server\u003c/artifactId\u003e\n        \u003cversion\u003e${basestar.version}\u003c/version\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.basestar\u003c/groupId\u003e\n        \u003cartifactId\u003ebasestar-storage-dynamodb\u003c/artifactId\u003e\n        \u003cversion\u003e${basestar.version}\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Schema first design\n\nSee: [Basestar schema (basestar-schema)](basestar-schema)\n\n## Integrated expression language\n\nSee: [Basestar expressions (basestar-expression)](basestar-expression)\n\n## Row-level security\n\nWrite me\n\n## Multi-value indexes\n\nWrite me\n\n## Storage engines\n\n- [DynamoDB](basestar-storage-dynamodb)\n- [Cognito users/groups](basestar-storage-cognito)\n- [Elasticsearch](basestar-storage-elasticsearch)\n- [SQL (dialects as per JOOQ)](basestar-storage-sql)\n- [Hazelcast](basestar-storage-hazelcast)\n- [S3](basestar-storage-s3)\n- [Spark](basestar-storage-spark)\n\n\n## Examples\n\n```yaml\n\nPrincipal:\n    type: object\n\nUser:\n    type: object\n    extend: Principal\n    links:\n      groups:\n        schema: Group\n        expression: member.id == this.id for any member in members\n\nGroup:\n    type: object\n    extend: Principal\n    properties:\n      members:\n        array: User\n    indexes:\n      over:\n        member: members\n      partition:\n        - member.id\n\nProject:\n    type: object\n    properties:\n      owner:\n        type: Principal\n    permissions:\n      read:\n        expression: this.principal.id in {caller.id} + {group.id for group in caller.groups}\n        expand:\n          - caller.groups\n\nThing:\n  type: object\n  properties:\n    project:\n      type: Project\n  permissions:\n    read:\n      inherit:\n        - project.read\n        \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasestar%2Fbasestar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasestar%2Fbasestar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasestar%2Fbasestar/lists"}