{"id":15441901,"url":"https://github.com/mudler/entities","last_synced_at":"2025-10-24T19:46:23.839Z","repository":{"id":43096491,"uuid":"242366962","full_name":"mudler/entities","owner":"mudler","description":":lock_with_ink_pen: Declarative modern identity manager for UNIX systems in Go","archived":false,"fork":false,"pushed_at":"2025-02-17T17:34:30.000Z","size":3863,"stargazers_count":8,"open_issues_count":5,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-23T20:56:41.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/mudler.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":"2020-02-22T15:44:18.000Z","updated_at":"2025-02-17T17:34:00.000Z","dependencies_parsed_at":"2024-10-31T06:01:45.591Z","dependency_job_id":"cee4c5dc-2635-43c1-a912-3f190cdafbf5","html_url":"https://github.com/mudler/entities","commit_stats":{"total_commits":43,"total_committers":8,"mean_commits":5.375,"dds":"0.41860465116279066","last_synced_commit":"90c92a855060d47ada0e14765db6b267d4f6376a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/mudler/entities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fentities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fentities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fentities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fentities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudler","download_url":"https://codeload.github.com/mudler/entities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fentities/sbom","scorecard":{"id":667203,"data":{"date":"2025-08-11","repo":{"name":"github.com/mudler/entities","commit":"f8f9a248edd3c3b280024a93fe0684b85e46534f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"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":-1,"reason":"no workflows found","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":4,"reason":"Found 12/28 approved changesets -- score normalized to 4","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":"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":-1,"reason":"no dependencies found","details":null,"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"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-21T18:29:23.776Z","repository_id":43096491,"created_at":"2025-08-21T18:29:23.776Z","updated_at":"2025-08-21T18:29:23.776Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280857801,"owners_count":26403193,"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-24T02:00:06.418Z","response_time":73,"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-10-01T19:24:05.610Z","updated_at":"2025-10-24T19:46:23.770Z","avatar_url":"https://github.com/mudler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :lock_with_ink_pen: Entities\n\nModern go identity manager for UNIX systems.\n\nEntities parses includes file to generate UNIX-compliant `/etc/passwd` , `/etc/shadow` and `/etc/groups` files.\nIt can be used to handle identities management and honors already existing entities in the system.\n\n\n```\n\n$\u003e entities apply \u003centity.yaml\u003e\n$\u003e entities delete \u003centity.yaml\u003e\n$\u003e entities create \u003centity.yaml\u003e\n\n```\n\n## Entities file format\n\n### Passwd\n\n```yaml\nkind: \"user\"\nusername: \"foo\"\npassword: \"pass\"\nuid: 0\ngid: 0\ninfo: \"Foo!\"\nhomedir: \"/home/foo\"\nshell: \"/bin/bash\"\n```\n\nTo use dynamic uid allocation set the `uid` field with value `-1`:\n\n```yaml\nkind: \"user\"\nusername: \"foo\"\npassword: \"pass\"\nuid: -1\ngid: 500\ninfo: \"Foo!\"\nhomedir: \"/home/foo\"\nshell: \"/bin/bash\"\n```\n\n`entities` will searching for the first available range specified by the env variable\n`ENTITY_DYNAMIC_RANGE` or by the default the range `500-999`.\n\n\nTo set gid with a dynamic id based by the group name you can set the `group` attribute:\n```yaml\nkind: \"user\"\nusername: \"foo\"\npassword: \"pass\"\nuid: 100\ngroup: \"foogroup\"\ninfo: \"Foo!\"\nhomedir: \"/home/foo\"\nshell: \"/bin/bash\"\n```\n\n`entities` will retrieve the `gid` from existing `/etc/group` file.\n\n\n### Gshadow\n\n```yaml\nkind: \"gshadow\"\nname: \"postmaster\"\npassword: \"foo\"\nadministrators: \"barred\"\nmembers: \"baz\"\n```\n\n### Shadow\n\n```yaml\nkind: \"shadow\"\nusername: \"foo\"\npassword: \"bar\"\nlast_changed: 1\nminimum_changed: 2\nmaximum_changed: 3\nwarn: 4\ninactive: 5\nexpire: 6\n```\n\nTo define `last_changed` with a value equal to current days from 1970 use `now`.\n\n### Group\n\n```yaml\nkind: \"group\"\ngroup_name: \"sddm\"\npassword: \"xx\"\ngid: 1\nusers: \"one,two,tree\"\n```\n\nTo assign a dynamic gid it's possible to use the value `-1`:\n\n```yaml\nkind: \"group\"\ngroup_name: \"foogroup\"\npassword: \"xx\"\ngid: -1\nusers: \"one,two,tree\"\n```\n\n`entities` will searching for the first available range specified by the env variable\n`ENTITY_DYNAMIC_RANGE` or by the default the range `500-999`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fentities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudler%2Fentities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fentities/lists"}