Grafana Cloud Enterprise Open source

Linter rules

Run gcx dev lint list-rules to list the rules bundled with your installed version.

Custom rules

Custom rules are loaded via gcx dev lint run --rules <path>. They run inside a restricted OPA capabilities sandbox. The following built-in OPA functions are not available in custom rules:

Disallowed builtinReason
http.sendNetwork exfiltration vector
net.* (all net. prefixed builtins)Network exfiltration vector
opa.runtimeRuntime introspection / environment disclosure

No flag is provided to re-enable these functions. Bundled rules are unaffected.