{"id":19748420,"url":"https://github.com/jumpserver/replay_uploader","last_synced_at":"2025-09-03T09:37:50.820Z","repository":{"id":37977026,"uuid":"334820745","full_name":"jumpserver/replay_uploader","owner":"jumpserver","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-08T07:14:51.000Z","size":98,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-23T00:56:53.007Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jumpserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-02-01T03:37:11.000Z","updated_at":"2025-07-08T07:13:30.000Z","dependencies_parsed_at":"2025-07-17T17:17:39.993Z","dependency_job_id":"7e7a4eb6-4929-4f3a-af87-de8648bf7d2a","html_url":"https://github.com/jumpserver/replay_uploader","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.06666666666666665,"last_synced_commit":"2f0460259dad11f3bc73fb659d5e13c698886f89"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/jumpserver/replay_uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Freplay_uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Freplay_uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Freplay_uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Freplay_uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jumpserver","download_url":"https://codeload.github.com/jumpserver/replay_uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Freplay_uploader/sbom","scorecard":{"id":542537,"data":{"date":"2025-08-11","repo":{"name":"github.com/jumpserver/replay_uploader","commit":"65665174b55ddc5d3268eed607fbc5ca6ce6fcce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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/build.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/jumpserver/replay_uploader/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/jumpserver/replay_uploader/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/jumpserver/replay_uploader/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/jumpserver/replay_uploader/build.yml/master?enable=pin","Info:   0 out of   2 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":"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":0,"reason":"Found 1/28 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":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","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":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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/jumpserver/replay_uploader/releases/230711925","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/jumpserver/replay_uploader/releases/190135083","Warn: release artifact v0.0.10 not signed: https://api.github.com/repos/jumpserver/replay_uploader/releases/117103894","Warn: release artifact v0.0.9 not signed: https://api.github.com/repos/jumpserver/replay_uploader/releases/60785135","Warn: release artifact v0.0.8 not signed: https://api.github.com/repos/jumpserver/replay_uploader/releases/54770182","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/jumpserver/replay_uploader/releases/230711925","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/jumpserver/replay_uploader/releases/190135083","Warn: release artifact v0.0.10 does not have provenance: https://api.github.com/repos/jumpserver/replay_uploader/releases/117103894","Warn: release artifact v0.0.9 does not have provenance: https://api.github.com/repos/jumpserver/replay_uploader/releases/60785135","Warn: release artifact v0.0.8 does not have provenance: https://api.github.com/repos/jumpserver/replay_uploader/releases/54770182"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","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-20T08:35:17.827Z","repository_id":37977026,"created_at":"2025-08-20T08:35:17.827Z","updated_at":"2025-08-20T08:35:17.827Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273423565,"owners_count":25103143,"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-09-03T02:00:09.631Z","response_time":76,"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-11-12T02:21:44.068Z","updated_at":"2025-09-03T09:37:50.769Z","avatar_url":"https://github.com/jumpserver.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JMS 录像上传工具\n\n此工具主要用于 JumpServer 组件录像上传到指定存储，主要包括 OSS、Azure、OBS 和 S3 存储。\n\n### 上传单个录像文件\n\n例：replay_uploader [flag] [flag]\n\n```bash\n    以下是命令行参数\n\n    --date string\n    Target date, 默认当前日期，格式 2021-01-20\n\n    --file string\n    Replay file path，录像文件路径\n\n    --key string\n    Access key，组件使用的认证Key\n    \n    --keyfile string\n    Key file，存储 access key 的文件路径\n    \n    --remove\n    成功上传后，是否删除原 file 文件, (如果不写，默认不删除）\n    \n    --sid string\n    Session ID, 会话ID （如果不写，则从 Replay file 文件名中提取会话 session id）\n\n    --url string\n    JumpServer URL，JMS Core的地址 (default \"http://127.0.0.1:8080\")\n\n```\n\n## 扫描目录上传遗留录像\n\n例：replay_uploader scan  [flag] [flag]\n\n```bash\n    以下是命令行参数\n\n    --baseDir string   需要扫描的遗留的录像文件目录\n\n    --key string       Access key，组件使用的认证Key\n    --keyfile string   Key file，存储 access key 的文件路径\n    --remove           成功上传后，是否删除原 file 文件\n    --url string       JumpServer URL，JMS Core的地址 (default \"http://127.0.0.1:8080\")\n\n```\n\n### 参数注意事项\n\nkey 的值是 base64 之后的结果，例如通过查看组件的key：`9b918f99-29b5-4e99-8c4d-aaba19271111:7568b6da-9d37-46cb-8f4f-cab2e196db23`，\n然后 base64 得到 `OWI5MThmOTktMjliNS00ZTk5LThjNGQtYWFiYTE5MjcxMTExOjc1NjhiNmRhLTlkMzctNDZjYi04ZjRmLWNhYjJlMTk2ZGIyMwo=`\n\nkeyfile 是存储`access key`的文件路径，内容格式类似 `9b918f99-29b5-4e99-8c4d-aaba19271111:7568b6da-9d37-46cb-8f4f-cab2e196db23`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumpserver%2Freplay_uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumpserver%2Freplay_uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumpserver%2Freplay_uploader/lists"}