{"id":37822272,"url":"https://github.com/elimity-com/scim","last_synced_at":"2026-01-16T15:42:50.263Z","repository":{"id":35005242,"uuid":"177786106","full_name":"elimity-com/scim","owner":"elimity-com","description":"Golang Implementation of the SCIM v2 Specification","archived":false,"fork":false,"pushed_at":"2024-03-20T12:20:52.000Z","size":433,"stargazers_count":221,"open_issues_count":22,"forks_count":65,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-12-24T03:06:31.895Z","etag":null,"topics":["iam","scim","scim-2"],"latest_commit_sha":null,"homepage":"","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/elimity-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-03-26T12:40:30.000Z","updated_at":"2025-12-17T19:24:40.000Z","dependencies_parsed_at":"2024-03-17T17:29:30.850Z","dependency_job_id":"41b936e7-82bb-4a48-a5cf-bdb06105336e","html_url":"https://github.com/elimity-com/scim","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/elimity-com/scim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elimity-com%2Fscim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elimity-com%2Fscim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elimity-com%2Fscim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elimity-com%2Fscim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elimity-com","download_url":"https://codeload.github.com/elimity-com/scim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elimity-com%2Fscim/sbom","scorecard":{"id":372874,"data":{"date":"2025-08-11","repo":{"name":"github.com/elimity-com/scim","commit":"172bf2aee9c861ef5471ba1918044d8d5f44397e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"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":9,"reason":"Found 10/11 approved changesets -- score normalized to 9","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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pull_request.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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:6: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull_request.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/elimity-com/scim/pull_request.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand 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":"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.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}}]},"last_synced_at":"2025-08-18T13:24:39.215Z","repository_id":35005242,"created_at":"2025-08-18T13:24:39.215Z","updated_at":"2025-08-18T13:24:39.215Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["iam","scim","scim-2"],"created_at":"2026-01-16T15:42:50.187Z","updated_at":"2026-01-16T15:42:50.250Z","avatar_url":"https://github.com/elimity-com.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![scim-logo](LOGO.png)\n\n[![GoVersion](https://img.shields.io/github/go-mod/go-version/elimity-com/scim.svg)](https://github.com/elimity-com/scim)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/elimity-com/scim)\n\n[![Tag](https://img.shields.io/github/tag/elimity-com/scim.svg)](https://gitHub.com/elimity-com/scim/releases)\n\nThis is an open source implementation of the [SCIM v2.0](http://www.simplecloud.info/#Specification) specification for\nuse in Golang.\nSCIM defines a flexible schema mechanism and REST API for managing identity data.\nThe goal is to reduce the complexity of user management operations by providing patterns for exchanging schemas using\nHTTP.\n\nIn this implementation it is easy to add *custom* schemas and extensions with the provided structures.\nIncoming resources will be *validated* by their corresponding schemas before being passed on to their callbacks.\n\nThe following features are supported:\n\n- GET for `/Schemas`, `/ServiceProviderConfig` and `/ResourceTypes`\n- CRUD (POST/GET/PUT/DELETE and PATCH) for your own resource types (i.e. `/Users`, `/Groups`, `/Employees`, ...)\n\nOther optional features such as sorting, bulk, etc. are **not** supported in this version.\n\n## Installation\n\nAssuming you already have a (recent) version of Go installed, you can get the code with go get:\n\n```bash\n$ go get github.com/elimity-com/scim\n```\n\n## Usage\n\n**!** errors are ignored for simplicity.\n\n### 1. Create a service provider configuration.\n\n[RFC Config](https://tools.ietf.org/html/rfc7643#section-5) |\n[Example Config](https://tools.ietf.org/html/rfc7643#section-8.5)\n\n```go\nconfig := scim.ServiceProviderConfig{\n    DocumentationURI: optional.NewString(\"www.example.com/scim\"),\n}\n```\n\n**!** no additional features/operations are supported in this version.\n\n### 2. Create all supported schemas and extensions.\n\n[RFC Schema](https://tools.ietf.org/html/rfc7643#section-2) |\n[User Schema](https://tools.ietf.org/html/rfc7643#section-4.1) |\n[Group Schema](https://tools.ietf.org/html/rfc7643#section-4.2) |\n[Extension Schema](https://tools.ietf.org/html/rfc7643#section-4.3)\n\n```go\nschema := schema.Schema{\n    ID:          \"urn:ietf:params:scim:schemas:core:2.0:User\",\n    Name:        optional.NewString(\"User\"),\n    Description: optional.NewString(\"User Account\"),\n    Attributes:  []schema.CoreAttribute{\n        schema.SimpleCoreAttribute(schema.SimpleStringParams(schema.StringParams{\n            Name:       \"userName\",\n            Required:   true,\n            Uniqueness: schema.AttributeUniquenessServer(),\n        })),\n    },\n}\n\nextension := schema.Schema{\n    ID:          \"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User\",\n    Name:        optional.NewString(\"EnterpriseUser\"),\n    Description: optional.NewString(\"Enterprise User\"),\n    Attributes: []schema.CoreAttribute{\n        schema.SimpleCoreAttribute(schema.SimpleStringParams(schema.StringParams{\n            Name: \"employeeNumber\",\n        })),\n        schema.SimpleCoreAttribute(schema.SimpleStringParams(schema.StringParams{\n            Name: \"organization\",\n        })),\n    },\n}\n```\n\n### 3. Create all resource types and their callbacks.\n\n[RFC Resource Type](https://tools.ietf.org/html/rfc7643#section-6) |\n[Example Resource Type](https://tools.ietf.org/html/rfc7643#section-8.6)\n\n#### 3.1 Callback (implementation of `ResourceHandler`)\n\n[Simple In Memory Example](resource_handler_test.go)\n\n```go\nvar userResourceHandler scim.ResourceHandler\n// initialize w/ own implementation\n```\n\n**!** each resource type should have its own resource handler.\n\n#### 3.2 Resource Type\n\n```go\nresourceTypes := []ResourceType{\n    {\n        ID:          optional.NewString(\"User\"),\n        Name:        \"User\",\n        Endpoint:    \"/Users\",\n        Description: optional.NewString(\"User Account\"),\n        Schema:      schema,\n        SchemaExtensions: []SchemaExtension{\n            {Schema: extension},\n        },\n        Handler:     userResourceHandler,\n    },\n},\n```\n\n### 4. Create Server\n\n```go\nserverArgs := \u0026ServerArgs{\n    ServiceProviderConfig: config,\n    ResourceTypes: resourceTypes,\n}\n\nserverOpts := []ServerOption{\n    WithLogger(logger), // optional, default is no logging\n}\n\nserver, err := NewServer(serverArgs, serverOpts...)\n```\n\n## Backwards Compatibility\n\nEven though the SCIM package has been running in some production environments, it is still in an early stage, and not\nall features are supported. So be aware that a change in the minor version could break your implementation. We will not\nmake any breaking changes that takes hours to fix, but some functions might change name or signature.\n\nThis was the case for `v0.1` to `v0.2.0`.\n\n## String Values for Attributes\n\nBy default, the SCIM server will NOT use the `string` type for all attributes, since this is NOT compliant with the\nSCIM specification. It is still possible to enable this behavior by toggling a flag within the `schema` package.\n\n```go\nimport \"github.com/elimity-com/scim/schema\"\n\nschema.SetAllowStringValues(true)\n```\n\n## Addition Checks/Tests\n\nNot everything can be checked by the SCIM server itself.\nBelow are some things listed that we expect that the implementation covers.\n\n**!** this list is currently incomplete!\n\nWe want to keep this list as short as possible.\nIf you have ideas how we could enforce these rules in the server itself do not hesitate to open\n[an issue](https://github.com/elimity-com/scim/issues/new) or a PR.\n\n### Mutability\n\n#### Immutable Attributes\n\n*PUT Handler*: If one or more values are already set for the attribute, the input value(s) MUST match.\n\n#### WriteOnly Attributes\n\n*ALL Handlers*: Attribute values SHALL NOT be returned. \\\nNote: These attributes usually also has a returned setting of \"never\".\n\n## Contributing\n\n[![Contributors](https://img.shields.io/github/contributors/elimity-com/scim.svg)](https://gitHub.com/elimity-com/scim/contributors/)\n\nWe are happy to review pull requests,\nbut please first discuss the change you wish to make via issue, email,\nor any other method with the owners of this repository before making a change.\n\nIf you would like to propose a change please ensure the following:\n\n- All checks of GitHub Actions are\n  passing ([GolangCI-Lint](https://github.com/golangci/golangci-lint): `misspell`, `godot` and `whitespace`)\n- All already existing tests are passing.\n- You have written tests that cover the code you are making, make sure to include edge cases.\n- There is documentation for at least all public functions you have added.\n- New public functions and structures are kept to a minimum.\n- The same practices are applied (such as the anatomy of methods, names, etc.)\n- Your changes are compliant with SCIM v2.0 (released as\n  [RFC7642](https://tools.ietf.org/html/rfc7642),\n  [RFC7643](https://tools.ietf.org/html/rfc7643) and\n  [RFC7644](https://tools.ietf.org/html/rfc7644) under [IETF](https://ietf.org/)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felimity-com%2Fscim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felimity-com%2Fscim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felimity-com%2Fscim/lists"}