Skip to content

Commit dcd9652

Browse files
authored
Merge pull request #138 from 1991-mirec/feature/DEF-34926
Docs for global whitelisting
2 parents a82777a + d8070fd commit dcd9652

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/command_line_interface/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,19 +1191,29 @@ OK
11911191
Use wildcards to efficiently whitelist all subdomains, with the option to also include the main domain itself.
11921192

11931193
1. Whitelisting all subdomains (but not the parent domain itself):
1194+
11941195
To whitelist all subdomains like `foo.example.com` or `bar.example.com` (e.g., anything before `.example.com`), but not `example.com` itself, use the *. prefix:
11951196
```
11961197
imunify360-agent whitelist domain add "*.example.com"
11971198
OK
11981199
```
11991200
2. Whitelisting a domain and all its subdomains:
1201+
12001202
To whitelist both the main domain (e.g., `example.com`) **AND** all its potential subdomains (e.g., `foo.example.com`, `blog.example.com`), use the . prefix:
12011203
```
12021204
imunify360-agent whitelist domain add .example.com
12031205
OK
12041206
```
12051207
This is a convenient shorthand and is equivalent to adding `example.com` and `*.example.com` separately.
12061208

1209+
3. Whitelisting all domains on the server (Global Whitelist):
1210+
1211+
To whitelist every domain and subdomain hosted on the server, use a single asterisk wildcard (`"*"`).
1212+
```
1213+
imunify360-agent whitelist domain add "*"
1214+
OK
1215+
```
1216+
12071217
## Login
12081218

12091219
Allows to get a token which can be used for authentication in stand-alone Imunify UI.

0 commit comments

Comments
 (0)