Skip to content

Commit d636001

Browse files
committed
Add smtp to start_tls values
1 parent 436896f commit d636001

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tls/assets/configuration/spec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,6 @@ files:
146146
enum:
147147
- postgres
148148
- mysql
149+
- smtp
149150
- template: instances/default
150151
- template: instances/tls

tls/datadog_checks/tls/config_models/instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class InstanceConfig(BaseModel):
5353
server: str
5454
server_hostname: Optional[str] = None
5555
service: Optional[str] = None
56-
start_tls: Optional[Literal['postgres', 'mysql']] = None
56+
start_tls: Optional[Literal['postgres', 'mysql', 'smtp']] = None
5757
tags: Optional[tuple[str, ...]] = None
5858
timeout: Optional[int] = None
5959
tls_ca_cert: Optional[str] = None

tls/datadog_checks/tls/data/conf.yaml.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ instances:
133133
## irc, postgres, mysql, lmtp, nntp, sieve, and ldap.
134134
##
135135
## Currently this checks supports only the below protocols:
136-
## postgres, mysql
136+
## postgres, mysql, smtp
137137
#
138138
# start_tls: <START_TLS>
139139

@@ -222,8 +222,8 @@ instances:
222222
# tls_validate_hostname: true
223223

224224
## @param tls_ciphers - list of strings - optional
225-
## The list of ciphers suites to use when connecting to an endpoint. If not specified,
226-
## `ALL` ciphers are used. For list of ciphers see:
225+
## The list of ciphers suites to use when connecting to an endpoint. If not specified,
226+
## `ALL` ciphers are used. For list of ciphers see:
227227
## https://www.openssl.org/docs/man1.0.2/man1/ciphers.html
228228
#
229229
# tls_ciphers:

0 commit comments

Comments
 (0)