{"id":28905258,"url":"https://github.com/heyitsgilbert/gatekeeper","last_synced_at":"2026-05-12T03:06:37.064Z","repository":{"id":299341650,"uuid":"1002175450","full_name":"HeyItsGilbert/Gatekeeper","owner":"HeyItsGilbert","description":"Helps implement feature flags in your PowerShell projects.","archived":false,"fork":false,"pushed_at":"2025-11-18T04:30:21.000Z","size":1716,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-18T06:19:35.677Z","etag":null,"topics":["feature-flag","feature-flags","feature-flags-management","powershell","powershell-module"],"latest_commit_sha":null,"homepage":"https://heyitsgilbert.github.io/Gatekeeper/","language":"PowerShell","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/HeyItsGilbert.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"HeyItsGilbert"}},"created_at":"2025-06-14T22:00:20.000Z","updated_at":"2025-11-18T03:18:17.000Z","dependencies_parsed_at":"2025-07-21T22:21:37.719Z","dependency_job_id":null,"html_url":"https://github.com/HeyItsGilbert/Gatekeeper","commit_stats":null,"previous_names":["heyitsgilbert/gatekeeper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/HeyItsGilbert/Gatekeeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyItsGilbert%2FGatekeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyItsGilbert%2FGatekeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyItsGilbert%2FGatekeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyItsGilbert%2FGatekeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HeyItsGilbert","download_url":"https://codeload.github.com/HeyItsGilbert/Gatekeeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyItsGilbert%2FGatekeeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28697428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"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":["feature-flag","feature-flags","feature-flags-management","powershell","powershell-module"],"created_at":"2025-06-21T13:06:44.704Z","updated_at":"2026-05-09T18:03:02.727Z","avatar_url":"https://github.com/HeyItsGilbert.png","language":"PowerShell","funding_links":["https://github.com/sponsors/HeyItsGilbert"],"categories":[],"sub_categories":[],"readme":"\u003ccenter\u003e\u003cimg src=\"https://raw.githubusercontent.com/HeyItsGilbert/Gatekeeper/main/static/icon.png\" /\u003e\u003c/center\u003e\r\n\r\n# Gatekeeper\r\n\r\nFeature flags for PowerShell projects.\r\n\r\n[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/Gatekeeper)](https://www.powershellgallery.com/packages/Gatekeeper/)\r\n[![PowerShell Gallery Version](https://img.shields.io/powershellgallery/v/Gatekeeper)](https://www.powershellgallery.com/packages/Gatekeeper/)\r\n[![GitHub Workflow Status](https://github.com/HeyItsGilbert/Gatekeeper/actions/workflows/Publish.yaml/badge.svg)](https://github.com/HeyItsGilbert/Gatekeeper/actions/workflows/Publish.yaml)\r\n[![PowerShell Gallery](https://img.shields.io/powershellgallery/p/Gatekeeper)](https://www.powershellgallery.com/packages/Gatekeeper/)\r\n\r\nGatekeeper lets you control feature rollouts using JSON-based feature flags with a rule engine. Define properties, write rules, and evaluate them against device context -- all in PowerShell.\r\n\r\n**[Read the full documentation](https://heyitsgilbert.github.io/Gatekeeper)**\r\n\r\n## Install\r\n\r\n```powershell\r\nInstall-Module Gatekeeper\r\n```\r\n\r\nWorks on Windows, Linux, and macOS with PowerShell 5.1+.\r\n\r\n## Quick example\r\n\r\n```powershell\r\n# Define what properties matter to your org\r\n$props = New-PropertySet -Name 'MyProps' -Properties @(\r\n    (New-Property -Name 'Environment' -Type string -EnumValues @('Production', 'Staging', 'Dev'))\r\n    (New-Property -Name 'IsCompliant' -Type boolean)\r\n)\r\n\r\n# Create a rule: allow only compliant staging devices\r\n$conditions = New-ConditionGroup -Operator AllOf -Conditions @(\r\n    (New-Condition -Property 'Environment' -Operator Equals -Value 'Staging')\r\n    (New-Condition -Property 'IsCompliant' -Operator Equals -Value 'true')\r\n)\r\n$rule = New-Rule -Name 'Compliant Staging' -Effect Allow -Conditions $conditions\r\n\r\n# Create the flag (deny by default)\r\n$flag = New-FeatureFlag -Name 'NewDashboard' -DefaultEffect Deny -Rules $rule\r\n\r\n# Evaluate against a device's context\r\n$context = @{ Environment = 'Staging'; IsCompliant = $true }\r\nTest-FeatureFlag -FeatureFlag $flag -PropertySet $props -Context $context\r\n# Returns: True\r\n```\r\n\r\n## Why Gatekeeper?\r\n\r\n- **JSON-native** -- flags are JSON files validated by JSON Schema\r\n- **Pluggable context** -- you define properties and context; Gatekeeper doesn't assume your environment\r\n- **Safe by default** -- returns `$false` unless an explicit Allow rule matches\r\n- **No external runtime dependencies** -- just PowerShell and a JSON file\r\n- **Cross-platform** -- Windows, Linux, macOS\r\n\r\n## Documentation\r\n\r\n| Topic | Description |\r\n|-------|-------------|\r\n| [Getting Started](https://heyitsgilbert.github.io/Gatekeeper/getting-started/) | Install and evaluate your first flag |\r\n| [Concepts](https://heyitsgilbert.github.io/Gatekeeper/concepts/) | Data model, terminology, and how evaluation works |\r\n| [Creating Flags](https://heyitsgilbert.github.io/Gatekeeper/guides/creating-flags/) | Build properties, conditions, rules, and flags |\r\n| [Configuration](https://heyitsgilbert.github.io/Gatekeeper/guides/configuration/) | Multi-level configuration system |\r\n| [Logging](https://heyitsgilbert.github.io/Gatekeeper/guides/logging/) | Audit and warning script setup |\r\n| [Command Reference](https://heyitsgilbert.github.io/Gatekeeper/en-US/) | All exported cmdlets |\r\n\r\n## Contributing\r\n\r\nSee the [CHANGELOG](CHANGELOG.md) for version history.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyitsgilbert%2Fgatekeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyitsgilbert%2Fgatekeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyitsgilbert%2Fgatekeeper/lists"}