| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- emqx_authz_schema {
- deny.desc:
- """The number of authentication failures."""
- deny.label:
- """The Number of Authentication Failures"""
- redis_sentinel.desc:
- """Authorization using a Redis Sentinel."""
- redis_sentinel.label:
- """redis_sentinel"""
- rate.desc:
- """The rate of matched, times/second."""
- rate.label:
- """Rate"""
- status.desc:
- """The status of the resource."""
- status.label:
- """Status"""
- method.desc:
- """HTTP method."""
- method.label:
- """method"""
- query.desc:
- """Database query used to retrieve authorization data."""
- query.label:
- """query"""
- metrics_total.desc:
- """The total number of times the authorization rule was triggered."""
- metrics_total.label:
- """The Total Number of Times the Authorization Rule was Triggered"""
- redis_cluster.desc:
- """Authorization using a Redis cluster."""
- redis_cluster.label:
- """redis_cluster"""
- mysql.desc:
- """Authorization using a MySQL database."""
- mysql.label:
- """mysql"""
- postgresql.desc:
- """Authorization using a PostgreSQL database."""
- postgresql.label:
- """postgresql"""
- mongo_rs.desc:
- """Authorization using a MongoDB replica set."""
- mongo_rs.label:
- """mongo_rs"""
- type.desc:
- """Backend type."""
- type.label:
- """type"""
- mongo_sharded.desc:
- """Authorization using a sharded MongoDB cluster."""
- mongo_sharded.label:
- """mongo_sharded"""
- body.desc:
- """HTTP request body."""
- body.label:
- """Request Body"""
- url.desc:
- """URL of the auth server."""
- url.label:
- """URL"""
- node.desc:
- """Node name."""
- node.label:
- """Node Name."""
- headers.desc:
- """List of HTTP Headers."""
- headers.label:
- """Headers"""
- rate_last5m.desc:
- """The average rate of matched in the last 5 minutes, times/second."""
- rate_last5m.label:
- """Rate in Last 5min"""
- headers_no_content_type.desc:
- """List of HTTP headers (without <code>content-type</code>)."""
- headers_no_content_type.label:
- """headers_no_content_type"""
- node_error.desc:
- """The error of node."""
- node_error.label:
- """Error in Node"""
- builtin_db.desc:
- """Authorization using a built-in database (mnesia)."""
- builtin_db.label:
- """Builtin Database"""
- enable.desc:
- """Set to <code>true</code> or <code>false</code> to disable this ACL provider"""
- enable.label:
- """enable"""
- matched.desc:
- """Count of this resource is queried."""
- matched.label:
- """Matched"""
- node_status.desc:
- """The status of the resource for each node."""
- node_status.label:
- """Resource Status in Node"""
- rate_max.desc:
- """The max rate of matched, times/second."""
- rate_max.label:
- """Max Rate"""
- filter.desc:
- """Conditional expression that defines the filter condition in the query.
- Filter supports the following placeholders<br/>
- - <code>${username}</code>: Will be replaced at runtime with <code>Username</code> used by the client when connecting<br/>
- - <code>${clientid}</code>: Will be replaced at runtime with <code>Client ID</code> used by the client when connecting"""
- filter.label:
- """Filter"""
- path.desc:
- """Path to the file which contains the ACL rules.
- If the file provisioned before starting EMQX node,
- it can be placed anywhere as long as EMQX has read access to it.
- That is, EMQX will treat it as read only.
- In case the rule-set is created or updated from EMQX Dashboard or HTTP API,
- a new file will be created and placed in `authz` subdirectory inside EMQX's `data_dir`,
- and the old file will not be used anymore."""
- path.label:
- """path"""
- redis_single.desc:
- """Authorization using a single Redis instance."""
- redis_single.label:
- """redis_single"""
- failed.desc:
- """Count of query failed."""
- failed.label:
- """Failed"""
- metrics.desc:
- """The metrics of the resource."""
- metrics.label:
- """Metrics"""
- authorization.desc:
- """Configuration related to the client authorization."""
- authorization.label:
- """authorization"""
- collection.desc:
- """`MongoDB` collection containing the authorization data."""
- collection.label:
- """collection"""
- mongo_single.desc:
- """Authorization using a single MongoDB instance."""
- mongo_single.label:
- """mongo_single"""
- file.desc:
- """Authorization using a static file."""
- file.label:
- """file"""
- http_post.desc:
- """Authorization using an external HTTP server (via POST requests)."""
- http_post.label:
- """http_post"""
- request_timeout.desc:
- """HTTP request timeout."""
- request_timeout.label:
- """Request Timeout"""
- allow.desc:
- """The number of times the authentication was successful."""
- allow.label:
- """The Number of Times the Authentication was Successful"""
- cmd.desc:
- """Database query used to retrieve authorization data."""
- cmd.label:
- """cmd"""
- nomatch.desc:
- """The number of times that no authorization rules were matched."""
- nomatch.label:
- """The Number of Times that no Authorization Rules were Matched"""
- sources.desc:
- """Authorization data sources.<br/>
- An array of authorization (ACL) data providers.
- It is designed as an array, not a hash-map, so the sources can be
- ordered to form a chain of access controls.<br/>
- When authorizing a 'publish' or 'subscribe' action, the configured
- sources are checked in order. When checking an ACL source,
- in case the client (identified by username or client ID) is not found,
- it moves on to the next source. And it stops immediately
- once an 'allow' or 'deny' decision is returned.<br/>
- If the client is not found in any of the sources,
- the default action configured in 'authorization.no_match' is applied.<br/>
- NOTE:
- The source elements are identified by their 'type'.
- It is NOT allowed to configure two or more sources of the same type."""
- sources.label:
- """sources"""
- node_metrics.desc:
- """The metrics of the resource for each node."""
- node_metrics.label:
- """Resource Metrics in Node"""
- success.desc:
- """Count of query success."""
- success.label:
- """Success"""
- http_get.desc:
- """Authorization using an external HTTP server (via GET requests)."""
- http_get.label:
- """http_get"""
- }
|