{"id":34227166,"url":"https://github.com/truemilk/go-defectdojo","last_synced_at":"2026-03-13T13:34:04.638Z","repository":{"id":40376149,"uuid":"451999578","full_name":"truemilk/go-defectdojo","owner":"truemilk","description":"Go client library for accessing the DefectDojo API","archived":false,"fork":false,"pushed_at":"2026-03-09T21:46:12.000Z","size":141,"stargazers_count":4,"open_issues_count":8,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-10T03:50:15.445Z","etag":null,"topics":["defectdojo","go","golang"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/truemilk/go-defectdojo/defectdojo","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/truemilk.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":"2022-01-25T18:41:24.000Z","updated_at":"2025-12-31T10:02:28.000Z","dependencies_parsed_at":"2025-01-14T10:38:49.677Z","dependency_job_id":"8c092f0b-3148-4e3e-b1d5-5c83e387f18b","html_url":"https://github.com/truemilk/go-defectdojo","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/truemilk/go-defectdojo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truemilk%2Fgo-defectdojo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truemilk%2Fgo-defectdojo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truemilk%2Fgo-defectdojo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truemilk%2Fgo-defectdojo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truemilk","download_url":"https://codeload.github.com/truemilk/go-defectdojo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truemilk%2Fgo-defectdojo/sbom","scorecard":{"id":899755,"data":{"date":"2025-08-11","repo":{"name":"github.com/truemilk/go-defectdojo","commit":"b0c4a30719111796baea8abaadd5ef9377c26ce0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Code-Review","score":4,"reason":"Found 4/9 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":"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":"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":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangcli-lint.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/golangcli-lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangcli-lint.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/golangcli-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gotest.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/gotest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gotest.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/gotest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/secrets.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/secrets.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/secrets.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/truemilk/go-defectdojo/secrets.yml/main?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/golangcli-lint.yml:13","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/golangcli-lint.yml:14","Warn: no topLevel permission defined: .github/workflows/gotest.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/secrets.yml:10","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":"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: MIT License: 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":-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":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 21 commits out of 28 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-24T15:07:19.169Z","repository_id":40376149,"created_at":"2025-08-24T15:07:19.169Z","updated_at":"2025-08-24T15:07:19.169Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30467803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["defectdojo","go","golang"],"created_at":"2025-12-16T00:44:09.497Z","updated_at":"2026-03-13T13:34:04.623Z","avatar_url":"https://github.com/truemilk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-defectdojo\n\n__go-defectdojo__ is a Go client library for accessing the [DefectDojo API](https://defectdojo.github.io/django-DefectDojo/integrations/api-v2-docs/)\n\n## Requirements ##\n\n- Minimum tested Go version is `1.17`\n- The latest version of DefectDojo the APIs are have been tested with is `v2.6.2`\n\n## Basic Usage ##\n\nImport the module in your source code:\n\n```go\nimport \"github.com/truemilk/go-defectdojo/defectdojo\"\n```\n\nCreate a client:\n\n```go\nurl := os.Getenv(\"DOJO_URI\")\ntoken := os.Getenv(\"DOJO_APIKEY\")\n\nclient := \u0026http.Client{\n        Timeout: time.Minute,\n        Transport: \u0026http.Transport{\n          Proxy: http.ProxyFromEnvironment,\n        },\n    }\n\ndj, err := defectdojo.NewDojoClient(url, token, client)\n```\n\nReference the provided methods to call the API:\n\n```go\nctx := context.Background()\n\nopts := \u0026defectdojo.FindingsOptions{\n    Limit:    20,\n    Offset:   5,\n    Prefetch: \"duplicate_finding\",\n}\n\nresp, err := dj.Findings.List(ctx, opts)\n```\n\nMore detailed documentation is available at: https://pkg.go.dev/github.com/truemilk/go-defectdojo/defectdojo\n\nFor additional usage examples, browse the [example](example) folder.\n\n## Roadmap ##\n\nThis library is being initially developed for personal use, so API methods will likely be implemented in the order that they are needed.\nEventually, it would be ideal to cover the entire DefectDojo API, so contributions are of course always welcome.\nThe calling pattern is pretty well established, so adding new methods is relatively straightforward.\n\n## License ##\n\nMIT licensed, see [LICENSE][LICENSE] file.\n\n[LICENSE]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruemilk%2Fgo-defectdojo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruemilk%2Fgo-defectdojo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruemilk%2Fgo-defectdojo/lists"}