You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,8 +225,14 @@ settings:
225
225
226
226
access:
227
227
endpoints:
228
-
- !/v1/about
228
+
- "!/v1/about"
229
229
- /v2/send
230
+
231
+
fieldPolicies:
232
+
"@number": {
233
+
value: "+123400003",
234
+
action: block
235
+
}
230
236
```
231
237
232
238
#### Token Configs
@@ -247,7 +253,7 @@ overrides:
247
253
248
254
access:
249
255
endpoints: # Disable Sending
250
-
- !/v2/send
256
+
- "!/v2/send"
251
257
```
252
258
253
259
### Templating
@@ -314,15 +320,15 @@ Since Secured Signal API is just a Proxy you can use all of the [Signal REST API
314
320
315
321
| Endpoint | |
316
322
| :-------------------- | ------------------ |
317
-
| **/v1/about** | **/v1/unregister** |
318
-
| **/v1/configuration** | **/v1/qrcodelink** |
323
+
| **/v1/configuration** | **/v1/unregister** |
319
324
| **/v1/devices** | **/v1/contacts** |
320
325
| **/v1/register** | **/v1/accounts** |
326
+
| **/v1/qrcodelink** | |
321
327
322
328
These Endpoints are blocked by default due to Security Risks.
323
329
324
330
> [!NOTE]
325
-
> Matching works by checking if the requested Endpoints starts with a Blocked or an Allowed Endpoint
331
+
> Matching uses [glob-style patterns](https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html): `*` matches any sequence of characters, `?` matches a single character and `[abc]` matches one of the characters in the brackets
326
332
327
333
You can modify endpoints by configuring `access.endpoints` in your config:
328
334
@@ -346,7 +352,7 @@ By default adding an endpoint explictly allows access to it, use `!` to block it
0 commit comments