Skip to content

Commit ded00a7

Browse files
update cscli docs for 1.6.3 (#606)
* update cscli docs for 1.6.3 * Add bouncers inspect to sidebar * add machines inspect to sidebar --------- Co-authored-by: Laurence Jones <[email protected]>
1 parent 77369a5 commit ded00a7

15 files changed

+114
-24
lines changed

crowdsec-docs/docs/cscli/cscli_bouncers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Note: This command requires database direct access, so is intended to be run on
3636
* [cscli](/cscli/cscli.md) - cscli allows you to manage crowdsec
3737
* [cscli bouncers add](/cscli/cscli_bouncers_add.md) - add a single bouncer to the database
3838
* [cscli bouncers delete](/cscli/cscli_bouncers_delete.md) - delete bouncer(s) from the database
39+
* [cscli bouncers inspect](/cscli/cscli_bouncers_inspect.md) - inspect a bouncer by name
3940
* [cscli bouncers list](/cscli/cscli_bouncers_list.md) - list all bouncers within the database
4041
* [cscli bouncers prune](/cscli/cscli_bouncers_prune.md) - prune multiple bouncers from the database
4142

crowdsec-docs/docs/cscli/cscli_bouncers_delete.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ delete bouncer(s) from the database
1010
cscli bouncers delete MyBouncerName [flags]
1111
```
1212

13+
### Examples
14+
15+
```
16+
cscli bouncers delete "bouncer1" "bouncer2"
17+
```
18+
1319
### Options
1420

1521
```
16-
-h, --help help for delete
22+
-h, --help help for delete
23+
--ignore-missing don't print errors if one or more bouncers don't exist
1724
```
1825

1926
### Options inherited from parent commands
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
id: cscli_bouncers_inspect
3+
title: cscli bouncers inspect
4+
---
5+
## cscli bouncers inspect
6+
7+
inspect a bouncer by name
8+
9+
```
10+
cscli bouncers inspect [bouncer_name] [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
cscli bouncers inspect "bouncer1"
17+
```
18+
19+
### Options
20+
21+
```
22+
-h, --help help for inspect
23+
```
24+
25+
### Options inherited from parent commands
26+
27+
```
28+
--color string Output color: yes, no, auto (default "auto")
29+
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
30+
--debug Set logging to debug
31+
--error Set logging to error
32+
--info Set logging to info
33+
-o, --output string Output format: human, json, raw
34+
--trace Set logging to trace
35+
--warning Set logging to warning
36+
```
37+
38+
### SEE ALSO
39+
40+
* [cscli bouncers](/cscli/cscli_bouncers.md) - Manage bouncers [requires local API]
41+

crowdsec-docs/docs/cscli/cscli_hub_update.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ cscli hub update [flags]
1919
### Options
2020

2121
```
22-
-h, --help help for update
22+
-h, --help help for update
23+
--with-content Download index with embedded item content
2324
```
2425

2526
### Options inherited from parent commands

crowdsec-docs/docs/cscli/cscli_lapi_context.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ title: cscli lapi context
66

77
Manage context to send with alerts
88

9-
```
10-
cscli lapi context [command] [flags]
11-
```
12-
139
### Options
1410

1511
```

crowdsec-docs/docs/cscli/cscli_lapi_register.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cscli lapi register [flags]
2121
-f, --file string output file destination
2222
-h, --help help for register
2323
--machine string Name of the machine to register with
24+
--token string Auto registration token to use
2425
-u, --url string URL of the API (ie. http://127.0.0.1)
2526
```
2627

crowdsec-docs/docs/cscli/cscli_machines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cscli machines [action]
4242
* [cscli](/cscli/cscli.md) - cscli allows you to manage crowdsec
4343
* [cscli machines add](/cscli/cscli_machines_add.md) - add a single machine to the database
4444
* [cscli machines delete](/cscli/cscli_machines_delete.md) - delete machine(s) by name
45+
* [cscli machines inspect](/cscli/cscli_machines_inspect.md) - inspect a machine by name
4546
* [cscli machines list](/cscli/cscli_machines_list.md) - list all machines in the database
4647
* [cscli machines prune](/cscli/cscli_machines_prune.md) - prune multiple machines from the database
4748
* [cscli machines validate](/cscli/cscli_machines_validate.md) - validate a machine to access the local API

crowdsec-docs/docs/cscli/cscli_machines_delete.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ cscli machines delete "machine1" "machine2"
1919
### Options
2020

2121
```
22-
-h, --help help for delete
22+
-h, --help help for delete
23+
--ignore-missing don't print errors if one or more machines don't exist
2324
```
2425

2526
### Options inherited from parent commands
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
id: cscli_machines_inspect
3+
title: cscli machines inspect
4+
---
5+
## cscli machines inspect
6+
7+
inspect a machine by name
8+
9+
```
10+
cscli machines inspect [machine_name] [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
cscli machines inspect "machine1"
17+
```
18+
19+
### Options
20+
21+
```
22+
-h, --help help for inspect
23+
-H, --hub show hub state
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
--color string Output color: yes, no, auto (default "auto")
30+
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
31+
--debug Set logging to debug
32+
--error Set logging to error
33+
--info Set logging to info
34+
-o, --output string Output format: human, json, raw
35+
--trace Set logging to trace
36+
--warning Set logging to warning
37+
```
38+
39+
### SEE ALSO
40+
41+
* [cscli machines](/cscli/cscli_machines.md) - Manage local API machines [requires local API]
42+

crowdsec-docs/docs/cscli/cscli_notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ To list/inspect/test notification template
3232
### SEE ALSO
3333

3434
* [cscli](/cscli/cscli.md) - cscli allows you to manage crowdsec
35-
* [cscli notifications inspect](/cscli/cscli_notifications_inspect.md) - Inspect active notifications plugin configuration
36-
* [cscli notifications list](/cscli/cscli_notifications_list.md) - list active notifications plugins
35+
* [cscli notifications inspect](/cscli/cscli_notifications_inspect.md) - Inspect notifications plugin
36+
* [cscli notifications list](/cscli/cscli_notifications_list.md) - list notifications plugins
3737
* [cscli notifications reinject](/cscli/cscli_notifications_reinject.md) - reinject an alert into profiles to trigger notifications
3838
* [cscli notifications test](/cscli/cscli_notifications_test.md) - send a generic test alert to notification plugin
3939

0 commit comments

Comments
 (0)