{"id":19001280,"url":"https://github.com/strongdm/strongdm-sdk-go","last_synced_at":"2026-02-27T13:29:54.577Z","repository":{"id":44247525,"uuid":"242170046","full_name":"strongdm/strongdm-sdk-go","owner":"strongdm","description":"strongDM SDK for the Go programming language.","archived":false,"fork":false,"pushed_at":"2026-01-13T23:13:44.000Z","size":12281,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":16,"default_branch":"master","last_synced_at":"2026-01-14T01:28:17.530Z","etag":null,"topics":["automation","go","go-programming-language","golang","sdk","strongdm","strongdm-sdk"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/strongdm/strongdm-sdk-go/v3?tab=doc","language":null,"has_issues":false,"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/strongdm.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-21T15:25:53.000Z","updated_at":"2026-01-13T23:13:46.000Z","dependencies_parsed_at":"2023-12-08T01:35:02.353Z","dependency_job_id":"bdc7c1cf-f873-426b-b810-549bd4da5b12","html_url":"https://github.com/strongdm/strongdm-sdk-go","commit_stats":{"total_commits":380,"total_committers":21,"mean_commits":"18.095238095238095","dds":0.6815789473684211,"last_synced_commit":"f2d172b9c78ebe6ce27879306de03770bd91f722"},"previous_names":[],"tags_count":241,"template":false,"template_full_name":null,"purl":"pkg:github/strongdm/strongdm-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fstrongdm-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fstrongdm-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fstrongdm-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fstrongdm-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongdm","download_url":"https://codeload.github.com/strongdm/strongdm-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fstrongdm-sdk-go/sbom","scorecard":{"id":647784,"data":{"date":"2025-08-11","repo":{"name":"github.com/strongdm/strongdm-sdk-go","commit":"adf30eb7cf9db68517e05835747b3882cf6677b7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":10,"reason":"15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0536 / GHSA-39qc-96h7-956f / GHSA-hgr8-6h9x-f7q9","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","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","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2020-0015 / GHSA-5rcv-m4m3-hfh7","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"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-21T12:37:18.222Z","repository_id":44247525,"created_at":"2025-08-21T12:37:18.223Z","updated_at":"2025-08-21T12:37:18.223Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["automation","go","go-programming-language","golang","sdk","strongdm","strongdm-sdk"],"created_at":"2024-11-08T18:10:36.063Z","updated_at":"2026-01-17T00:41:53.030Z","avatar_url":"https://github.com/strongdm.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# strongDM SDK for Go\n\nThis is the official [strongDM](https://www.strongdm.com/) SDK for the Go\nprogramming language.\n\nLearn more with our [📚strongDM API docs](https://docs.strongdm.com/references/api) or\n[📓browse the SDK\nreference](https://pkg.go.dev/github.com/strongdm/strongdm-sdk-go/v16?tab=doc).\n\n## Installation\n\n```bash\n$ go get github.com/strongdm/strongdm-sdk-go/v16\n```\n\nstrongDM uses [semantic versioning](https://semver.org/). We do not guarantee\ncompatibility between major versions. Be sure to use version constraints to pin\nyour dependency to the desired major version of the strongDM SDK.\n\n## Authentication\n\nIf you don't already have them you will need to generate a set of API keys,\ninstructions are here: [API\nCredentials](https://docs.strongdm.com/references/api/api-keys)\n\nAdd the keys as environment variables; the SDK will need to access these keys\nfor every request.\n\n```bash\n$ export SDM_API_ACCESS_KEY=\u003cYOUR ACCESS KEY\u003e\n$ export SDM_API_SECRET_KEY=\u003cYOUR SECRET KEY\u003e\n```\n\n## List Users\n\nThe following code lists all registered users:\n\n```go\nfunc main() {\n\tlog.SetFlags(0)\n\taccessKey := os.Getenv(\"SDM_API_ACCESS_KEY\")\n\tsecretKey := os.Getenv(\"SDM_API_SECRET_KEY\")\n\tif accessKey == \"\" || secretKey == \"\" {\n\t\tlog.Fatal(\"SDM_API_ACCESS_KEY and SDM_API_SECRET_KEY must be provided\")\n\t}\n\n\tclient, err := sdm.New(accessKey, secretKey)\n\tif err != nil {\n\t\tlog.Fatal(\"failed to create strongDM client:\", err)\n\t}\n\n\tctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)\n\tdefer cancel()\n\n\tusers, err := client.Accounts().List(ctx, \"\")\n\tif err != nil {\n\t\tlog.Fatal(\"failed to query accounts:\", err)\n\t}\n\tfor users.Next() {\n\t\tuser := users.Value()\n\t\tfmt.Println(user)\n\t}\n\tif err := users.Err(); err != nil {\n\t\tlog.Fatal(\"error while iterating users:\", err)\n\t}\n}\n```\n\n## Useful Links\n\n- Documentation: [sdm package · pkg.go.dev](https://pkg.go.dev/github.com/strongdm/strongdm-sdk-go/v16?tab=doc)\n- [Migrating from Role Grants to Access Rules](https://github.com/strongdm/strongdm-sdk-go/wiki/Migrating-from-Role-Grants-to-Access-Rules)\n- Examples: [GitHub - strongdm/strongdm-sdk-go-examples](https://github.com/strongdm/strongdm-sdk-go-examples)\n  1.  [Managing Resources](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/1_managing_resources)\n  1.  [Managing Accounts](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/2_managing_accounts)\n  1.  [Managing Roles](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/3_managing_roles)\n  1.  [Managing Gateways](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/4_managing_gateways)\n  1.  [Auditing](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/5_auditing)\n  1.  [Managing Access Workflows](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/6_managing_workflows)\n  1.  [Managing Approval Workflows](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/7_managing_approval_workflows)\n  1.  [Managing Policies](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/8_policies)\n  1.  [Managing Hosts](https://github.com/strongdm/strongdm-sdk-go-examples/tree/master/9_host)\n\n## License\n\n[Apache 2](https://github.com/strongdm/strongdm-sdk-go/blob/master/LICENSE)\n\n## Contributing\n\nCurrently, we are not accepting pull requests directly to this repository, but\nour users are some of the most resourceful and ambitious folks out there. So, if\nyou have something to contribute, find a bug, or just want to give us some\nfeedback, please email \u003csupport@strongdm.com\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongdm%2Fstrongdm-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongdm%2Fstrongdm-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongdm%2Fstrongdm-sdk-go/lists"}