Remove empty string as default value for VerificationMode #59
Remove empty string as default value for VerificationMode #59narph merged 5 commits intoelastic:mainfrom
Conversation
|
/test |
2 similar comments
|
/test |
|
/test |
fearful-symmetry
left a comment
There was a problem hiding this comment.
Changes look good to me, although I'm assuming the change itself won't involve any user-facing breaking changes(?)
I've added some tests for this, including one with the scenario you suggested above but I assume by default |
Yes, you're right, but some agent policies ended up having |
| "testing" | ||
|
|
||
| "github.com/stretchr/testify/assert" | ||
|
|
What does this PR do?
Original issue elastic/elastic-agent#184
Elastic agent accepts empty string value for
ssl.verification_mode(which is equivalent tofull), however Endpoint is logging an error since it is not a supported option, but, it's also setting the verification mode to full, so verification modes match.The PR is removing empty string as a default/supported verification mode option. Default mode will be
full.Why is it important?
Avoids conflicts with other stakeholders.
Checklist
CHANGELOG.mdRelated issues