{"id":19865629,"url":"https://github.com/openfaas/multi-tenant-tests","last_synced_at":"2026-01-20T10:32:34.123Z","repository":{"id":251072062,"uuid":"836314185","full_name":"openfaas/multi-tenant-tests","owner":"openfaas","description":"Basic multi-tenant-tests","archived":false,"fork":false,"pushed_at":"2024-07-31T15:28:24.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T16:48:27.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/openfaas.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}},"created_at":"2024-07-31T15:26:43.000Z","updated_at":"2024-10-22T12:28:21.000Z","dependencies_parsed_at":"2024-07-31T19:13:39.274Z","dependency_job_id":null,"html_url":"https://github.com/openfaas/multi-tenant-tests","commit_stats":null,"previous_names":["openfaas/multi-tenant-tests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openfaas/multi-tenant-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Fmulti-tenant-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Fmulti-tenant-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Fmulti-tenant-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Fmulti-tenant-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openfaas","download_url":"https://codeload.github.com/openfaas/multi-tenant-tests/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Fmulti-tenant-tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"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":"2024-11-12T15:23:30.222Z","updated_at":"2026-01-20T10:32:34.099Z","avatar_url":"https://github.com/openfaas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Exploratory functions for multi-tenant OpenFaaS clusters\n========================================================\n\nThis repository contains functions designed to explore the security posture of multi-tenant OpenFaaS clusters. The functions are designed to be deployed to an OpenFaaS cluster and run as a function. The functions are designed to be run by a user with the appropriate permissions to deploy functions to the cluster.\n\n* [core-services](core-services/) - This function written in Node.js checks connectivity to various OpenFaaS core services from the function namespace.\n* [nats-sidechannel](nats-sidechannel/) - This function written in Python checks for the presence of a side-channel attack by publishing messages directly to the default shared queue in OpenFaaS, simulating an async message being published to the queue by the OpenFaaS gateway.\n\n## Basic guidelines on multi-tenancy\n\nThe following guidelines are recommended for multi-tenant OpenFaaS clusters:\n\n* Segregate tenants into namespaces\n* Use network policies to restrict traffic between namespaces, so that:\n    * tenant namespaces cannot communicate with each other,\n    * and no tenant namespace can communicate with the OpenFaaS core services\n* Set limit ranges for each tenant namespace\n* Set resource quotas for each function when deployed via API for RAM/CPU. Limit RAM, and set a request for CPU\n* Ensure the functions run as non-root, and that the appropriate settings are configured in the helm chart to prevent users from overriding this or from calling `setuid`\n* Ensure that the OpenFaaS API has basic authentication or IAM-based authentication enabled, so that user code cannot be used to access the API\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfaas%2Fmulti-tenant-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenfaas%2Fmulti-tenant-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfaas%2Fmulti-tenant-tests/lists"}