This commit is contained in:
parent
c0bb8984fb
commit
7e4f85b0fd
1 changed files with 77 additions and 1 deletions
|
|
@ -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": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue