{"id":22351897,"url":"https://github.com/screwdriver-cd/sd-cmd","last_synced_at":"2026-03-05T12:31:14.104Z","repository":{"id":27420380,"uuid":"112645080","full_name":"screwdriver-cd/sd-cmd","owner":"screwdriver-cd","description":"Screwdriver commands (Sharing Binaries)","archived":false,"fork":false,"pushed_at":"2025-11-26T00:47:43.000Z","size":189,"stargazers_count":1,"open_issues_count":1,"forks_count":9,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-11-29T04:26:09.811Z","etag":null,"topics":["golang"],"latest_commit_sha":null,"homepage":"https://cd.screwdriver.cd/pipelines/408/events","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/screwdriver-cd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-11-30T18:20:13.000Z","updated_at":"2025-11-26T00:42:50.000Z","dependencies_parsed_at":"2024-12-12T06:19:54.448Z","dependency_job_id":"d4d5f681-8da1-4389-aa37-b0742b34d5fc","html_url":"https://github.com/screwdriver-cd/sd-cmd","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/screwdriver-cd/sd-cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fsd-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fsd-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fsd-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fsd-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screwdriver-cd","download_url":"https://codeload.github.com/screwdriver-cd/sd-cmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fsd-cmd/sbom","scorecard":{"id":806256,"data":{"date":"2025-08-11","repo":{"name":"github.com/screwdriver-cd/sd-cmd","commit":"2903014bff57f8df4708e0f53a39bedeb72b78ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"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":"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":-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":"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.53 not signed: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/84299740","Warn: release artifact v0.0.52 not signed: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/79847101","Warn: release artifact v0.0.51 not signed: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/73377354","Warn: release artifact v0.0.50 not signed: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/69647677","Warn: release artifact v0.0.49 not signed: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/69036663","Warn: release artifact v0.0.53 does not have provenance: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/84299740","Warn: release artifact v0.0.52 does not have provenance: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/79847101","Warn: release artifact v0.0.51 does not have provenance: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/73377354","Warn: release artifact v0.0.50 does not have provenance: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/69647677","Warn: release artifact v0.0.49 does not have provenance: https://api.github.com/repos/screwdriver-cd/sd-cmd/releases/69036663"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"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-23T11:50:22.931Z","repository_id":27420380,"created_at":"2025-08-23T11:50:22.932Z","updated_at":"2025-08-23T11:50:22.932Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30124420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"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":["golang"],"created_at":"2024-12-04T12:16:21.739Z","updated_at":"2026-03-05T12:31:14.079Z","avatar_url":"https://github.com/screwdriver-cd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sd-cmd\n[![Build Status][build-image]][build-url]\n[![Go Report Card][goreport-image]][goreport-url]  \nScrewdriver commands (Sharing Binaries)\n\n## Usage\n\n### Install\n```bash\n$ go get github.com/screwdriver-cd/sd-cmd\n$ cd $GOPATH/src/github.com/screwdriver-cd/sd-cmd\n$ go build -a -o sd-cmd\n```\n\n### Execute\nExecuting a published command. The arguments for published command can be specified by the following `arguments`.\n```bash\nUSAGE:\n   sd-cmd exec [options] [namespace/name@version] [arguments...]\n\nOPTIONS:\n   -debug, --debug    Output debug logs to a file\n   -v, --v            Output verbose log to console\n\nEXAMPLE:\n   sd-cmd exec foo/bar@stable arg1 arg2\n```\n\n#### Debug mode\nIn debug mode, the debug log can be output to a file.  \nIt can be used in one of the following ways.\n- Use `-debug` of `--debug` option\n- Set `SD_CMD_DEBUG_LOG` environment variable to `true`\n\n### Validate\nValidating if yaml is correct as sd-cmd format.\n```bash\nUSAGE:\n   sd-cmd validate [options]\n\nOPTIONS:\n   -f, --f string    Specify the path of yaml to validate (default: sd-command.yaml)\n\nEXAMPLE:\n   sd-cmd validate -f ./sd-command.yaml\n```\n\n### Publish\nPublishing a command specified by a yaml.\n```bash\nUSAGE:\n   sd-cmd publish [options]\n\nOPTIONS:\n   -f, --f string    Specify the path of yaml to publish (default: sd-command.yaml)\n   -t, --t string    Specify the tag given to the command (default: latest)\n\nEXAMPLE:\n   sd-cmd publish -f ./sd-command.yaml -t latest\n```\n\n### Promote\nGiving a `tag` to a `targetVersion` of command. If a `tag` is already set to another version, that tag will be moved to `targetVersion`. `targetVersion` can be set exact version or tag (e.g. 1.0.1, latest).\n```bash\nUSAGE:\n   sd-cmd promote [namespace/name] [targetVersion] [tag]\n\nEXAMPLE:\n   sd-cmd promote foo/bar latest stable\n   sd-cmd promote foo/bar 1.0.1 stable\n```\n\n### Remove tag\nRemoving a `tag` from a version of published command.\n```bash\nUSAGE:\n   sd-cmd removeTag [namespace/name] [tag]\n\nEXAMPLE:\n   sd-cmd removeTag foo/bar stable\n```\n\n## Testing\n```bash\ngo get github.com/screwdriver-cd/sd-cmd\ngo test -cover github.com/screwdriver-cd/sd-cmd/...\n```\n\n## Local configuration\nWe can run sd-cmd locally by setting the environment variable as follows.\nOnly `execute` and `validate` can be used　in local, but not `publish`, `promote`, and `remove tag`.\n```bash\n# e.g. https://api.screwdriver.cd/v4/\n$ export SD_API_URL=${YOUR_SD_API_HOST}/v4/\n# e.g. https://store.screwdriver.cd/v1/\n$ export SD_STORE_URL=${YOUR_SD_STORE_HOST}/v1/\n$ export SD_TOKEN=${YOUR_USER_ACCESS_TOKEN_JWT}\n$ export SD_ARTIFACTS_DIR=${DIRECTORY_TO_OUTPUT_LOGS}\n$ export SD_BASE_COMMAND_PATH=${DIRECTORY_TO_INSTALL_COMMAND}\n```\n\nRefer to our [doc](https://docs.screwdriver.cd/user-guide/tokens#using-access-tokens) on how to get the JWT.\n\n## License\nCode licensed under the BSD 3-Clause license. See LICENSE file for terms.\n\n[build-image]: https://cd.screwdriver.cd/pipelines/408/badge\n[build-url]: https://cd.screwdriver.cd/pipelines/408\n[goreport-image]: https://goreportcard.com/badge/github.com/Screwdriver-cd/sd-cmd\n[goreport-url]: https://goreportcard.com/report/github.com/Screwdriver-cd/sd-cmd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fsd-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrewdriver-cd%2Fsd-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fsd-cmd/lists"}