Target URL restrictions¶
The list of URL restrictions can be used to block HTTP requests to resources included in the list. Restrictions are specified via the fuchsiactl console client using --url-blacklist option, which takes a regular expression as its argument. For multiple regular expressions, this option can be specified more than once.
Configuration¶
| Type | Valid values | Description |
enabled |
||
| Boolean | true, false |
Manages the list of URL restrictions usage |
list |
||
| Array of strings | Any values that pass validation | An array of URLs. HTTP requests to these URLs are blocked. The list values are validated with regular expressions. |
Important
By default, configuration of the list of URL restrictions is not set.
Example¶
-
Add a URL restriction list configuration via the
PATCH /api/targets/:idrequest.