@intentius/terragucci 0.4.46 → 0.4.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit.schema.json +2 -2
- package/dist/terragucci.mjs +937 -900
- package/dist/terragucci.mjs.map +4 -4
- package/dist/terragucci.schema.json +42 -0
- package/dist/types.d.ts +22 -0
- package/package.json +6 -6
- package/dist/registry-edge-token-stores +0 -1
package/dist/audit.schema.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://intentius.io/terragucci/schemas/audit/v1/audit.schema.json",
|
|
4
4
|
"title": "terragucci.audit/v1",
|
|
5
|
-
"description": "One line of audit.jsonl at the top of a reports prefix: an approval, apply, policy override, refused wave, state migration or
|
|
5
|
+
"description": "One line of audit.jsonl at the top of a reports prefix: an approval, apply, policy override, refused wave, state migration, state export, agent run, template request or day-2 action. Within v1 fields are only added, and an existing field never changes meaning.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schema", "id", "kind", "project", "at", "who", "what", "digest", "result", "evidence"],
|
|
8
8
|
"properties": {
|
|
9
9
|
"schema": { "const": "terragucci.audit/v1" },
|
|
10
10
|
"id": { "type": "string", "description": "sha256: over where the entry came from; the same records give the same id." },
|
|
11
|
-
"kind": { "enum": ["approval-requested", "approval", "approval-revoked", "override-requested", "override", "override-revoked", "apply", "refused", "migration", "unlock", "state-export", "ephemeral-apply", "ephemeral-destroy", "unrecorded-write", "agent-run"] },
|
|
11
|
+
"kind": { "enum": ["approval-requested", "approval", "approval-revoked", "override-requested", "override", "override-revoked", "apply", "refused", "migration", "unlock", "state-export", "ephemeral-apply", "ephemeral-destroy", "unrecorded-write", "agent-run", "request", "action-requested", "action"] },
|
|
12
12
|
"project": { "type": "string", "description": "<host>/<path> of the repo." },
|
|
13
13
|
"at": { "type": "string", "description": "When it happened, ISO 8601." },
|
|
14
14
|
"who": { "type": ["string", "null"], "description": "The approver, the overrider, whoever removed the line, for an apply the approver it applied under, or for an unrecorded write the writer a log of the state bucket names. Null when nobody did, or no log names one." },
|