chore: deprecate ResourceSystem (#17217)

Deprecates `ResourceSystem`. It's a large collection of unrelated things, and violates the principle of least privilege because to get access to low-security stuff like various statistics, you also get access to serious-security stuff like crypto keys.

We should eventually break it up and remove it, but the least we can do for now is not make the problem worse.
This commit is contained in:
Spike Curtis
2025-04-02 19:17:26 +04:00
committed by GitHub
parent ac0cf35591
commit 83d7147e02
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ var (
{{- range $action, $value := .Actions }}
// - "{{ actionEnum $action }}" :: {{ $value.Description }}
{{- end }}
{{- .Comment }}
Resource{{ $Name }} = Object {
Type: "{{ $element.Type }}",
}