{"id":13513993,"url":"https://github.com/selefra/selefra","last_synced_at":"2026-01-16T19:32:41.592Z","repository":{"id":144594524,"uuid":"617067663","full_name":"selefra/selefra","owner":"selefra","description":"The open-source policy-as-code software that provides analysis for Multi-Cloud and SaaS environments, you can get insight with natural language (powered by OpenAI).","archived":false,"fork":false,"pushed_at":"2023-08-30T04:35:10.000Z","size":704,"stargazers_count":535,"open_issues_count":0,"forks_count":40,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-31T02:34:52.752Z","etag":null,"topics":["aws","azure","chatgpt","cloud","cspm","devops","finops","gcp","golang","google","infrastructure-as-code","kubernetes","openai","policy-as-code","terraform"],"latest_commit_sha":null,"homepage":"https://www.selefra.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selefra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-21T16:28:50.000Z","updated_at":"2025-03-24T13:56:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d5bb28b-c441-4b2b-8807-7bb0140bd8b1","html_url":"https://github.com/selefra/selefra","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/selefra/selefra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selefra%2Fselefra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selefra%2Fselefra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selefra%2Fselefra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selefra%2Fselefra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selefra","download_url":"https://codeload.github.com/selefra/selefra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selefra%2Fselefra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["aws","azure","chatgpt","cloud","cspm","devops","finops","gcp","golang","google","infrastructure-as-code","kubernetes","openai","policy-as-code","terraform"],"created_at":"2024-08-01T05:00:42.198Z","updated_at":"2026-01-16T19:32:41.562Z","avatar_url":"https://github.com/selefra.png","language":"Go","funding_links":[],"categories":["Automation \u0026 Orchestration","DevOps","Go","NLP","Tools","Security and PKI"],"sub_categories":["Development","Static Analysis","Assessment"],"readme":"\u003c!-- Your Title --\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.selefra.io/\" target=\"_blank\"\u003e\n\u003cpicture\u003e\u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://user-images.githubusercontent.com/124020340/225567784-61adb5e7-06ae-402a-9907-69c1e6f1aa9e.png\"\u003e\u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://user-images.githubusercontent.com/124020340/224677116-44ae9c6c-a543-4813-9ef3-c7cbcacd2fbe.png\"\u003e\u003cimg width=\"400px\" alt=\"Steampipe Logo\" src=\"https://user-images.githubusercontent.com/124020340/224677116-44ae9c6c-a543-4813-9ef3-c7cbcacd2fbe.png\"\u003e\u003c/picture\u003e\n\u003ca/\u003e\n\u003c/p\u003e\n\n\u003c!-- Description --\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ci\u003eSelefra is an open-source policy-as-code software that provides analytics for multi-cloud and SaaS.\u003c/i\u003e\n  \u003c/p\u003e\n\n  \u003c!-- Badges --\u003e\n\u003cp align=\"center\"\u003e   \n\u003ca href=\"https://pkg.go.dev/github.com/selefra/selefra\"\u003e\u003cimg alt=\"go\" src=\"https://img.shields.io/badge/go-1.19-1E90FF\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/selefra/selefra\"\u003e\u003cimg alt=\"Total\" src=\"https://img.shields.io/github/downloads/selefra/selefra/total?logo=github\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/selefra/selefra/blob/master/LICENSE\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/selefra/selefra?style=social\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003c!-- Badges --\u003e\n  \u003cp align=\"center\"\u003e\n\u003ca href=\"https://selefra.io/community/join\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Slack-424549?style=social\u0026logo=Slack\" height=25\u003e\u003c/a\u003e\n    \u0026nbsp;\n    \u003ca href=\"https://twitter.com/SelefraCorp\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Twitter-red?style=social\u0026logo=twitter\" height=25\u003e\u003c/a\u003e\n    \u0026nbsp;\n    \u003ca href=\"https://www.reddit.com/r/Selefra\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Reddit-red?style=social\u0026logo=reddit\" height=25\u003e\u003c/a\u003e\n    \u0026nbsp;\n    \u003ca href=\"https://selefra.medium.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Medium-red?style=social\u0026logo=medium\" height=25\u003e\u003c/a\u003e\n\n  \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"900\" alt=\"banner\" src=\"https://user-images.githubusercontent.com/124020340/232656647-58e2c31f-ba94-48f0-99fc-87ab660309d0.png\"\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\u003c!-- About Selefra --\u003e\n\n## About Selefra\n\nSelefra means \"select * from infrastructure\". It is an open-source policy-as-code software that provides analysis for multi-cloud and SaaS environments, including over 30 services such as AWS, GCP, Azure, Alibaba Cloud, Kubernetes, Github, Cloudflare, and Slack.\n\nFor best practices and detailed instructions, refer to the Docs. Within the [Docs](https://selefra.io/docs/introduction), you will find information on installation, CLI usage, project workflow, and more guides on how to accomplish cloud inspection tasks.\n\nWith Selefra, you can engage in conversations with GPT models, which will analyze the information and provide relevant suggestions for security, cost, and architecture checks, helping you better manage their cloud resources, enhance security, reduce costs, and optimize architecture design.\n\n\u003cimg align=\"right\" width=\"570\" alt=\"img_code\" src=\"https://user-images.githubusercontent.com/124020340/232016353-67b21268-ae70-47a9-a848-cad0f2fce66f.gif\"\u003e\n\n#### 🔥 Policy as Code\n\nCustom analysis policies (security, compliance, cost) can be written through a combination of SQL and YAML.\n\n#### 💥 Configuration of Multi-Cloud, Multi-SaaS\n\nUnified multi-cloud configuration data integration capabilities that can support analysis of configuration data from any cloud service via SQL.\n\n#### 🌟 Version Control\n\nAnalysis policies can be managed through VCS such as GitHub/Gitlab.\n\n#### 🥤 Automation\n\nPolicies can be automated to enforce compliance, security, and cost optimization rules through Scheduled tasks and cloud automation tools.\n\n## Getting started\n\nRead detailed documentation for how to [Get Started](https://selefra.io/docs/get-started/) with Selefra.\n\nFor quick start, run this demo, it should take less than a few minutes:\n\n1. **Install Selefra**\n\n   For non-macOS users, [download packages](https://github.com/selefra/selefra/releases) to install Selefra.\n\n   On macOS, tap Selefra with Homebrew:\n\n    ```bash\n    brew tap selefra/tap\n    ```\n\n   Next, install Selefra:\n\n    ```bash\n    brew install selefra/tap/selefra\n    ```\n\n2. **Initialization project**\n\n    ```bash\n    mkdir selefra-demo \u0026\u0026 cd selefra-demo \u0026\u0026 selefra init\n    ```\n\n3. **Build code**\n\n    ```bash\n    selefra apply \n    ```\n   \n## 🔥 Analyze cloud resources using GPT\n\nYou can refer to the [documentation](https://selefra.io/docs/get-started#use-gpt)  to configure your OPENAPI_API_KEY in advance and start analyzing your cloud resources\n\n```bash\nselefra gpt \u003c\"what you want to analyze\"\u003e --openai_mode=gpt-3.5 --openai_limit=5 --openai_api_key=\u003cYour Openai Api Key\u003e\n```\n\n## Selefra Community Ecosystem\n\n Provider | Introduce | Status |\n | --------| ----- | ------ |\n| [AWS](https://www.selefra.io/docs/providers-connector/aws)|The AWS Provider for Selefra can be used to extract data from many of the cloud services by AWS. The provider must be configured with credentials to extract and analyze infrastructure data from AWS. | Stable |\n| [GCP](https://www.selefra.io/docs/providers-connector/gcp)|The GCP Provider for Selefra can be used to extract data from many of the cloud services by GCP. The provider must be configured with credentials to extract and analyze infrastructure data from GCP. | Stable |\n| [K8S](https://www.selefra.io/docs/providers-connector/k8s)|The K8s Provider for Selefra can be used to extract data from many of the cloud services by K8s. The provider must be configured with credentials to extract and analyze infrastructure data from K8s. | Stable |\n| [Azure](https://www.selefra.io/docs/providers-connector/azure)| The Azure Provider for Selefra can be used to extract data from many of the cloud services by Azure. The provider must be configured with credentials to extract and analyze infrastructure data from Azure.    | Stable |\n| [Slack](https://www.selefra.io/docs/providers-connector/slack)| The Slack Provider for Selefra can be used to extract data from many of the cloud services by Slack. The provider must be configured with credentials to extract and analyze infrastructure data from Slack.    | Stable |\n| [Cloudflare](https://www.selefra.io/docs/providers-connector/cloudflare)| The Cloudflare Provider for Selefra can be used to extract data from many of the cloud services by Cloudflare. The provider must be configured with credentials to extract and analyze infrastructure data from Cloudflare.    | Stable |\n| [Datadog](https://www.selefra.io/docs/providers-connector/datadog)| The Datadog Provider for Selefra can be used to extract data from many of the cloud services by Datadog. The provider must be configured with credentials to extract and analyze infrastructure data from Datadog.    | Stable |\n| [Microsoft365](https://www.selefra.io/docs/providers-connector/microsoft365)| The Microsoft365 Provider for Selefra can be used to extract data from many of the cloud services by Microsoft365. The provider must be configured with credentials to extract and analyze infrastructure data from Microsoft365.    | Stable |\n| [Vercel](https://www.selefra.io/docs/providers-connector/vercel)| The Vercel Provider for Selefra can be used to extract data from many of the cloud services by Vercel. The provider must be configured with credentials to extract and analyze infrastructure data from Vercel.    | Stable |\n| [Github](https://www.selefra.io/docs/providers-connector/github)| The Github Provider for Selefra can be used to extract data from many of the cloud services by Github. The provider must be configured with credentials to extract and analyze infrastructure data from Github.    | Stable |\n| [GoogleWorksplace](https://www.selefra.io/docs/providers-connector/googleworksplace)| The GoogleWorksplace Provider for Selefra can be used to extract data from many of the cloud services by GoogleWorksplace. The provider must be configured with credentials to extract and analyze infrastructure data from GoogleWorksplace.    | Stable |\n| [Auth0](https://www.selefra.io/docs/providers-connector/auth0)| The Auth0 Provider for Selefra can be used to extract data from many of the cloud services by Auth0. The provider must be configured with credentials to extract and analyze infrastructure data from Auth0.    | Stable |\n| [Zendesk](https://www.selefra.io/docs/providers-connector/zendesk)| The Zendesk Provider for Selefra can be used to extract data from many of the cloud services by Zendesk. The provider must be configured with credentials to extract and analyze infrastructure data from Zendesk.    | Stable |\n| [Consul](https://www.selefra.io/docs/providers-connector/consul)| The Consul Provider for Selefra can be used to extract data from many of the cloud services by Consul. The provider must be configured with credentials to extract and analyze infrastructure data from Consul.    | Stable |\n| [Zoom](https://www.selefra.io/docs/providers-connector/zoom)| The Zoom Provider for Selefra can be used to extract data from many of the cloud services by Zoom. The provider must be configured with credentials to extract and analyze infrastructure data from Zoom.    | Stable |\n| [Gandi](https://www.selefra.io/docs/providers-connector/gandi)| The Gandi Provider for Selefra can be used to extract data from many of the cloud services by Gandi. The provider must be configured with credentials to extract and analyze infrastructure data from Gandi.    | Stable |\n| [Heroku](https://www.selefra.io/docs/providers-connector/heroku)| The Heroku Provider for Selefra can be used to extract data from many of the cloud services by Heroku. The provider must be configured with credentials to extract and analyze infrastructure data from Heroku.    | Stable |\n| [IBM](https://www.selefra.io/docs/providers-connector/ibm)| The IBM Provider for Selefra can be used to extract data from many of the cloud services by IBM. The provider must be configured with credentials to extract and analyze infrastructure data from IBM.    | Stable |\n| [Pagerduty](https://www.selefra.io/docs/providers-connector/pagerduty)| The Pagerduty Provider for Selefra can be used to extract data from many of the cloud services by Pagerduty. The provider must be configured with credentials to extract and analyze infrastructure data from Pagerduty.    | Stable |\n| [AliCloud](https://www.selefra.io/docs/providers-connector/alicloud)| The AliCloud Provider for Selefra can be used to extract data from many of the cloud services by AliCloud. The provider must be configured with credentials to extract and analyze infrastructure data from AliCloud.    | Stable |\n| [Okta](https://www.selefra.io/docs/providers-connector/okta)| The Okta Provider for Selefra can be used to extract data from many of the cloud services by Okta. The provider must be configured with credentials to extract and analyze infrastructure data from Okta.    | Stable |\n| [Oci](https://www.selefra.io/docs/providers-connector/oci)| The Oci Provider for Selefra can be used to extract data from many of the cloud services by Oci. The provider must be configured with credentials to extract and analyze infrastructure data from Oci.    | Stable |\n| [Boundary](https://www.selefra.io/docs/providers-connector/boundary)| The Boundary Provider for Selefra can be used to extract data from many of the cloud services by Boundary. The provider must be configured with credentials to extract and analyze infrastructure data from Boundary.    | Stable |\n| [Stripe](https://www.selefra.io/docs/providers-connector/stripe)| The Stripe Provider for Selefra can be used to extract data from many of the cloud services by Stripe. The provider must be configured with credentials to extract and analyze infrastructure data from Stripe.    | Stable |\n| [Planetscale](https://www.selefra.io/docs/providers-connector/planetscale)| The Planetscale Provider for Selefra can be used to extract data from many of the cloud services by Planetscale. The provider must be configured with credentials to extract and analyze infrastructure data from Planetscale.    | Stable |\n| [Snowflake](https://www.selefra.io/docs/providers-connector/snowflake)| The Snowflake Provider for Selefra can be used to extract data from many of the cloud services by Snowflake. The provider must be configured with credentials to extract and analyze infrastructure data from Snowflake.    | coming soon |\n\n## Community\n\nSelefra is a community-driven project, we welcome you to open a [GitHub Issue](https://github.com/selefra/selefra/issues/new/choose) to report a bug, suggest an improvement, or request new feature.\n\n-  Join \u003ca href=\"https://selefra.io/community/join\"\u003e\u003cimg height=\"16\" alt=\"humanitarian\" src=\"https://user-images.githubusercontent.com/124020340/225563969-3f3d4c45-fb3f-4932-831d-01ab9e59c921.png\"\u003e\u003c/a\u003e [Selefra Community](https://selefra.io/community/join) on Slack. We host `Community Hour` for tutorials and Q\u0026As on regular basis.\n-  Follow us on \u003ca href=\"https://twitter.com/SelefraCorp\"\u003e\u003cimg height=\"16\" alt=\"humanitarian\" src=\"https://user-images.githubusercontent.com/124020340/225564426-82f5afbc-5638-4123-871d-fec6fdc6457f.png\"\u003e\u003c/a\u003e [Twitter](https://twitter.com/SelefraCorp) and share your thoughts！\n-  Email us at \u003ca href=\"support@selefra.io\"\u003e\u003cimg height=\"16\" alt=\"humanitarian\" src=\"https://user-images.githubusercontent.com/124020340/225564710-741dc841-572f-4cde-853c-5ebaaf4d3d3c.png\"\u003e\u003c/a\u003e\u0026nbsp;support@selefra.io\n\n## Contributing\n\nFor developers interested in building Selefra codebase, read through [Contributing.md](https://github.com/selefra/selefra/blob/main/CONTRIBUTING.md) and [Selefra Roadmap](https://github.com/orgs/selefra/projects/1).\nLet us know what you would like to work on!\n\n## License\n\n[Mozilla Public License v2.0](https://github.com/selefra/selefra/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselefra%2Fselefra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselefra%2Fselefra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselefra%2Fselefra/lists"}