[8.13] Upgrade nodemailer dependency 6.6.2 -> 6.9.9 (#176487) (#179226)

# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade nodemailer dependency 6.6.2 -> 6.9.9
(#176487)](https://github.com/elastic/kibana/pull/176487)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Sid","email":"siddharthmantri1@gmail.com"},"sourceCommit":{"committedDate":"2024-03-19T16:00:55Z","message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","auto-backport","backport:all-open","ci:cloud-deploy","v8.14.0"],"number":176487,"url":"https://github.com/elastic/kibana/pull/176487","mergeCommit":{"message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176487","number":176487,"mergeCommit":{"message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361"}}]}]
BACKPORT-->
This commit is contained in:
Sid 2024-03-22 11:52:52 +01:00 committed by GitHub
parent bd79cf4a15
commit 87a0a19fdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 43 additions and 6 deletions

View file

@ -1027,7 +1027,7 @@
"mustache": "^2.3.2",
"node-fetch": "^2.6.7",
"node-forge": "^1.3.1",
"nodemailer": "^6.6.2",
"nodemailer": "^6.9.9",
"normalize-path": "^3.0.0",
"object-hash": "^1.3.1",
"object-path-immutable": "^3.1.1",

View file

@ -649,6 +649,42 @@
"Team:Monitoring"
],
"enabled": true
},
{
"groupName": "csp",
"packageNames": [
"content-security-policy-parser"
],
"reviewers": [
"team:kibana-security",
"team:kibana-core"
],
"matchBaseBranches": [
"main"
],
"labels": [
"release_note:skip",
"backport:skip",
"ci:serverless-test-all"
],
"enabled": true
},
{
"groupName": "AlertingEmails",
"matchPackageNames": [
"nodemailer"
],
"reviewers": [
"team:response-ops"
],
"matchBaseBranches": [
"main"
],
"labels": [
"release_note:skip",
"backport:prev-minor"
],
"enabled": true
}
]
}

View file

@ -57,6 +57,7 @@ export const LICENSE_ALLOWED = [
'(MIT OR CC0-1.0)',
'MIT',
'MIT*',
'MIT-0',
'MIT/X11',
'new BSD, and MIT',
'(OFL-1.1 AND MIT)',

View file

@ -191,7 +191,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
`--xpack.actions.allowedHosts=${JSON.stringify([
'localhost',
'some.non.existent.com',
'smtp.live.com',
'smtp-mail.outlook.com',
'slack.com',
])}`,
`--xpack.actions.enableFooterInEmail=${enableFooterInEmail}`,

View file

@ -23377,10 +23377,10 @@ node-source-walk@^6.0.0, node-source-walk@^6.0.1, node-source-walk@^6.0.2:
dependencies:
"@babel/parser" "^7.21.8"
nodemailer@^6.6.2:
version "6.6.2"
resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.6.2.tgz#e184c9ed5bee245a3e0bcabc7255866385757114"
integrity sha512-YSzu7TLbI+bsjCis/TZlAXBoM4y93HhlIgo0P5oiA2ua9Z4k+E2Fod//ybIzdJxOlXGRcHIh/WaeCBehvxZb/Q==
nodemailer@^6.9.9:
version "6.9.9"
resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.9.9.tgz#4549bfbf710cc6addec5064dd0f19874d24248d9"
integrity sha512-dexTll8zqQoVJEZPwQAKzxxtFn0qTnjdQTchoU6Re9BUUGBJiOy3YMn/0ShTW6J5M0dfQ1NeDeRTTl4oIWgQMA==
nopt@^4.0.1:
version "4.0.3"