Schema updated for Enroll 0.6.0
All checks were successful
CI / test (push) Successful in 1m47s

This commit is contained in:
Miguel Jacq 2026-05-14 15:44:31 +10:00
parent c0bb8984fb
commit 7e4f85b0fd
Signed by: mig5
GPG key ID: 03906B4110AAD3B8

View file

@ -60,7 +60,7 @@
"enum": [ "enum": [
"user_excluded", "user_excluded",
"unreadable", "unreadable",
"backup_file", "backup_file",
"log_file", "log_file",
"denied_path", "denied_path",
"too_large", "too_large",
@ -315,6 +315,23 @@
"ref" "ref"
], ],
"type": "object" "type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "firewall_runtime"
},
"ref": {
"minLength": 1,
"type": "string"
}
},
"required": [
"kind",
"ref"
],
"type": "object"
} }
] ]
}, },
@ -579,6 +596,62 @@
} }
], ],
"unevaluatedProperties": false "unevaluatedProperties": false
},
"FirewallRuntimeSnapshot": {
"additionalProperties": false,
"properties": {
"role_name": {
"const": "firewall_runtime"
},
"packages": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"ipset_save": {
"type": [
"string",
"null"
]
},
"ipset_sets": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"iptables_v4_save": {
"type": [
"string",
"null"
]
},
"iptables_v6_save": {
"type": [
"string",
"null"
]
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"role_name",
"packages",
"ipset_save",
"ipset_sets",
"iptables_v4_save",
"iptables_v6_save",
"notes"
],
"type": "object"
} }
}, },
"$id": "https://enroll.sh/schema/state.schema.json", "$id": "https://enroll.sh/schema/state.schema.json",
@ -686,6 +759,9 @@
}, },
"usr_local_custom": { "usr_local_custom": {
"$ref": "#/$defs/UsrLocalCustomSnapshot" "$ref": "#/$defs/UsrLocalCustomSnapshot"
},
"firewall_runtime": {
"$ref": "#/$defs/FirewallRuntimeSnapshot"
} }
}, },
"required": [ "required": [