{"id":18995585,"url":"https://github.com/turbot/steampipe-plugin-fastly","last_synced_at":"2025-06-14T22:37:00.597Z","repository":{"id":103595042,"uuid":"396353493","full_name":"turbot/steampipe-plugin-fastly","owner":"turbot","description":"Use SQL to instantly query services, ACLs and more from Fastly. Open source CLI. No DB required.","archived":false,"fork":false,"pushed_at":"2025-04-17T21:15:18.000Z","size":343,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-18T11:05:47.161Z","etag":null,"topics":["backup","etl","fastly","fastly-api","hacktoberfest","postgresql","postgresql-fdw","sql","sqlite","steampipe","steampipe-plugin","zero-etl"],"latest_commit_sha":null,"homepage":"https://hub.steampipe.io/plugins/turbot/fastly","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turbot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-08-15T13:08:08.000Z","updated_at":"2025-04-17T20:48:07.000Z","dependencies_parsed_at":"2023-10-01T20:21:59.349Z","dependency_job_id":"f62a0fdb-608b-49d5-acdc-a825bbfca268","html_url":"https://github.com/turbot/steampipe-plugin-fastly","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-fastly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-fastly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-fastly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-fastly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turbot","download_url":"https://codeload.github.com/turbot/steampipe-plugin-fastly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250250519,"owners_count":21399653,"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","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":["backup","etl","fastly","fastly-api","hacktoberfest","postgresql","postgresql-fdw","sql","sqlite","steampipe","steampipe-plugin","zero-etl"],"created_at":"2024-11-08T17:31:50.846Z","updated_at":"2025-04-22T13:41:51.212Z","avatar_url":"https://github.com/turbot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://hub.steampipe.io/images/plugins/turbot/fastly-social-graphic.png)\n\n# Fastly Plugin for Steampipe\n\nUse SQL to query services, acls, domains and more from Fastly.\n\n- **[Get started →](https://hub.steampipe.io/plugins/turbot/fastly)**\n- Documentation: [Table definitions \u0026 examples](https://hub.steampipe.io/plugins/turbot/fastly/tables)\n- Community: [Join #steampipe on Slack →](https://turbot.com/community/join)\n- Get involved: [Issues](https://github.com/turbot/steampipe-plugin-fastly/issues)\n\n## Quick start\n\n### Install\n\nDownload and install the latest Fastly plugin:\n\n```bash\nsteampipe plugin install fastly\n```\n\nConfigure your [credentials](https://hub.steampipe.io/plugins/turbot/fastly#credentials) and [config file](https://hub.steampipe.io/plugins/turbot/fastly#configuration).\n\nConfigure your account details in `~/.steampipe/config/fastly.spc`:\n\nYou may specify the API Key and Service ID to authenticate:\n\n```hcl\nconnection \"fastly\" {\n  plugin     = \"fastly\"\n\n  # Authentication information\n  api_key    = \"cj9nU-sMOgUmo7FxcZ48tJsofuiVUhai\"\n  service_id = \"2ctACCWV5PmZGadiS7Ft5T\"\n}\n```\n\nOr through environment variables:\n\n```sh\nexport FASTLY_API_KEY=cj9nU-sMOgUmo7FxcZ48tJsofuiVUhai\nexport FASTLY_SERVICE_ID=2ctACCWV5PmZGadiS7Ft5T\n```\n\nRun steampipe:\n\n```shell\nsteampipe query\n```\n\nList your Fastly domains:\n\n```sql\nselect\n  name,\n  service_id,\n  service_version,\n  comment,\n  created_at,\n  updated_at\nfrom\n  fastly_service_domain;\n```\n\n```\n+----------------+------------------------+-----------------+---------+---------------------------+---------------------------+\n| name           | service_id             | service_version | comment | created_at                | updated_at                |\n+----------------+------------------------+-----------------+---------+---------------------------+---------------------------+\n| testnumbe3.com | FxvqNlNxUKWRWrioX313Q6 | 4               | \u003cnull\u003e  | 2023-04-18T21:58:07+05:30 | 2023-04-19T15:42:19+05:30 |\n+----------------+------------------------+-----------------+---------+---------------------------+---------------------------+\n```\n\n## Engines\n\nThis plugin is available for the following engines:\n\n| Engine        | Description\n|---------------|------------------------------------------\n| [Steampipe](https://steampipe.io/docs) | The Steampipe CLI exposes APIs and services as a high-performance relational database, giving you the ability to write SQL-based queries to explore dynamic data. Mods extend Steampipe's capabilities with dashboards, reports, and controls built with simple HCL. The Steampipe CLI is a turnkey solution that includes its own Postgres database, plugin management, and mod support.\n| [Postgres FDW](https://steampipe.io/docs/steampipe_postgres/overview) | Steampipe Postgres FDWs are native Postgres Foreign Data Wrappers that translate APIs to foreign tables. Unlike Steampipe CLI, which ships with its own Postgres server instance, the Steampipe Postgres FDWs can be installed in any supported Postgres database version.\n| [SQLite Extension](https://steampipe.io/docs/steampipe_sqlite/overview) | Steampipe SQLite Extensions provide SQLite virtual tables that translate your queries into API calls, transparently fetching information from your API or service as you request it.\n| [Export](https://steampipe.io/docs/steampipe_export/overview) | Steampipe Plugin Exporters provide a flexible mechanism for exporting information from cloud services and APIs. Each exporter is a stand-alone binary that allows you to extract data using Steampipe plugins without a database.\n| [Turbot Pipes](https://turbot.com/pipes/docs) | Turbot Pipes is the only intelligence, automation \u0026 security platform built specifically for DevOps. Pipes provide hosted Steampipe database instances, shared dashboards, snapshots, and more.\n\n## Developing\n\nPrerequisites:\n\n- [Steampipe](https://steampipe.io/downloads)\n- [Golang](https://golang.org/doc/install)\n\nClone:\n\n```sh\ngit clone https://github.com/turbot/steampipe-plugin-fastly.git\ncd steampipe-plugin-fastly\n```\n\nBuild, which automatically installs the new version to your `~/.steampipe/plugins` directory:\n\n```\nmake\n```\n\nConfigure the plugin:\n\n```\ncp config/* ~/.steampipe/config\nvi ~/.steampipe/config/fastly.spc\n```\n\nTry it!\n\n```\nsteampipe query\n\u003e .inspect fastly\n```\n\nFurther reading:\n\n- [Writing plugins](https://steampipe.io/docs/develop/writing-plugins)\n- [Writing your first table](https://steampipe.io/docs/develop/writing-your-first-table)\n\n## Open Source \u0026 Contributing\n\nThis repository is published under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) (source code) and [CC BY-NC-ND](https://creativecommons.org/licenses/by-nc-nd/2.0/) (docs) licenses. Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). We look forward to collaborating with you!\n\n[Steampipe](https://steampipe.io) is a product produced from this open source software, exclusively by [Turbot HQ, Inc](https://turbot.com). It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our [Open Source FAQ](https://turbot.com/open-source).\n\n## Get Involved\n\n**[Join #steampipe on Slack →](https://turbot.com/community/join)**\n\nWant to help but don't know where to start? Pick up one of the `help wanted` issues:\n\n- [Steampipe](https://github.com/turbot/steampipe/labels/help%20wanted)\n- [Fastly Plugin](https://github.com/turbot/steampipe-plugin-fastly/labels/help%20wanted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-plugin-fastly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbot%2Fsteampipe-plugin-fastly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-plugin-fastly/lists"}