{"id":42635195,"url":"https://github.com/sfuruya0612/snatch","last_synced_at":"2026-01-29T05:50:23.490Z","repository":{"id":47621281,"uuid":"187754155","full_name":"sfuruya0612/snatch","owner":"sfuruya0612","description":"Cli command to get and display Amazon Web Services resources.","archived":false,"fork":false,"pushed_at":"2025-01-03T13:50:04.000Z","size":13120,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T21:37:55.342Z","etag":null,"topics":["aws","cli","golang"],"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/sfuruya0612.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}},"created_at":"2019-05-21T03:22:25.000Z","updated_at":"2023-05-06T06:36:21.000Z","dependencies_parsed_at":"2024-02-22T05:24:24.397Z","dependency_job_id":null,"html_url":"https://github.com/sfuruya0612/snatch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sfuruya0612/snatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfuruya0612%2Fsnatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfuruya0612%2Fsnatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfuruya0612%2Fsnatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfuruya0612%2Fsnatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sfuruya0612","download_url":"https://codeload.github.com/sfuruya0612/snatch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfuruya0612%2Fsnatch/sbom","scorecard":{"id":814196,"data":{"date":"2025-08-11","repo":{"name":"github.com/sfuruya0612/snatch","commit":"ac7c9fbfd060b6fad243b94982d9a3c7304d27c9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":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":"Code-Review","score":0,"reason":"Found 0/6 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":"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":"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":"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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-23T13:51:07.010Z","repository_id":47621281,"created_at":"2025-08-23T13:51:07.010Z","updated_at":"2025-08-23T13:51:07.010Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28864328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"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":["aws","cli","golang"],"created_at":"2026-01-29T05:50:22.959Z","updated_at":"2026-01-29T05:50:23.479Z","avatar_url":"https://github.com/sfuruya0612.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snatch\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/sfuruya0612/snatch)](https://goreportcard.com/report/github.com/sfuruya0612/snatch)\n\n## Index\n\n- [Description](#description)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n\n## Description\n\nCli command to get and display Amazon Web Services resources.  \nThis tool allows you to retrieve the content you need without logging into the management console.\n\nThe concept is that you can continue to work on checking resources without having to leave the terminal software.\n\n## Getting started\n\n### Supported / OS\n\n| OS  | Versions          |\n| :-- | :---------------- |\n| OS  | MacOS \u003c/br\u003e Linux |\n\n### Install\n\nInstall with `go get` command.\n\n```sh\ngo get github.com/sfuruya0612/snatch\n```\n\nCompiling from Source.\n\n```sh\ngit clone https://github.com/sfuruya0612/snatch.git ./ \u0026\u0026 cd snatch \u0026\u0026 make install\n```\n\n### Required settings\n\nYou need to set up AWS credential.  \nUse the `aws configure` command it as needed.\n\n```sh\n# e.g.\naws configure --profile myapp\n```\n\n### Optional settings\n\nEnable auto-completion on tabs.  \nIt is set to match $SHELL.\n\n```sh\nprintf '\\n%s\\n%s\\n%s\\n' '# for snatch autocomplete' \"test -f ~/.snatch_$(basename $SHELL)_autocomplete || curl -LRsS https://raw.githubusercontent.com/urfave/cli/master/autocomplete/$(basename $SHELL)_autocomplete -o ~/.snatch_$(basename $SHELL)_autocomplete\" \"PROG=snatch source ~/.snatch_$(basename $SHELL)_autocomplete\" \u003e\u003e \"${HOME}/.$(basename $SHELL)rc\"\n```\n\n## Usage\n\nHow to use each command and an example of its execution.  \nDetails of the command can be found in `snatch -h`.\n\n### EC2\n\n```sh\n# Returns list of EC2 Instances\n# Search by specifying Tags\n$ snatch ec2\n$ snatch ec2 --tag Name:*prod*\n\n# Get EC2 system log (Output /var/log/cloud-init-output.log)\n$ snatch ec2 log --id \u003cYOUR INSTANCE ID\u003e\n\n# Terminate Instance\n# Interactive confirmation at execute\n$ snatch ec2 terminate --id \u003cYOUR INSTANCE ID\u003e\n```\n\n### RDS\n\n```sh\n# Returns list of RDS Instances\n$ snatch rds\n\n# Returns list of RDS clusters\n$ snatch rds cluster\n\n```\n\n### Elasticache\n\n```sh\n# Returns list of Elasticache Clusters\n$ snatch elasticache\n$ snatch ec\n\n# Returns list of Elasticache Nodes\n$ snatch elasticache node\n$ snatch ec node\n```\n\n### S3\n\n```sh\n# Returns list of S3 Buckets\n$ snatch s3\n\n# Returns list of S3 Objects\n# If you don't specify a bucket name, you can choose from a list of buckets\n$ snatch s3 object\n$ snatch s3 object --bucket \u003cYOUR BUCKET NAME\u003e\n\n# Display S3 Object\n$ snatch s3 cat --bucket \u003cYOUR BUCKET NAME\u003e --key \u003cYOUR OBJECT KEY\u003e\n\n# Download S3 Object\n$ snatch s3 cat --bucket \u003cYOUR BUCKET NAME\u003e --key \u003cYOUR OBJECT KEY\u003e --download\n```\n\n## License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfuruya0612%2Fsnatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsfuruya0612%2Fsnatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfuruya0612%2Fsnatch/lists"}