Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Analog-Pursuits/envctl

Repository files navigation

ENVCTL

envctl is for Environment Control,

used correctly, it checks every command you make, and applies it to any workflow configured for it.

Installation and Getting Started

You can find the documentation for installation and getting started here.

Installation

Getting Started

Rule configuration example

[
  {
    "WorkflowName": "Kube",
    "Matches": "(kubectl (apply|delete))"
    "Rules": [
      {
        "RuleName": "Production-Block",
        "ErrorMessage": "Sorry, but you do not have access to Production",
        "ErrorType": "Error",
        "RuleExpressionType": "DSL",
        "Expression": "if k8s.config.current-cluster == 'Production'"
      },
      {
        "RuleName": "WASM-test",
        "RuleExpressionType": "WASM",
        "ruleset": "~/.envctl/rules/wasm-test.wasm"
      }
    ]
  }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •