update static/schema data

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-04-23 18:20:54 +02:00
parent 3f18659b85
commit 549cfb68b7
4 changed files with 297 additions and 21 deletions

View File

@ -2639,6 +2639,128 @@ var pmgapi = [
"leaf" : 0, "leaf" : 0,
"path" : "/config/ruledb/what/{ogroup}/virusfilter", "path" : "/config/ruledb/what/{ogroup}/virusfilter",
"text" : "virusfilter" "text" : "virusfilter"
},
{
"children" : [
{
"info" : {
"GET" : {
"allowtoken" : 1,
"description" : "Read 'Match Archive Filename' object settings.",
"method" : "GET",
"name" : "read_archivefilenamefilter",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"id" : {
"description" : "Object ID.",
"type" : "integer",
"typetext" : "<integer>"
},
"ogroup" : {
"description" : "Object Groups ID.",
"type" : "integer",
"typetext" : "<integer>"
}
}
},
"permissions" : {
"check" : [
"admin",
"audit"
]
},
"proxyto" : "master",
"returns" : {
"properties" : {
"id" : {
"type" : "integer"
}
},
"type" : "object"
}
},
"PUT" : {
"allowtoken" : 1,
"description" : "Update 'Match Archive Filename' object.",
"method" : "PUT",
"name" : "update_archivefilenamefilter",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"filename" : {
"description" : "Filename filter",
"maxLength" : 1024,
"type" : "string",
"typetext" : "<string>"
},
"id" : {
"description" : "Object ID.",
"type" : "integer",
"typetext" : "<integer>"
},
"ogroup" : {
"description" : "Object Groups ID.",
"type" : "integer",
"typetext" : "<integer>"
}
}
},
"permissions" : {
"check" : [
"admin"
]
},
"protected" : 1,
"proxyto" : "master",
"returns" : {
"type" : "null"
}
}
},
"leaf" : 1,
"path" : "/config/ruledb/what/{ogroup}/archivefilenamefilter/{id}",
"text" : "{id}"
}
],
"info" : {
"POST" : {
"allowtoken" : 1,
"description" : "Add 'Match Archive Filename' object.",
"method" : "POST",
"name" : "archivefilenamefilter",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"filename" : {
"description" : "Filename filter",
"maxLength" : 1024,
"type" : "string",
"typetext" : "<string>"
},
"ogroup" : {
"description" : "Object Groups ID.",
"type" : "integer",
"typetext" : "<integer>"
}
}
},
"permissions" : {
"check" : [
"admin"
]
},
"protected" : 1,
"proxyto" : "master",
"returns" : {
"description" : "The object ID.",
"type" : "integer"
}
}
},
"leaf" : 0,
"path" : "/config/ruledb/what/{ogroup}/archivefilenamefilter",
"text" : "archivefilenamefilter"
} }
], ],
"info" : { "info" : {
@ -6926,7 +7048,7 @@ var pmgapi = [
}, },
"host" : { "host" : {
"description" : "Target host (name or IP address).", "description" : "Target host (name or IP address).",
"format" : "address", "format" : "transport-address",
"optional" : 1, "optional" : 1,
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
@ -7045,7 +7167,7 @@ var pmgapi = [
}, },
"host" : { "host" : {
"description" : "Target host (name or IP address).", "description" : "Target host (name or IP address).",
"format" : "address", "format" : "transport-address",
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
@ -7587,9 +7709,9 @@ var pmgapi = [
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
"domain" : { "destination" : {
"description" : "Domain name.", "description" : "Destination (Domain or next-hop).",
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
} }
@ -7614,9 +7736,9 @@ var pmgapi = [
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
"domain" : { "destination" : {
"description" : "Domain name.", "description" : "Destination (Domain or next-hop).",
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
} }
@ -7631,8 +7753,12 @@ var pmgapi = [
"proxyto" : "master", "proxyto" : "master",
"returns" : { "returns" : {
"properties" : { "properties" : {
"destination" : {
"format" : "transport-domain-or-nexthop",
"type" : "string"
},
"domain" : { "domain" : {
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"type" : "string" "type" : "string"
}, },
"policy" : { "policy" : {
@ -7651,9 +7777,9 @@ var pmgapi = [
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
"domain" : { "destination" : {
"description" : "Domain name.", "description" : "Destination (Domain or next-hop).",
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
@ -7678,8 +7804,8 @@ var pmgapi = [
} }
}, },
"leaf" : 1, "leaf" : 1,
"path" : "/config/tlspolicy/{domain}", "path" : "/config/tlspolicy/{destination}",
"text" : "{domain}" "text" : "{destination}"
} }
], ],
"info" : { "info" : {
@ -7701,8 +7827,12 @@ var pmgapi = [
"returns" : { "returns" : {
"items" : { "items" : {
"properties" : { "properties" : {
"destination" : {
"format" : "transport-domain-or-nexthop",
"type" : "string"
},
"domain" : { "domain" : {
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"type" : "string" "type" : "string"
}, },
"policy" : { "policy" : {
@ -7714,7 +7844,7 @@ var pmgapi = [
}, },
"links" : [ "links" : [
{ {
"href" : "{domain}", "href" : "{destination}",
"rel" : "child" "rel" : "child"
} }
], ],
@ -7729,9 +7859,17 @@ var pmgapi = [
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
"destination" : {
"description" : "Destination (Domain or next-hop).",
"format" : "transport-domain-or-nexthop",
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
},
"domain" : { "domain" : {
"description" : "Domain name.", "description" : "Deprecated - use 'destination'.",
"format" : "transport-domain", "format" : "transport-domain-or-nexthop",
"optional" : 1,
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
@ -8620,6 +8758,13 @@ var pmgapi = [
"optional" : 1, "optional" : 1,
"type" : "boolean", "type" : "boolean",
"typetext" : "<boolean>" "typetext" : "<boolean>"
},
"scriptedupdates" : {
"default" : 0,
"description" : "Enables ScriptedUpdates (incremental download of signatures)",
"optional" : 1,
"type" : "boolean",
"typetext" : "<boolean>"
} }
}, },
"type" : "object" "type" : "object"
@ -8749,11 +8894,36 @@ var pmgapi = [
}, },
"greylist" : { "greylist" : {
"default" : 1, "default" : 1,
"description" : "Use Greylisting.", "description" : "Use Greylisting for IPv4.",
"optional" : 1, "optional" : 1,
"type" : "boolean", "type" : "boolean",
"typetext" : "<boolean>" "typetext" : "<boolean>"
}, },
"greylist6" : {
"default" : 0,
"description" : "Use Greylisting for IPv6.",
"optional" : 1,
"type" : "boolean",
"typetext" : "<boolean>"
},
"greylistmask4" : {
"default" : 24,
"description" : "Netmask to apply for greylisting IPv4 hosts",
"maximum" : 32,
"minimum" : 0,
"optional" : 1,
"type" : "integer",
"typetext" : "<integer> (0 - 32)"
},
"greylistmask6" : {
"default" : 64,
"description" : "Netmask to apply for greylisting IPv6 hosts",
"maximum" : 128,
"minimum" : 0,
"optional" : 1,
"type" : "integer",
"typetext" : "<integer> (0 - 128)"
},
"helotests" : { "helotests" : {
"default" : 0, "default" : 0,
"description" : "Use SMTP HELO tests.", "description" : "Use SMTP HELO tests.",
@ -13504,6 +13674,43 @@ var pmgapi = [
} }
], ],
"info" : { "info" : {
"DELETE" : {
"allowtoken" : 1,
"description" : "Delete user whitelist entries.",
"method" : "DELETE",
"name" : "whitelist_delete_base",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"address" : {
"description" : "The address, or comma-separated list of addresses, you want to remove.",
"minLength" : 3,
"pattern" : "",
"type" : "string"
},
"pmail" : {
"description" : "List entries for the user with this primary email address. Quarantine users cannot speficy this parameter, but it is required for all other roles.",
"maxLength" : 512,
"minLength" : 3,
"optional" : 1,
"pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
"type" : "string"
}
}
},
"permissions" : {
"check" : [
"admin",
"qmanager",
"audit",
"quser"
]
},
"protected" : 1,
"returns" : {
"type" : "null"
}
},
"GET" : { "GET" : {
"allowtoken" : 1, "allowtoken" : 1,
"description" : "Show user whitelist.", "description" : "Show user whitelist.",
@ -13632,6 +13839,43 @@ var pmgapi = [
} }
], ],
"info" : { "info" : {
"DELETE" : {
"allowtoken" : 1,
"description" : "Delete user blacklist entries.",
"method" : "DELETE",
"name" : "blacklist_delete_base",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"address" : {
"description" : "The address, or comma-separated list of addresses, you want to remove.",
"minLength" : 3,
"pattern" : "",
"type" : "string"
},
"pmail" : {
"description" : "List entries for the user with this primary email address. Quarantine users cannot speficy this parameter, but it is required for all other roles.",
"maxLength" : 512,
"minLength" : 3,
"optional" : 1,
"pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
"type" : "string"
}
}
},
"permissions" : {
"check" : [
"admin",
"qmanager",
"audit",
"quser"
]
},
"protected" : 1,
"returns" : {
"type" : "null"
}
},
"GET" : { "GET" : {
"allowtoken" : 1, "allowtoken" : 1,
"description" : "Show user blacklist.", "description" : "Show user blacklist.",

View File

@ -30,3 +30,7 @@ Sets the maximum amount of data (in bytes) to be scanned for each input file.
Enables support for Google Safe Browsing. Enables support for Google Safe Browsing.
`scriptedupdates`: `<boolean>` ('default =' `0`)::
Enables ScriptedUpdates (incremental download of signatures)

View File

@ -86,6 +86,10 @@ Sets the maximum amount of data (in bytes) to be scanned for each input file.
Enables support for Google Safe Browsing. Enables support for Google Safe Browsing.
`scriptedupdates`: `<boolean>` ('default =' `0`)::
Enables ScriptedUpdates (incremental download of signatures)
.Section 'mail' .Section 'mail'
`banner`: `<string>` ('default =' `ESMTP Proxmox`):: `banner`: `<string>` ('default =' `ESMTP Proxmox`)::
@ -122,7 +126,19 @@ SMTP port number for incoming mail (untrusted). This must be a different number
`greylist`: `<boolean>` ('default =' `1`):: `greylist`: `<boolean>` ('default =' `1`)::
Use Greylisting. Use Greylisting for IPv4.
`greylist6`: `<boolean>` ('default =' `0`)::
Use Greylisting for IPv6.
`greylistmask4`: `<integer> (0 - 32)` ('default =' `24`)::
Netmask to apply for greylisting IPv4 hosts
`greylistmask6`: `<integer> (0 - 128)` ('default =' `64`)::
Netmask to apply for greylisting IPv6 hosts
`helotests`: `<boolean>` ('default =' `0`):: `helotests`: `<boolean>` ('default =' `0`)::

View File

@ -28,7 +28,19 @@ SMTP delay warning time (in hours).
`greylist`: `<boolean>` ('default =' `1`):: `greylist`: `<boolean>` ('default =' `1`)::
Use Greylisting. Use Greylisting for IPv4.
`greylist6`: `<boolean>` ('default =' `0`)::
Use Greylisting for IPv6.
`greylistmask4`: `<integer> (0 - 32)` ('default =' `24`)::
Netmask to apply for greylisting IPv4 hosts
`greylistmask6`: `<integer> (0 - 128)` ('default =' `64`)::
Netmask to apply for greylisting IPv6 hosts
`helotests`: `<boolean>` ('default =' `0`):: `helotests`: `<boolean>` ('default =' `0`)::