{"id":36688202,"url":"https://github.com/mdevilliers/fastly-cli","last_synced_at":"2026-01-12T11:16:46.909Z","repository":{"id":36951299,"uuid":"182127218","full_name":"mdevilliers/fastly-cli","owner":"mdevilliers","description":" Opinionated CLI to aid me in my day-to-day tasks with Fastly","archived":false,"fork":false,"pushed_at":"2025-12-04T04:27:24.000Z","size":194,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-07T10:45:00.923Z","etag":null,"topics":[],"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/mdevilliers.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":"2019-04-18T17:08:07.000Z","updated_at":"2022-09-14T06:16:29.000Z","dependencies_parsed_at":"2025-12-05T05:02:46.492Z","dependency_job_id":null,"html_url":"https://github.com/mdevilliers/fastly-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdevilliers/fastly-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevilliers%2Ffastly-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevilliers%2Ffastly-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevilliers%2Ffastly-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevilliers%2Ffastly-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdevilliers","download_url":"https://codeload.github.com/mdevilliers/fastly-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevilliers%2Ffastly-cli/sbom","scorecard":{"id":53479,"data":{"date":"2025-08-04","repo":{"name":"github.com/mdevilliers/fastly-cli","commit":"a8ed2b5933dce800a27a12f9d233385b44ad1582"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3,"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/3 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T00:11:15.367Z","repository_id":36951299,"created_at":"2025-08-15T00:11:15.367Z","updated_at":"2025-08-15T00:11:15.367Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"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":[],"created_at":"2026-01-12T11:16:46.800Z","updated_at":"2026-01-12T11:16:46.897Z","avatar_url":"https://github.com/mdevilliers.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### fastly-cli\n\nA highly opinionated CLI to aid me in my day-to-day tasks with Fastly.\n\n[![CircleCI](https://circleci.com/gh/mdevilliers/fastly-cli.svg?style=svg)](https://circleci.com/gh/mdevilliers/fastly-cli)\n[![ReportCard](https://goreportcard.com/badge/github.com/mdevilliers/fastly-cli)](https://goreportcard.com/report/github.com/mdevilliers/fastly-cli)\n\n```\n./fastly-cli\n\nUsage:\n  fastly-cli [command]\n\nAvailable Commands:\n  create      Create a new Fastly service\n  eavesdrop   Listen in to your Fastly instance.\n  help        Help about any command\n  launch      Fuzzy search for a service and launch in browser.\n  sync        Sync local CSV files with Fastly edge dictionaries.\n  tokens      Manage API tokens\n\nFlags:\n      --fastly-api-key string         Fastly API Key (export FASTLY_API_KEY=xxxx)\n      --fastly-user-name string       Fastly user name (export FASTLY_USER_NAME=xxxx)\n      --fastly-user-password string   Fastly user password (export FASTLY_USER_PASSWORD=xxxx)\n  -h, --help                          help for fastly-cli\n\nUse \"fastly-cli [command] --help\" for more information about a command.\n```\n\n#### Install\n\nfastly-cli requires Golang 1.13+\n```\ngo get github.com/mdevilliers/fastly-cli/cmd/fastly-cli\n```\n\n### Commands\n\n#### launch\n\nFuzzy search on service names and launch web UI\n\nExample\n\n```\nexport FASTLY_API_KEY=xxxxxxxxxx\nfastly-cli launch images \n```\n\nIn the above example 'fastly-cli' will :\n- search all of your services containing the term 'images'\n- if only one result then launch the Fastly web UI for that service\n- if some results will allow you select from a short list\n- if none will display all of your services\n\n#### eavesdrop\n\nAdd a syslog logger to a service and stream the output as a series of JSON lines via a local TCP server.\n\nThe original service is cloned, a syslog listener added and made active. On shutdown the syslog listener is removed.\n\n``````\n./fastly-cli --fastly-api-key=xxxxxxxxxxxxx --endpoint=my.external.com --port=10089 eavesdrop servicename\n\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726730\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/h\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"107\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71044\", \"resp_header_bytes\": \"681\", \"resp_body_bytes\": \"70363\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726745\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/hi\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"108\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71064\", \"resp_header_bytes\": \"699\", \"resp_body_bytes\": \"70365\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726746\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/hi\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"108\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71046\", \"resp_header_bytes\": \"681\", \"resp_body_bytes\": \"70365\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726748\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/hij\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"109\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71057\", \"resp_header_bytes\": \"690\", \"resp_body_bytes\": \"70367\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726750\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/hijk\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"110\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71076\", \"resp_header_bytes\": \"707\", \"resp_body_bytes\": \"70369\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726753\",\"fastly_info\": \"MISS\", \"datacenter\": \"LCY\",\"client_ip\": \"88.202.148.160\", \"req_method\": \"GET\", \"req_uri\": \"/hijkl\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"curl/7.58.0\", \"req_h_accept_encoding\": \"\", \"req_header_bytes\": \"111\", \"req_body_bytes\": \"0\", \"resp_status\": \"404\", \"resp_bytes\": \"71071\", \"resp_header_bytes\": \"700\", \"resp_body_bytes\": \"70371\" }\n{ \"type\": \"req\",\"service_id\": \"foo\",\"request_id\": \"(null)\",\"start_time\": \"1559726930\",\"fastly_info\": \"MISS\", \"datacenter\": \"LHR\",\"client_ip\": \"18.130.227.222\", \"req_method\": \"GET\", \"req_uri\": \"/favicon.ico\", \"req_h_host\": \"www.bar.com\", \"req_h_referer\": \"\", \"req_h_user_agent\": \"Slack-ImgProxy (+https://api.slack.com/robots)\", \"req_h_accept_encoding\": \"gzip\", \"req_header_bytes\": \"184\", \"req_body_bytes\": \"0\", \"resp_status\": \"200\", \"resp_bytes\": \"2508\", \"resp_header_bytes\": \"659\", \"resp_body_bytes\": \"1849\" }``\n\n\n``````\n#### sync\n\nSync local CSV files with an existing edge dictionary.\n\nCSV files are of the format KEY,VALUE (see ./fixtures)\n```\n./fastly-cli sync --dict={{DICTIONARY_NAME}} --path={{PATH TO CSV FILE}} --service={{SERVICE_NAME}}\n```\nUpdates are batched as a series of creates, deletes and updates.\n\n#### create\n\nCreate a new Fastly service and an optional API key scoped to that service.\n\n#### tokens\n\nView or create API tokens\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdevilliers%2Ffastly-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdevilliers%2Ffastly-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdevilliers%2Ffastly-cli/lists"}