Skip to content

Commit ad2d878

Browse files
authored
Add warning to the configuration docs about host keys (DataDog#22391)
* Add warning to the configuration docs about host keys * add changelog
1 parent 812abb9 commit ad2d878

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

ssh_check/assets/configuration/spec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ files:
5959
type: string
6060

6161
- name: add_missing_keys
62-
description: Automatically add host key to known hosts when it is missing.
62+
description: |
63+
Automatically add host key to known hosts when it is missing.
64+
Warning: only enable this if you trust your host's key.
6365
value:
6466
example: false
6567
type: boolean
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add warning to the configuration docs about host keys.

ssh_check/datadog_checks/ssh_check/data/conf.yaml.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ instances:
5454

5555
## @param add_missing_keys - boolean - optional - default: false
5656
## Automatically add host key to known hosts when it is missing.
57+
## Warning: only enable this if you trust your host's key.
5758
#
5859
# add_missing_keys: false
5960

0 commit comments

Comments
 (0)