"accountattr" : {
"default" : "sAMAccountName, uid",
"description" : "Account attribute name name.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
- "pattern" : "[a-zA-Z0-9]+",
- "type" : "string"
+ "type" : "string",
+ "typetext" : "<string>"
},
"basedn" : {
"description" : "Base domain name.",
"groupclass" : {
"default" : "group, univentionGroup, ipausergroup",
"description" : "List of objectclasses for groups.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
},
"mailattr" : {
- "default" : "mail, userPrincipalName, proxyAddresses, othermailbox",
+ "default" : "mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress",
"description" : "List of mail attribute names.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
- "pattern" : "[a-zA-Z0-9]+",
- "type" : "string"
+ "type" : "string",
+ "typetext" : "<string>"
},
"mode" : {
"default" : "ldap",
"accountattr" : {
"default" : "sAMAccountName, uid",
"description" : "Account attribute name name.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
- "pattern" : "[a-zA-Z0-9]+",
- "type" : "string"
+ "type" : "string",
+ "typetext" : "<string>"
},
"basedn" : {
"description" : "Base domain name.",
"groupclass" : {
"default" : "group, univentionGroup, ipausergroup",
"description" : "List of objectclasses for groups.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
},
"mailattr" : {
- "default" : "mail, userPrincipalName, proxyAddresses, othermailbox",
+ "default" : "mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress",
"description" : "List of mail attribute names.",
- "format" : "string-list",
+ "format" : "ldap-simple-attr-list",
"optional" : 1,
- "pattern" : "[a-zA-Z0-9]+",
- "type" : "string"
+ "type" : "string",
+ "typetext" : "<string>"
},
"mode" : {
"default" : "ldap",
},
"dnsbl_sites" : {
"description" : "Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).",
+ "format" : "dnsbl-entry-list",
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
"type" : "boolean",
"typetext" : "<boolean>"
},
- "use_rbl" : {
- "default" : 1,
- "description" : "Use Realtime Blacklists.",
- "optional" : 1,
- "type" : "boolean",
- "typetext" : "<boolean>"
- },
"verifyreceivers" : {
"description" : "Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.",
"enum" : [
"type" : "integer",
"typetext" : "<integer> (0 - 1000)"
},
+ "clamav_heuristic_score" : {
+ "default" : 3,
+ "description" : "Score for ClamaAV heuristics (Google Safe Browsing database, PhishingScanURLs, ...).",
+ "maximum" : 1000,
+ "minimum" : 0,
+ "optional" : 1,
+ "type" : "integer",
+ "typetext" : "<integer> (0 - 1000)"
+ },
"delete" : {
"description" : "A list of settings you want to delete.",
"format" : "pve-configid-list",
"type" : "string"
},
"maxspamsize" : {
- "default" : 204800,
+ "default" : 262144,
"description" : "Maximum size of spam messages in bytes.",
"minimum" : 64,
"optional" : 1,
{
"info" : {
"POST" : {
- "description" : "Creates a VNC Shell proxy.",
+ "description" : "Creates a Terminal proxy.",
"method" : "POST",
- "name" : "vncshell",
+ "name" : "termproxy",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"optional" : 1,
"type" : "boolean",
"typetext" : "<boolean>"
- },
- "websocket" : {
- "default" : 1,
- "description" : "use websocket instead of standard vnc.",
- "optional" : 1,
- "type" : "boolean",
- "typetext" : "<boolean>"
}
}
},
+ "permissions" : {
+ "check" : [
+ "admin"
+ ]
+ },
"protected" : 1,
"returns" : {
"additionalProperties" : 0,
}
},
"leaf" : 1,
- "path" : "/nodes/{node}/vncshell",
- "text" : "vncshell"
+ "path" : "/nodes/{node}/termproxy",
+ "text" : "termproxy"
},
{
"info" : {
}
}
},
+ "permissions" : {
+ "check" : [
+ "admin"
+ ]
+ },
"returns" : {
"properties" : {
"port" : {
},
"type" : "object"
}
+ },
+ "POST" : {
+ "description" : "Reboot or shutdown a node.",
+ "method" : "POST",
+ "name" : "node_cmd",
+ "parameters" : {
+ "additionalProperties" : 0,
+ "properties" : {
+ "command" : {
+ "description" : "Specify the command.",
+ "enum" : [
+ "reboot",
+ "shutdown"
+ ],
+ "type" : "string"
+ },
+ "node" : {
+ "description" : "The cluster node name.",
+ "format" : "pve-node",
+ "type" : "string",
+ "typetext" : "<string>"
+ }
+ }
+ },
+ "permissions" : {
+ "check" : [
+ "admin"
+ ]
+ },
+ "protected" : 1,
+ "proxyto" : "node",
+ "returns" : {
+ "type" : "null"
+ }
}
},
"leaf" : 1,
"type" : "string",
"typetext" : "<string>"
},
+ "path" : {
+ "description" : "Verify ticket, and check if user have access on 'path'",
+ "maxLength" : 64,
+ "optional" : 1,
+ "type" : "string",
+ "typetext" : "<string>"
+ },
"realm" : {
"description" : "You can optionally pass the realm using this parameter. Normally the realm is simply added to the username <username>@<relam>.",
"enum" : [
"properties" : {
"id" : {
"description" : "Unique ID",
- "maxLength" : 40,
- "pattern" : "C\\d+R\\d+",
+ "maxLength" : 60,
+ "pattern" : "C\\d+R\\d+T\\d+",
"type" : "string"
},
"raw" : {
},
"id" : {
"description" : "Unique ID",
- "maxLength" : 40,
- "pattern" : "C\\d+R\\d+",
+ "maxLength" : 60,
+ "pattern" : "C\\d+R\\d+T\\d+",
"type" : "string"
}
}
"returns" : {
"items" : {
"properties" : {
+ "bytes_in" : {
+ "description" : "Incoming mail traffic (Bytes).",
+ "type" : "number"
+ },
+ "bytes_out" : {
+ "description" : "Outgoing mail traffic (Bytes).",
+ "type" : "number"
+ },
"count_in" : {
"description" : "Incoming mail count.",
"type" : "number"
"description" : "Domain name.",
"type" : "string"
},
- "mbytes_in" : {
- "description" : "Incoming mail traffic (Mebibytes).",
- "type" : "number"
- },
- "mbytes_out" : {
- "description" : "Outgoing mail traffic (Mebibytes).",
- "type" : "number"
- },
"spamcount_in" : {
"description" : "Incoming spam mails.",
"type" : "number"
"type" : "number"
},
"junk_in" : {
- "description" : "Incoming junk mail count (viruscount_in + spamcount_in + glcount + spfcount).",
+ "description" : "Incoming junk mail count (viruscount_in + spamcount_in + glcount + spfcount + rbl_rejects + pregreet_rejects).",
"type" : "number"
},
"junk_out" : {
"description" : "Outgoing junk mail count (viruscount_out + spamcount_out).",
"type" : "number"
},
+ "pregreet_rejects" : {
+ "description" : "PREGREET recject count.",
+ "type" : "integer"
+ },
+ "rbl_rejects" : {
+ "description" : "Number of RBL rejects.",
+ "type" : "integer"
+ },
"spamcount_in" : {
"description" : "Incoming spam mails.",
"type" : "number"
"description" : "Time index.",
"type" : "integer"
},
+ "pregreet_rejects" : {
+ "description" : "PREGREET recject count.",
+ "type" : "integer"
+ },
+ "rbl_rejects" : {
+ "description" : "Number of RBL rejects.",
+ "type" : "integer"
+ },
"spamcount_in" : {
- "description" : "Incoming spam mails (spamcount_in + glcount + spfcount).",
+ "description" : "Incoming spam mails (spamcount_in + glcount + spfcount + rbl_rejects + pregreet_rejects).",
"type" : "number"
},
"spamcount_out" : {
{
"info" : {
"GET" : {
- "description" : "Mail RBL Count Statistics.",
+ "description" : "Early SMTP reject count statistic (RBL, PREGREET rejects with postscreen)",
"method" : "GET",
- "name" : "rblcount",
+ "name" : "rejectcount",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
},
"timespan" : {
"default" : 3600,
- "description" : "Return RBL rejects/<timespan>, where <timespan> is specified in seconds.",
+ "description" : "Return RBL/PREGREET rejects/<timespan>, where <timespan> is specified in seconds.",
"maximum" : 31622400,
"minimum" : 3600,
"optional" : 1,
"returns" : {
"items" : {
"properties" : {
- "count" : {
- "description" : "RBL recject count.",
- "type" : "number"
- },
"index" : {
"description" : "Time index.",
"type" : "integer"
},
+ "pregreet_rejects" : {
+ "description" : "PREGREET recject count.",
+ "type" : "integer"
+ },
+ "rbl_rejects" : {
+ "description" : "RBL recject count.",
+ "type" : "integer"
+ },
"time" : {
"description" : "Time (Unix epoch).",
"type" : "integer"
}
},
"leaf" : 1,
- "path" : "/statistics/rblcount",
- "text" : "rblcount"
+ "path" : "/statistics/rejectcount",
+ "text" : "rejectcount"
}
],
"info" : {